TABLE OF CONTENTS

 

[Functions] SPROX_ReaderActivate

NAME

   SPROX_ReaderActivate

DESCRIPTION

   Powers up the SpringProx reader again after a successfull call to SPROX_ReaderDeactivate

RETURNS

   MI_OK              : success
   MI_SER_ACCESS_ERR  : reader not found
   Other code if internal or communication error has occured.

NOTES

   If this fails, call immediatly SPROX_ReaderOpen(NULL) to try again

[Functions] SPROX_ReaderClose

NAME

   SPROX_ReaderClose

DESCRIPTION

   Close the SpringProx reader

RETURNS

   MI_OK              : success 7

NOTES

   The RF field is halted before.
   On Pocket PC, the CF module is implicitly powered down.

[Functions] SPROX_ReaderDeactivate

NAME

   SPROX_ReaderDeactivate

DESCRIPTION

   Powers down the SpringProx reader without closing the serial comm device

RETURNS

   MI_OK              : success
   Other code if internal or communication error has occured.

NOTES

   This function is highly dependend of the hardware platform. On Pocket PC
   devices it actually powers down the reader in order to reduce power consumption.
   On Desktop PC it does nothing.

[Functions] SPROX_ReaderOpen

NAME

   SPROX_ReaderOpen

DESCRIPTION

   Open the SpringProx reader

INPUTS

   TCHAR device[]     : name of the device where is SpringProx reader is to be found

RETURNS

   MI_OK              : success
   MI_SER_ACCESS_ERR  : reader not found
   Other code if internal or communication error has occured.

NOTES

   For Desktop PC, device can be "COM1" to "COM9" or "USB". If device is set to NULL,
   an automatic detection of the reader is performed. On success, the selected device
   can be retrieved using SPROX_GetReaderDevice.
   New version 1.40 : support of multiple USB devices is now possible, using names
   "USB1" to "USB9". Earlier name "USB" remains as an alias of "USB1". Access to
   USB device through serial number is also possible with "USB:xxxxx" where xxxxx is
   the serial number. Use SPROX_EnumUSBDevices to build the list of available
   devices.

   For Pocket PC, device must remain NULL. The CF module is implicitly powered up.

Generated from sprox_dialog.c on Mon Jan 30 14:25:24 2012