File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -38,6 +38,7 @@ class BLERemoteCharacteristic {
38
38
bool canWriteNoResponse ();
39
39
BLERemoteDescriptor* getDescriptor (BLEUUID uuid);
40
40
std::map<std::string, BLERemoteDescriptor *>* getDescriptors ();
41
+ uint16_t getHandle ();
41
42
BLEUUID getUUID ();
42
43
std::string readValue (void );
43
44
uint8_t readUInt8 (void );
@@ -61,7 +62,7 @@ class BLERemoteCharacteristic {
61
62
esp_gatt_if_t gattc_if,
62
63
esp_ble_gattc_cb_param_t * evtParam);
63
64
64
- uint16_t getHandle ();
65
+
65
66
BLERemoteService* getRemoteService ();
66
67
void removeDescriptors ();
67
68
void retrieveDescriptors ();
Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ class BLERemoteCharacteristic;
23
23
*/
24
24
class BLERemoteDescriptor {
25
25
public:
26
+ uint16_t getHandle ();
26
27
BLEUUID getUUID ();
27
28
std::string readValue (void );
28
29
uint8_t readUInt8 (void );
@@ -48,7 +49,7 @@ class BLERemoteDescriptor {
48
49
BLERemoteCharacteristic* m_pRemoteCharacteristic; // Reference to the Remote characteristic of which this descriptor is associated.
49
50
FreeRTOS::Semaphore m_semaphoreReadDescrEvt = FreeRTOS::Semaphore(" ReadDescrEvt" );
50
51
51
- uint16_t getHandle ();
52
+
52
53
};
53
54
#endif /* CONFIG_BT_ENABLED */
54
55
#endif /* COMPONENTS_CPP_UTILS_BLEREMOTEDESCRIPTOR_H_ */
Original file line number Diff line number Diff line change @@ -35,6 +35,7 @@ class BLERemoteService {
35
35
std::map<std::string, BLERemoteCharacteristic*>* getCharacteristics ();
36
36
37
37
BLEClient* getClient (void );
38
+ uint16_t getHandle ();
38
39
BLEUUID getUUID (void );
39
40
std::string toString (void );
40
41
@@ -48,7 +49,6 @@ class BLERemoteService {
48
49
49
50
// Private methods
50
51
void retrieveCharacteristics (void );
51
- uint16_t getHandle ();
52
52
esp_gatt_id_t * getSrvcId (void );
53
53
uint16_t getStartHandle ();
54
54
uint16_t getEndHandle ();
You can’t perform that action at this time.
0 commit comments