![]() |
RUI3 (RAK Unified Interface 3) - RAK4631
|
Functions | |
bool | get (uint32_t offset, uint8_t *buf, uint32_t len) |
bool | set (uint32_t offset, uint8_t *buf, uint32_t len) |
bool get | ( | uint32_t | offset, |
uint8_t * | buf, | ||
uint32_t | len | ||
) |
offset | the offset to the start of user flash partition (The sum of offset and length can't exceed 0x7800. If the chip is nRF52840(e.g. RAK4631), this limitation becomes 0x20000.) |
buf | the buffer for reading the data |
len | the length of data (The sum of offset and length can't exceed 0x7800. If the chip is nRF52840(e.g. RAK4631), this limitation becomes 0x20000.) |
TRUE | for reading data successfully |
FALSE | for reading data failure |
bool set | ( | uint32_t | offset, |
uint8_t * | buf, | ||
uint32_t | len | ||
) |
offset | the offset to the start of user flash partition (The sum of offset and length can't exceed 0x7800. If the chip is nRF52840(e.g. RAK4631), this limitation becomes 0x20000.) |
buf | the buffer for writing the data |
len | the length of data (The sum of offset and length can't exceed 0x7800. If the chip is nRF52840(e.g. RAK4631), this limitation becomes 0x20000.) |
TRUE | for writing data successfully |
FALSE | for writing data failure |