OTA HAL
Updated at:
Copy as MD
The firmware persistence feature is enabled.
HAL_Firmware_Persistence_Start
Prototype
void HAL_Firmware_Persistence_Start(void);
Description
None.
Parameters
void
Return value
void
HAL_Firmware_Persistence_Stop
Prototype
int HAL_Firmware_Persistence_Stop(void);
Description
The firmware persistence process is complete.
Parameters
void
Return value
void.
HAL_Firmware_Persistence_Write
Prototype
int HAL_Firmware_Persistence_Write(_IN_ char *buffer, _IN_ uint32_t length);
Description
Writes firmware data to persistent storage.
Parameters
Parameter | Data type | Direction | Description |
buffer | char * | Input | A pointer to the write buffer. |
length | uint32_t | Input | The number of bytes to write. |
Return value
The actual number of bytes written.
Is this page helpful?