Chapter 13 Device Logic (Pawn)
Connection flags
Control flags for the rM2M_TxStart() function
RM2M_TX_POSUPDATE
= 0b00000001, /* Update of the GSM position data
when establishing a connection
*/
RM2M_TX_REFRESH_CONFIG
= 0b00000100, /* Additionally establishing a
connection to the maintenance
server
*/
RM2M_TX_SUPPRESS_POSUPDATE = 0b00001000,/* Suppress update of the GSM position
data when establishing a
connection
1)
*/
RM2M_TX_POSUPDATE_ONLY
= 0b00010000, /* When establishing a connection
there is only an update to the GSM
position data. Measurement data,
etc. configurations, are not
synchronised.
*/
1)
This suppresses the update of the GSM position data that is automatically executed by the firmware every 24h .
Communication modes
Communication modes for the rM2M_TxSetMode() function
RM2M_TXMODE_TRIG
= 0,
// Interval
RM2M_TXMODE_WAKEUP = 1,
// Interval & wakeup
RM2M_TXMODE_ONLINE = 2,
// Online
Communication mode flags
Configuration flags for the rM2M_TxSetMode() function
RM2M_TXMODE_SUPPRESS_SYNC = 0b00000001, /* no auto. sync. with the server when
the connection type is changed */
Connection status
Return values of the rM2M_TxGetStatus() function
RM2M_TX_FAILED
= 0b0000000001, // Connection establishment failed
RM2M_TX_ACTIVE
= 0b0000000010, // GPRS connection established
RM2M_TX_STARTED
= 0b0000000100, // Connection establishment started
RM2M_TX_RETRY
= 0b0000001000, // Waiting time until retry
RM2M_TX_WAKEUPABLE = 0b0000010000, // Modem is logged into the GSM network
RM2M_TX_EXTSIM
= 0b0000100000, // external SIM is used
RM2M_TX_DISABLED
= 0b0001000000, // Modem was deactivated
RM2M_TX_WAKEUP
= 0b0100000000, /* Connection establishment triggered by
wakeup SMS */
RM2M_TX_POSUPDATE_ACTIVE = 0b1000000000, // Positioning is running
Connection error codes
Error codes that are returned by the rM2M_TxGetStatus() function via the optional "errorcode"
parameter if the last connection attempt failed.
RM2M_TXERR_NONE = 0,
// no error
Rev. 05
125
Summary of Contents for myDatalogEASY V3
Page 2: ......
Page 13: ...Chapter 2 Declaration of conformity Chapter 2 Declaration of conformity Rev 05 13 ...
Page 14: ......
Page 42: ......
Page 76: ......
Page 88: ......
Page 102: ......
Page 110: ......
Page 116: ......
Page 234: ......
Page 244: ......
Page 252: ......
Page 254: ......
Page 266: ......
Page 276: ......