dwm_nvm_usr_data_get
Reads user data from non-volatile memory and internal flash.
-
int dwm_nvm_usr_data_get(uint8_t*, uint8_t*)
- Parameters
input – len (buffer length)
output – Status code, data, len
data – ? 250 bytes max ? (the user data previously stored in non-volatile memory)
len – ? 1 byte ? (data length, 250 bytes max)
C code example
uint8_t buf[DWM_NVM_USR_DATA_LEN_MAX];
uint8_t len;
int rv;
len = sizeof(buf);
rv = dwm_nvm_usr_data_get(buf, &len);
if (rv == DWM_ERR_OVERRUN)
{
printf(“expected length = %d\n”, len);
}
SPI/UART example
not available on these interfaces