Our website is under construction. Please stay tuned!

dwm_nvm_usr_data_set

Stores user data to non-volatile memory and writes internal non-volatile memory, which must be used carefully. Old data is rewritten.

int dwm_nvm_usr_data_set(uint8_t*, uint8_t)
Parameters
  • input – data, len

  • data – ? 250 bytes max ? (the user data to be written)

  • len – ? 1 byte ? (data length, 250 bytes max)

  • outputStatus code

C code example

uint8_t buf[DWM_NVM_USR_DATA_LEN_MAX];
uint8_t len = DWM_NVM_USR_DATA_LEN_MAX;
int rv;
rv = dwm_nvm_usr_data_set(buf, len);
if (DWM_OK == rv)
{
   printf(ok\n);
}
else
{
   printf(error, %d, rv);
}

SPI/UART example

Not available on these interfaces.