Example for updating the MTi-1's firmware. Uses a platform independent, retargetable pure C implementation of the firmware updater protocol.

Dependencies:   mbed-rtos mbed

Embed: (wiki syntax)

« Back to documentation index

xbusmessage.h File Reference

xbusmessage.h File Reference

Go to the source code of this file.

Data Structures

struct  XbusMessage
 Xbus message. More...

Enumerations

enum  XbusBusFormat { XBF_I2c, XBF_Spi, XBF_Uart }
 

Low level bus format for transmitted Xbus messages.

More...

Functions

size_t XbusMessage_createRawMessage (uint8_t *raw, struct XbusMessage const *message, enum XbusBusFormat format)
 Format a message into the raw mtssp format ready for transmission to a motion tracker.

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 xbusmessage.h.


Enumeration Type Documentation

Low level bus format for transmitted Xbus messages.

Enumerator:
XBF_I2c 

Format for use with I2C interface.

XBF_Spi 

Format for use with SPI interface.

XBF_Uart 

Format for use with UART interface.

Definition at line 49 of file xbusmessage.h.


Function Documentation

size_t XbusMessage_createRawMessage ( uint8_t *  raw,
struct XbusMessage const *  message,
enum XbusBusFormat  format 
)

Format a message into the raw mtssp format ready for transmission to a motion tracker.

Definition at line 22 of file xbusmessage.c.