Answering my own question:

    IrSetDeviceInfo (ir_ref, (BytePtr) "\202\2\0Palm eSquirt", 15);

First byte is 0x82 which means 0x80 -- another hint byte follows & 0x02 --
this is a PDA
Second byte is 0x02 which means IR_HINT_FILE
Third byte is 0, which means ascii encoding
Rest of it is the nickname string.

Gotta love those IRDA specs ;)

> I'm attempting to use the IrSetDeviceInfo() call to set the device info
for an IRDA app... What's the correct format for the XID string?
> 
> This isn't it:     IrSetDeviceInfo (ir_ref, (BytePtr) "Palm eSquirt", 12);
> 
> Thanks

 ==-
John Schettino author of
Palm OS Programming For Dummies, http://schettino.tripod.com

Reply via email to