
native rM2M_CfgRead(cfg, pos, data{}, size);
Reads a data block from the specified position in a configuration memory block. The function is also
informed which of the 10 available memory blocks in the internal flash memory should be read. Use the
"rM2M_Pack", "rM2M_GetPacked" or "rM2M_GetPackedB" functions to unpack the read data.
Parameter
Explanation
cfg
Number of the configuration memory block starting with 0 for the first memory
block. The device comprises 10 independent memory blocks.
pos
Byte offset within the configuration memory block to determine the position from
which the data should be read
data
Array to store the data to be read
size
Number of bytes that should be read from the configuration memory block
Explanation
Return value
l
Size of the memory used in the configuration memory block
l
ERROR_MEM, if enough temporary memory (RAM) is not currently
available. (can occur if "RAM in a volatile manner" is selected as the type of
storage for several configuration memory blocks)
l
< OK, if another error occurs (see "Return codes for general purposes" in
chapter "Constants" on page 84).
native rM2M_CfgDelete(cfg);
Deletes all of the data of the transferred configuration memory block
Parameter
Explanation
cfg
Number of the configuration memory block starting with 0 for the first memory
block. The device comprises 10 independent memory blocks.
Explanation
Return value
l
OK, if successful
l
ERROR_MEM, if enough temporary memory (RAM) is not currently
available. (can occur if "RAM in a volatile manner" is selected as the type of
storage for several configuration memory blocks)
l
< OK, if another error occurs (see "Return codes for general purposes" in
chapter "Constants" on page 84).
94
Rev. 01
Содержание myDatalogEASY IoTmini
Страница 2: ......
Страница 11: ...Chapter 2 Declaration of conformity Chapter 2 Declaration of conformity Rev 01 11 ...
Страница 12: ......
Страница 34: ......
Страница 66: ......
Страница 78: ......
Страница 82: ......
Страница 186: ......
Страница 194: ......
Страница 196: ......
Страница 202: ......
Страница 205: ...Chapter 19 Document history Chapter 19 Document history Rev Date Changes 01 28 08 2020 First version Rev 01 205 ...
Страница 206: ......
Страница 208: ......