The IRDA spec describes a connectionless mode of sending/receiving packets:
2.2.3 Unit Data Services
� IrLAP_UNITDATA.request (User-Data)
� IrLAP_UNITDATA.indication (User-Data)
Description: The UNITDATA service primitives provide a way to transmit data
outside of a connection.
This data transmission is unreliable. All data is sent "broadcast" and
cannot be directed to a specific device
address. The request primitive is passed to IrLAP to cause data to be
transmitted; the indication primitive is
passed from IrLAP to indicate that data has been received.
Parameters:
User-Data = * Up to 384 bytes of data*
I'm hoping that there is support for at least receiving these types of
packets via the Palm IR library. It would seem that I would get a IR Stack
Callback Event of type LEVENT_DATA_IND (data received) for this type of
packet, even if I'm not in a IrLap connection state.
1) does that happen?
2) if not, any suggestions on receiving one of these packets the "right way"
would be appreciated.
Thanks,
==-
John Schettino author of
Palm OS Programming For Dummies, http://schettino.tripod.com