Page 1 of 1

How-to determinate BLIND_RPC_ID value???

Posted: Sun Apr 09, 2006 7:46 am
by Polo35
Hello.

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.

Thanks in advance. ;)

Best regards

Polo

Posted: Sun Apr 09, 2006 7:43 pm
by Saotome
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.

Posted: Sun Apr 09, 2006 10:23 pm
by Polo35
Thanks Saotome. ;)

That's what i've done for my rpc prog and that work fine.

If somebody know more about this, tell us, please.

Best regards

Polo

Posted: Sun Apr 09, 2006 11:33 pm
by TyRaNiD
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 :)