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.
Precondition
The SRV_STORAGE_Initialize Function must have been called before.
Parameters
Param | Description |
---|---|
infoType |
Configuration information type to read |
size |
Size in bytes of the configuration information to read |
pData | Pointer 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.