Specifications

AVIDdirector-M2M Technical Reference Guide
February 5, 2009 ©AVIDwireless 2004-2009 All Rights Reserved Page 20 of 55
.ANALOG_ABSOLUTE_HIGH=dd.dd Sets absolute high value for the analog input to report a
reading to the portal. For Analog In.
.ANALOG_ABSOLUTE_LOW=dd.dd Sets absolute low value for the analog input to report a
reading to the portal. For Analog In.
.ANALOG_DEADBAND_HIGH=dd.dd Sets delta high value for the analog input to report a reading
to the portal. For Analog In.
.ANALOG_DEADBAND_LOW=dd.dd Sets delta low value for the analog input to report a reading to
the portal
.AUX_DEVICE=TTLn digital device to turn on or off or set value before and/or after the reading has
taken place.
.AUX_DEVICE_START_VALUE=n Value to set the device to before the reading begins
.AUX_DEVICE_DELAYTIME=nnn Time to delay after setting the Aux device to the
startDeviceValue before reading
.AUX_DEVICE_END_VALUE=n Value to set the device to after the reading is complete
In addition for the M2MIODEVICE which is the overall class for all the internal M2M IODevices,
these parameters can be used:
.LOADALL By default, only TTLn devices that are specified in the M2MApp.ini file are
loaded (TTL1 to TTL6). You cannot send commands or percept requests to
TTL devices unless they are loaded. Setting LOADALL to true will load all the
TTL1 to TTL22 devices.
.USE_TTL2023 If set true then TTL20 to TTL23 are available for control. This is set false if
these are used for a serial port. The M2MApp.ini.default sets this true.
.USE_EXT14 If set true then EXT1 to EXT4 (lines on the Radio board) can be used for M2M
IODevices. This is typically set false since these lines are used for Radio2
The Configuration files
Under the root directory for your device will notice various system configuration files, these files are used to
configure your AVIDdirector handle various parameters set on AVIDdirector.
The M2MApp.ini.default file is the main configuration file. It contains all standard AVIDdirector options.
Developers should not modify this file but should instead utilize the other file to override parameters set in the
M2MApp.ini.default file. For example the M2MApp.ini file is used to set parameters and override values set in
the M2MApp.ini.default file. Below you will see examples of each of the configuration files and examples of how
to use these files to handle your application.
When you start developing your own m2mapp, there is the -c filename option to specify the configuration file to
use (defaults to M2Mapp.ini, that uses M2Mapp.ini.default), and m2mapp - C config=nnnn allows manual