Chapter 13 Device Logic (Pawn)
native rM2M_GSMGetInfo(info[TrM2M_GSMInfo], len=sizeof info);
Returns information on the GSM modem, SIM chip and the GSM network used during the last
connection
Parameter
Explanation
info
Structure for storing the information (see "TrM2M_GSMInfo" in chapter "Arrays
with symbolic indices" on page 124)
len
Size (in cells) of the structure to store the information - OPTIONAL
Explanation
Return value
l
Size (in cells) of the structure used to store the information
l
ERROR if the address and/or length of the info structure are invalid
(outside the script data memory)
l
< OK, if another error occurs (see "Return codes for general purposes" in
chapter "Constants" on page 118).
native rM2M_LiveData(const data{}, len);
Transmits a data record as live data to the server. Calling this function is only permissible if the device is
in "online" mode and an active connection to the server is established. Use the "rM2M_Pack", "rM2M_
SetPacked" or "rM2M_SetPackedB" functions to generate the data area.
Parameter
Explanation
data
Array that contains the live data to be transferred
Important note:
The structure of the live data must be identical to that of
the measurement data saved in the internal flash using the "rM2M_
RecData()" function.
len
Number of bytes to be transferred (max. 1024 Byte )
Explanation
Return value
l
OK, if successful
l
ERROR, if an error occurs (e.g. the server does not support receipt of live
data.)
Rev. 05
133
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: ......