INT32 m2m_OTA_read_mem_data(INT32 offset, INT32 len, UINT8 *buffer)
Description: the function works on OTA section memory, it moves "len" bytes starting from "offset" address into buffer pointed by "buffer" pointer.
Parameters:
buffer: pointer to the
allocated buffer that will be filled with data read
len:
number of bytes to read
offset: offset in the memory where data is read, see
table below:
Module Series |
Offset Range |
HE910 |
0 ÷ 0x280000 - 1 |
UE910 |
0 ÷ 0x280000 - 1 |
GE910 |
0 ÷ 0x140000 - 1 |
Return
value:
on
success: 1
on
failure: 0
Output
data:
on success: the
allocated buffer is filled with data read.