beautypg.com

Protocol-specific c compilation options, Protocol-specific c compilation options 98 – ThingMagic Mercury API v1.23.0 User Manual

Page 98

background image

Build Considerations

98

C Language Interface

#define TMR_ENABLE_SERIAL_TRANSPORT_LLRP //not currently supported

#define TMR_ENABLE_ISO180006B

#define TMR_ENABLE_BACKGROUND_READS //not supported on Windows

#define TMR_ENABLE_ERROR_STRINGS

#define TMR_ENABLE_PARAM_STRINGS

#define TMR_SR_MAX_ANTENNA_PORTS

The minimum #defines that must currently be specified are:



TMR_ENABLE_SERIAL_READER - enables support for the ThingMagic serial

command protocol, but does not specify how that reader is connected. This is
factored out into a "serial transport" layer to allow for future alternatives to the
*_NATIVE interface.



TMR_ENABLE_SERIAL_TRANSPORT_NATIVE - supports standard serial ports

(both UART-based and USB - anything that goes through the OS native serial driver.)

Protocol-Specific C Compilation Options

Gen2 and iPX protocol support are included in all builds and cannot be excluded but
ISO18000-6B protocol may be disabled (TMR_ENABLE_ISO180006B) when building the
C API.