How-to determinate BLIND_RPC_ID value???

Discuss the development of software, tools, libraries and anything else that helps make ps2dev happen.

Moderators: cheriff, Herben

Post Reply
Polo35
Posts: 25
Joined: Sun Apr 09, 2006 7:22 am

How-to determinate BLIND_RPC_ID value???

Post 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
User avatar
Saotome
Posts: 182
Joined: Sat Apr 03, 2004 3:45 am

Post 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.
infj
Polo35
Posts: 25
Joined: Sun Apr 09, 2006 7:22 am

Post 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
TyRaNiD
Posts: 907
Joined: Sun Jan 18, 2004 12:23 am

Post 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 :)
Post Reply