My fork
Dependencies: BLE_API mbed-dev-bin nRF51822-bluetooth-mdw
Fork of microbit-dal-bluetooth-mdw 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 83 of file MicroBitAnimationService.cpp.
Generated on Tue Jul 12 2022 12:45:47 by
1.7.2
