SYS NV WRITE

=SYS NV WRITE Description= This command is used by the application processor to write to an NV item in the Module's non-volatile memory. These may be read using SYS_NV_READ.

=Library Function= void sysNvWrite(unsigned char nvItem, unsigned char* data)

=Library Example= Write an array of 16B into NV item #5: unsigned char dataToWrite[16] = TEST_DATA; sysNvWrite(5, dataToWrite);
 * 1) define TEST_DATA {0x53, 0x6D, 0x69, 0x74, 0x68, 0x45, 0x6C, 0x65, 0x63, 0x74, 0x72, 0x6F, 0x6E, 0x69, 0x63, 0x73}

=Usage=

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

Status of 0 indicates success.

