1.5.1.4.10 SRV_STORAGE_SetConfigInfo Function

C

bool SRV_STORAGE_SetConfigInfo(SRV_STORAGE_TYPE infoType, uint8_t size, void* pData);

Summary

Writes configuration information in non-volatile memory.

Description

This routine writes configuration information in non-volatile memory.

Parameters

ParametersDescription
infoTypeConfiguration information type to read
sizeSize in bytes of the configuration information to write
pDataPointer to configuration information data to write

Returns

The result of the write operation (true if success, false if error).

Example

uint8_t macInfo[8] = {0x55, 0xAA, 0x00, 0x01, 0x02, 0x03, 0x04, 0x05};
if (SRV_STORAGE_SetConfigInfo(SRV_STORAGE_TYPE_MAC_INFO, 8, macInfo))
{

}

Remarks

None.