Page 65 - PDA Robotics Using Your Personal Digital Assistant to Control Your Robot
P. 65

PDA 04  5/27/03  8:27 AM  Page 41
                                              Chapter 4 / Infrared Communications Overview
                                 miniport  driver  must  calculate  CRC.  For  VFIR  link  speeds,  a  32-bit
                                 CRC is used, which is the same as that used for FIR link speeds. An
                                 algorithm for calculating the 32-bit CRC is available in the publication
                                 Infrared  Data  Association  Serial  Infrared  Physical  Layer  Link
                                 Specification.
                                 The IrDA specification will give you an idea of the technical details
                                 involved in the protocol. When we write to the software, you will find
                                 it is not as complicated as it seems. The creators of the Windows and
                                 Palm  operating  systems  gave  an  application  programming  interface
                                 (API) that makes creating an association, sending, and receiving data
                                 a fairly straightforward task.
















































                                                                                                41
   60   61   62   63   64   65   66   67   68   69   70