Specifications

AVIDdirector-M2M Technical Reference Guide
February 5, 2009 ©AVIDwireless 2004-2009 All Rights Reserved Page 16 of 55
.NUM_AVG_READINGS Number of reading to average over to get a reading
.M2MXML_ADDRESS The M2MXML address for this device. Defaults to the device name
(the prefix name before the .CLASSNAME.) This can be a comma
separated list of different M2MXML address this will respond to. The
first name is used when we send a percept reading.
.REPORT_AT Absolute time(s) as a set of comma delimited strings in the form of
"hhmmss" that we will report the readings. This calls the
getSensorReading method for the IO Device (not used for M2M IO
Devices. Use ABSOLUTE_REPORT_TIME and
PERIODIC_REPORT_TIME
.POLLTIME Base time in milliseconds this device is polled at for readings.
.RDD_PWR_ON Turns power on to the Radio board. Needed for the GPS or other IO
Devices on the Radio board.
.SERIAL_PORT Name of the serial port to use. serial1, serial2, serial3. serial0 can be
used if the serial server is disabled
.SERIAL_PORT_BAUD_RATE Baud rate for the serial port
.SERIAL_PORT_TIMEOUT Timeout parameter for serial communications
.MAPSERIALPORT Mapping of the physical serial port to one of the 16 hardware serial
connections.
In addition to the standard built-in input devices (which are supported by the M2M_IODevice class)
additional IODevices classes are available for the following sensors and devices:
§ GPS_NMEA_Receiver. The
com.avidwireless.AVIDdirector.iodevice.GPS_NMEA_Receiver class implements a GPS
receiver supporting the GLL, GGA, RMC and VTG NEMA formats. Parameters that may be set
via either the M2MApp.ini file or over the air using M2MXML SetConfiguration portal
commands are:
§ KeyName.SERIAL_PORT = serial1
§ KeyName.SERIAL_PORT_BAUD_RATE = 4800
§ KeyName.SERIAL_PORT_TIMEOUT = serial1
§ KeyName.ENABLE = true
On the GPS device we have these configuration parameters above the ones from the parent
IODevice:
.CONTINUOUS true|false. If set true then this will continuously read the GPS data
looking for variations or changes. If false we will only read the GPS on
either the POLLTIME or FASTPOLLTIME. Default false
.SEND_TO_PORTAL true|false. Defaults to true to send the data to the portal
.REQUIRED Required NMEA strings to get a valid reading. Defaults to "GPGGA,
GPVTG" which will give is position, altitude, speed and direction