Andrea Sortino / BLE_API

Fork of BLE_API by Bluetooth Low Energy

Revision:
518:54731cc463b3
Parent:
516:85b9261fbda7
Child:
523:950ccac4d7f8
--- a/public/Gap.h	Fri Jun 19 15:52:05 2015 +0100
+++ b/public/Gap.h	Fri Jun 19 15:52:05 2015 +0100
@@ -187,6 +187,9 @@
     virtual ble_error_t setAppearance(uint16_t appearance)                    = 0;
     virtual ble_error_t getAppearance(uint16_t *appearanceP)                  = 0;
 
+    virtual ble_error_t setTxPower(int8_t txPower)                            = 0;
+    virtual void        getPermittedTxPowerValues(const int8_t **, size_t *)  = 0;
+
     ble_error_t startScan(const GapScanningParams &scanningParams, void (*callback)(const AdvertisementCallbackParams_t *params)) {
         ble_error_t err = BLE_ERROR_NONE;
         if (callback) {