HW layer for the Nucleo board, it only work with old BLE_API
Dependents: Hello_BLE F446RE-BLE
Fork of X_NUCLEO_IDB0XA1 by
Diff: BlueNRGDevice.h
- Revision:
- 37:07487777d9c6
- Parent:
- 2:a2b623661316
- Child:
- 39:af09d274257b
--- a/BlueNRGDevice.h Mon Aug 25 11:56:52 2014 +0000 +++ b/BlueNRGDevice.h Tue Aug 26 05:04:24 2014 +0000 @@ -34,16 +34,21 @@ public: BlueNRGDevice(void); virtual ~BlueNRGDevice(void); - +/* virtual Gap &getGap() { return BlueNRGGap::getInstance(); }; virtual GattServer &getGattServer() { return BlueNRGGattServer::getInstance(); }; +*/ + virtual Gap &getGap(); + virtual GattServer &getGattServer(); + virtual const char *getVersion(void); virtual ble_error_t init(void); virtual ble_error_t reset(void); - virtual void waitForEvent(void); + virtual ble_error_t setTxPower(int8_t txPower); + virtual void waitForEvent(void); }; #endif