The PalmPilot's Infrared Port
By A.J. Musgrove, April 01, 1999
One of the powerful Palm III features is its support of data exchange over InfraRed (IR) ports. A.J. explores programming the IR port by presenting both an IR test application and a version of the venerable game BattleShip that can be played between two players via the IR port.
Apr99: The PalmPilot's Infrared Port
<b>(a)</b>
IrStatus IrDiscoverReq(UInt refNum, IrConnect *con);
<b>(b)</b>
IrStatus IrConnectIrLap(Uint refnum, IrDeviceAddr deviceAddr);
<b>(c)</b>
IrStatus IrDisconnectIrLap (UInt refnum);
Example 2: (a) IrDiscoverReq() prototype; (b) starting a connection using IrConnectIrLap(); (c) IrDisconnectIrLap()'s prototype.
Copyright © 1999, Dr. Dobb's Journal