SYS NV READ

=Description= This command is used by the application processor to read from NV items in the Module's non-volatile memory. These may be written using SYS_NV_WRITE.

=Library Function= unsigned char* sysNvRead(unsigned char nvItem);

=Library Example= Read the contents of NV item #5: unsigned char* buf = sysNvRead(5); if (zmResult == ZM_SUCCESS) {               printf("NV Item %u:", 5); for (int i=0; i<getNvItemSize(5); i++) printf("%02X ", buf[i]); }

=Usage=

Fields:
 * Id: Which NV item. See table below
 * Offset: Number of bytes offset from the beginning of the NV Value

Fields:
 * Status: 0 indicates success
 * Len: Length of the NV value, from table below
 * Value: Value of the NV item