Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: BLE_API_Tiny_BLE MPU6050-DMP-Seeed-Tiny-BLE mbed
MPUService Class Reference
BLE Service to enable MPU6050 over BLE. More...
#include <MPUService.h>
Public Member Functions | |
| MPUService (BLEDevice &_ble, float *initialYPRData) | |
| uint16_t | getSettingCharacteristic () |
| Note: TX and RX characteristics are to be interpreted from the viewpoint of the GATT client using this service. | |
| void | updateYawPitchRoll (float *yprData) |
| Update the temperature being broadcast. | |
Static Public Attributes | |
| static const unsigned | GATT_MTU_SIZE_DEFAULT = 23 |
| < Maximum length of data (in bytes) that can be transmitted by the UART service module to the peer. | |
Detailed Description
BLE Service to enable MPU6050 over BLE.
Definition at line 46 of file MPUService.h.
Constructor & Destructor Documentation
| MPUService | ( | BLEDevice & | _ble, |
| float * | initialYPRData | ||
| ) |
- Parameters:
-
ref] ble BLEDevice object for the underlying controller.
Definition at line 62 of file MPUService.h.
Member Function Documentation
| uint16_t getSettingCharacteristic | ( | ) |
Note: TX and RX characteristics are to be interpreted from the viewpoint of the GATT client using this service.
Definition at line 91 of file MPUService.h.
| void updateYawPitchRoll | ( | float * | yprData ) |
Update the temperature being broadcast.
- Parameters:
-
[in] temperature Floating point value of the temperature
Definition at line 105 of file MPUService.h.
Field Documentation
const unsigned GATT_MTU_SIZE_DEFAULT = 23 [static] |
< Maximum length of data (in bytes) that can be transmitted by the UART service module to the peer.
Definition at line 51 of file MPUService.h.
Generated on Tue Jul 12 2022 18:38:33 by
1.7.2