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 nRF51822-bluetooth-mdw
Fork of microbit-dal by
MicroBitAnimationService Class Reference
Class definition for a MicroBit BLE Animation Service. More...
#include <MicroBitAnimationService.h>
Public Member Functions | |
| MicroBitAnimationService (BLEDevice &_ble) | |
| Constructor. | |
| void | onDataWritten (const GattWriteCallbackParams *params) |
| Callback. | |
Detailed Description
Class definition for a MicroBit BLE Animation Service.
Definition at line 45 of file MicroBitAnimationService.h.
Constructor & Destructor Documentation
| MicroBitAnimationService | ( | BLEDevice & | _ble ) |
Constructor.
Class definition for a MicroBit BLE Animation Service.
Create a representation of the AnimationService
- Parameters:
-
_ble The instance of a BLE device that we're running on.
Provides a BLE gateway onto an Animation Model. Constructor. Create a representation of the AnimationService
- Parameters:
-
_ble The instance of a BLE device that we're running on.
Definition at line 41 of file MicroBitAnimationService.cpp.
Member Function Documentation
| void onDataWritten | ( | const GattWriteCallbackParams * | params ) |
Callback.
Invoked when a characteristic is written to
Invoked when any of our attributes are written via BLE.
Definition at line 105 of file MicroBitAnimationService.cpp.
Generated on Tue Jul 12 2022 18:04:44 by
1.7.2
