Make BLERemoteCharacteristic::getRemoteService() public #3367 (#4735)

This commit is contained in:
Emanuel Posescu 2021-01-21 14:30:33 +02:00 committed by GitHub
parent 8d0e68db4f
commit c9b3e512dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -39,6 +39,7 @@ public:
bool canWriteNoResponse(); bool canWriteNoResponse();
BLERemoteDescriptor* getDescriptor(BLEUUID uuid); BLERemoteDescriptor* getDescriptor(BLEUUID uuid);
std::map<std::string, BLERemoteDescriptor*>* getDescriptors(); std::map<std::string, BLERemoteDescriptor*>* getDescriptors();
BLERemoteService* getRemoteService();
uint16_t getHandle(); uint16_t getHandle();
BLEUUID getUUID(); BLEUUID getUUID();
std::string readValue(); std::string readValue();
@ -63,7 +64,6 @@ private:
// Private member functions // Private member functions
void gattClientEventHandler(esp_gattc_cb_event_t event, esp_gatt_if_t gattc_if, esp_ble_gattc_cb_param_t* evtParam); 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 removeDescriptors();
void retrieveDescriptors(); void retrieveDescriptors();