Example for updating the MTi-1's firmware. Uses a platform independent, retargetable pure C implementation of the firmware updater protocol.
mtinterface.cpp File Reference
Go to the source code of this file.
Functions | |
static void * | allocateMessageDataWrapper (size_t bufferSize) |
Callback function for XbusParserCallback for allocating a block of memory. | |
static void | deallocateMessageDataWrapper (void const *buffer) |
Callback function for XbusParserCallback for deallocating a block of memory. | |
static void | xbusParserCallbackFunctionWrapper (struct XbusMessage const *message) |
Callback function for XbusParserCallback that handles completely received xbus messages from the 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 mtinterface.cpp.
Function Documentation
static void* allocateMessageDataWrapper | ( | size_t | bufferSize ) | [static] |
Callback function for XbusParserCallback for allocating a block of memory.
- Parameters:
-
bufferSize buffer size
Definition at line 37 of file mtinterface.cpp.
static void deallocateMessageDataWrapper | ( | void const * | buffer ) | [static] |
Callback function for XbusParserCallback for deallocating a block of memory.
- Parameters:
-
buffer Pointer to the buffer that should be deallocated
Definition at line 46 of file mtinterface.cpp.
static void xbusParserCallbackFunctionWrapper | ( | struct XbusMessage const * | message ) | [static] |
Callback function for XbusParserCallback that handles completely received xbus messages from the motion tracker.
- Parameters:
-
Pointer to the received xbus message
Definition at line 55 of file mtinterface.cpp.
Generated on Wed Jul 13 2022 07:56:15 by 1.7.2