Multitech MT800SWM Specifications Page 18

  • Download
  • Add to my manuals
  • Print
  • Page
    / 55
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 17
AVIDdirector-M2M™ Technical Reference Guide
February 5, 2009 ©AVIDwireless 2004-2009 All Rights Reserved Page 18 of 55
be set via either the M2MApp.ini file or over the air using M2MXML SetConfiguration portal
commands are:
§ KeyName.SERIAL_PORT = serial2
§ TempTrack. This device has two Analog to Digital converter inputs that are accessed by
sending an ASCII ‘G’ character to the serial port and it returns a two character strings with the
values from 0.0 to 999.9 This is best used as a sample of a user written IODriver class. This
implements the 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 = 9800
§ KeyName.SERIAL_PORT_TIMEOUT = serial1
User written I/O device driver classes subclass IODevices and must implement
start(AVIDdirectorMain adApp) and any of the IODevice methods the device needs to
implement or override. All M2MXML messages addressed to this particular transducer are directed
towards the instance of IODevice with the KeyName or M2MXMLAddress corresponding to the
M2MXML address. IODevice has a default method implementation for each M2MXML message
appropriate for transducers/sensors. The method corresponding to each M2MXML message is
called depending on the M2MXML message received. The user IODevice class can override each
of these methods if they wish to. The methods are:
§ processControlCommand(ControlCommand message). The default action is to return a
Response.UNRECOGNIZED_COMMAND_RESULT_CODE message to the portal. Any digital
transducers should implement this method.
§ processPerceptRequest(PerceptRequest message). The default action is to return a
Response.UNRECOGNIZED_COMMAND_RESULT_CODE message to the portal. Almost every
IODevice will implement this method to return the current sensor reading to the M2MXML portal
on demand.
If the sensor or transducer takes a significant amount of time to perform a reading (more than
200 ms) then it is recommended that the sensor call startPerceptRequestThread
(PerceptRequest perceptRequest) to start a background thread to perform this
PerceptRequest. This requires the IODevice to implement
processPerceptRequestThread(PerceptRequest message) method that will perform the
actual reading.
§ processConfigurationQuery(ConfigurationQuery message). This will return the value of
any property in the configuration file M2MApp.ini for this transducer. For example, a query of
“SIRIT_OEM200_RFID_READER.TAGTYPE” will return which RFID tag type (ISO, Tag-IT,
Epic class 0, 1 or 2) this sensor is set to receive. By default, IODevice’s implementation will
prefix the property name with the keyname and return that value (if set) or
Response.BAD_ARGUEMENT_RESULT_CODE if this is not set. Most IODevice implementation do
not need to implement this method.
§ processSetConfiguration(SetConfiguration message). If not overridden this will prefix
the property with the IODevice’s keyname, set the specified property in the M2MApp.ini file and
invoke the method processSetConfigurationItem (String propertyName, String
oldValue, String newValue, String seqNum). The user IODevice will typically implement
the processSetConfigurationItem method to respond to specific property settings and
update any operation because of the property changes.
M2M_IODevice
The standard AVIDdirector-M2M devices are implemented by the
com.avidwireless.AVIDdirector.iodevice.M2M_IODevices class. This handles all the portal
messages to the devices, configuration settings and implements the on-device behaviors.
Page view 17
1 2 ... 13 14 15 16 17 18 19 20 21 22 23 ... 54 55

Comments to this Manuals

No comments

RCA M45 series podręczniki

Instrukcje obsługi i podręczniki użytkownika dla Odtwarzacze RCA M45 series.
Dostarczamy 1 pdf podręczników RCA M45 series do pobrania za darmo według typów dokumentów: Instrukcja Użytkownika


Rca M45 series Instrukcja Użytkownika (1 strony)


Marka: Rca | Kategoria: Players | Rozmiar: 0.26 MB |

 

Spis treści





Więcej produktów i instrukcji dla Odtwarzacze RCA

Modele Rodzaj dokumentu
M4001 Instrukcja Użytkownika   RCA M4001 User Manual, 30 strony
5588825C Instrukcja Użytkownika   RCA 5588825C User Manual, 39 strony
M4002 Instrukcja Użytkownika   RCA M4002 User Manual, 30 strony
MC4202 Instrukcja Użytkownika     RCA MC4202 User Manual, 88 strony
RD1075SA Instrukcja Użytkownika   RCA RD1075SA User Manual, 10 strony
RD2215 Instrukcja Użytkownika   RCA RD2215 User Manual, 23 strony
MC4001 Instrukcja Użytkownika   RCA MC4001 User Manual, 30 strony
811-R50391W011 Instrukcja Użytkownika   RCA 811-R50391W011 User Manual, 2 strony
RD2012 Instrukcja Użytkownika   RCA RD2012 User Manual, 39 strony
5567206A Instrukcja Użytkownika   RCA 5567206A User Manual, 10 strony
RC130IPK Instrukcja Użytkownika   RCA RC130IPK User Manual, 3 strony
Lyra2 RD 2209 Instrukcja Użytkownika   RCA Lyra2 RD 2209 User Manual, 32 strony
H115 Instrukcja Użytkownika   RCA H115 User Manual, 38 strony
MC43 Series Instrukcja Użytkownika    RCA MC43 Series Manuel d'utilisation, 2 strony
M38 series Instrukcja Użytkownika   RCA M38 series User Manual, 1 strony
SLC5016 Instrukcja Użytkownika     RCA SLC5016 User Manual, 87 strony
SLC5008 Instrukcja Użytkownika     RCA SLC5008 User Manual, 87 strony
RC65iBK Instrukcja Użytkownika     RCA RC65iBK User Manual, 2 strony
X3000 Instrukcja Użytkownika   RCA X3000 User Manual, 33 strony
S2204 Instrukcja Użytkownika   RCA S2204 User Manual, 33 strony