1.5.1.4.9 SRV_STORAGE_GetConfigInfo Function

C

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

Summary

Reads configuration information from non-volatile memory.

Description

This routine reads configuration information from non-volatile memory.

Parameters

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

Returns

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

Example

uint8_t macInfo[8];
if (SRV_STORAGE_GetConfigInfo(SRV_STORAGE_TYPE_MAC_INFO, 8, macInfo))
{

}

Remarks

None.