diff --git a/libraries/BLE/src/BLERemoteCharacteristic.h b/libraries/BLE/src/BLERemoteCharacteristic.h index 76dfb658..1a1c7e8e 100644 --- a/libraries/BLE/src/BLERemoteCharacteristic.h +++ b/libraries/BLE/src/BLERemoteCharacteristic.h @@ -39,6 +39,7 @@ public: bool canWriteNoResponse(); BLERemoteDescriptor* getDescriptor(BLEUUID uuid); std::map* getDescriptors(); + BLERemoteService* getRemoteService(); uint16_t getHandle(); BLEUUID getUUID(); std::string readValue(); @@ -63,7 +64,6 @@ private: // Private member functions void gattClientEventHandler(esp_gattc_cb_event_t event, esp_gatt_if_t gattc_if, esp_ble_gattc_cb_param_t* evtParam); - BLERemoteService* getRemoteService(); void removeDescriptors(); void retrieveDescriptors();