@@ -27,7 +27,7 @@ class BLECharacteristicMap {
27
27
void setByUUID (BLECharacteristic* pCharacteristic, const char * uuid);
28
28
void setByUUID (BLECharacteristic* pCharacteristic, BLEUUID uuid);
29
29
void setByHandle (uint16_t handle, BLECharacteristic* pCharacteristic);
30
- BLECharacteristic* getByUUID (const char * uuid);
30
+ BLECharacteristic* getByUUID (const char * uuid);
31
31
BLECharacteristic* getByUUID (BLEUUID uuid);
32
32
BLECharacteristic* getByHandle (uint16_t handle);
33
33
BLECharacteristic* getFirst ();
@@ -69,8 +69,8 @@ class BLEService {
69
69
uint8_t m_id = 0 ;
70
70
71
71
private:
72
- BLEService (const char * uuid, uint32_t numHandles);
73
- BLEService (BLEUUID uuid, uint32_t numHandles);
72
+ BLEService (const char * uuid, uint16_t numHandles);
73
+ BLEService (BLEUUID uuid, uint16_t numHandles);
74
74
friend class BLEServer ;
75
75
friend class BLEServiceMap ;
76
76
friend class BLEDescriptor ;
@@ -88,7 +88,7 @@ class BLEService {
88
88
FreeRTOS::Semaphore m_semaphoreStartEvt = FreeRTOS::Semaphore(" StartEvt" );
89
89
FreeRTOS::Semaphore m_semaphoreStopEvt = FreeRTOS::Semaphore(" StopEvt" );
90
90
91
- uint32_t m_numHandles;
91
+ uint16_t m_numHandles;
92
92
93
93
BLECharacteristic* getLastCreatedCharacteristic ();
94
94
void handleGATTServerEvent (
0 commit comments