I'm working on a irx module, i've finished iop side, and i'm now working on rpc server to acces to my irx from ee side.
I'd like to know how to determinate BIND_RPC_ID, or ..._IRX value assignement. ( ex: #define CDVD_IRX 0xB001337 ).
I've found lot of things in sdk, but no explanation for this value.
I know that's a SifRpcServerData, and use by SifRegisterRpc in iop side, and SifBindRpc in ee side, to define the adress of the irx you want to acces with SifCallRpc.
But i don't understand if it's just a "random" value ( which i can determinate as i want ), or if there is an explanation for this value.
I'm pretty sure it's random. At least I used a random value for my eyetoy driver and it works ;)
You just have to make sure it's different from other loaded irx's and you use the same value on iop side and ee side.
No Saotome is correct it is a totally arbitrary value with no significance other than to code which wants to use it. The only restriction is you obviously dont choose one which is already being used :)