Example for updating the MTi-1's firmware. Uses a platform independent, retargetable pure C implementation of the firmware updater protocol.
fwupdate.h File Reference
Go to the source code of this file.
Data Structures | |
| struct | XffHeader |
| Definition of a xff section header. More... | |
| struct | FwUpdate |
| FwUpdate object definition. More... | |
Enumerations | |
| enum | FWU_Result |
Result value. More... | |
| enum | FWU_State |
Internal state. More... | |
Functions | |
| void | FwUpdate_init (FwUpdate *thisPtr) |
| Initialize a FwUpdate instance. | |
| void | FwUpdate_start (FwUpdate *thisPtr) |
| Start a firmware update. | |
| void | FwUpdate_handleXbus (FwUpdate *thisPtr, struct XbusMessage *xbusMessage) |
| Handle xbus message coming from the module. | |
Detailed Description
Copyright (C) Xsens Technologies B.V., 2015.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Definition in file fwupdate.h.
Enumeration Type Documentation
| enum FWU_Result |
Result value.
Definition at line 30 of file fwupdate.h.
| enum FWU_State |
Internal state.
Definition at line 55 of file fwupdate.h.
Function Documentation
| void FwUpdate_handleXbus | ( | FwUpdate * | thisPtr, |
| struct XbusMessage * | xbusMessage | ||
| ) |
Handle xbus message coming from the module.
- Parameters:
-
xbusMessage The xbus message from the module to be handled
Definition at line 300 of file fwupdate.c.
| void FwUpdate_init | ( | FwUpdate * | thisPtr ) |
Initialize a FwUpdate instance.
Definition at line 270 of file fwupdate.c.
| void FwUpdate_start | ( | FwUpdate * | thisPtr ) |
Start a firmware update.
Definition at line 279 of file fwupdate.c.
Generated on Wed Jul 13 2022 07:56:15 by
1.7.2

