#include "xbus.h"

Go to the source code of this file.
Classes | |
| struct | FwUpdate |
| FwUpdate object definition. More... | |
| struct | XffHeader |
| Definition of a xff section header. More... | |
Macros | |
| #define | FWU_REQUIRED_TXBUFFER_SIZE 300 |
Enumerations | |
| enum | FWU_Result { FWU_Success, FWU_Failed } |
| Result value. More... | |
| enum | FWU_State { STATE_Idle, STATE_Start, STATE_WaitReady, STATE_WaitHeaderResult, STATE_WaitSliceReady, STATE_WaitPageOk, STATE_WaitPageReady } |
| Internal state. More... | |
Functions | |
| void | FwUpdate_handleXbus (FwUpdate *thisPtr, uint8_t const *xbusMessage) |
| Handle xbus message coming from the module. More... | |
| void | FwUpdate_init (FwUpdate *thisPtr) |
| Initialize a FwUpdate instance. More... | |
| void | FwUpdate_start (FwUpdate *thisPtr) |
| Start a firmware update. More... | |
| #define FWU_REQUIRED_TXBUFFER_SIZE 300 |
Definition at line 74 of file fwupdate.h.
| enum FWU_Result |
| enum FWU_State |
Internal state.
| Enumerator | |
|---|---|
| STATE_Idle | |
| STATE_Start | |
| STATE_WaitReady | |
| STATE_WaitHeaderResult | |
| STATE_WaitSliceReady | |
| STATE_WaitPageOk | |
| STATE_WaitPageReady | |
Definition at line 106 of file fwupdate.h.
| void FwUpdate_handleXbus | ( | FwUpdate * | thisPtr, |
| uint8_t const * | xbusMessage | ||
| ) |
Handle xbus message coming from the module.
| xbusMessage | The xbus message from the module to be handled |
Definition at line 382 of file fwupdate.c.
| void FwUpdate_init | ( | FwUpdate * | thisPtr | ) |
Initialize a FwUpdate instance.
Definition at line 352 of file fwupdate.c.
| void FwUpdate_start | ( | FwUpdate * | thisPtr | ) |
Start a firmware update.
Definition at line 361 of file fwupdate.c.