Chapter 13 Device Logic (Pawn)
Note:
Additional explanation about the connection types
Connection type
Energy consumption
Data volumes
Response time
online
Interval & wakeup
Interval
native rM2M_TxGetStatus(&errorcode=0);
Returns the current connection status
Parameter
Explanation
errorcode
Variable to store the error code that occurred during the last connection attempt
RM2M_TXERR_NONE:
Last connection establishment successful
> RM2M_TXERR_NONE:
Last connection establishment failed.
Detailed breakdown of the error codes is
provided in "Connection error codes" in
chapter "Uplink" on page 124.
Explanation
Return value
Bit0 (RM2M_TX_FAILED):
set if the last GPRS connection
establishment failed
Bit1 (RM2M_TX_ACTIVE):
set when a GPRS connection is
established
Bit2 (RM2M_TX_STARTED):
set when a connection establishment has
been started
Bit3 (RM2M_TX_RETRY):
set during the waiting time until the next
automatic retry in the event of connection
problems
Bit4 (RM2M_TX_WAKEUPABLE): set when the modem is logged into the
GSM network (wakeup possible)
Bit5 (RM2M_TX_EXTSIM):
set if the external SIM is used for the
connections
Bit6 (RM2M_TX_DISABLED):
set if the modem has been deactivated
Bit8 (RM2M_TX_WAKEUP):
Set when a connection establishment was
triggered upon receipt of a wakeup SMS
Bit9 (RM2M_TX_POSUPDATE_
ACTIVE):
set when positioning is running
Rev. 05
131
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: ......