File tree Expand file tree Collapse file tree 3 files changed +10
-3
lines changed Expand file tree Collapse file tree 3 files changed +10
-3
lines changed Original file line number Diff line number Diff line change 26
26
#include "BLETypedCharacteristics.h"
27
27
#include "utility/btct.h"
28
28
29
+ // dps
30
+ #include "local/BLELocalCharacteristic.h"
31
+ #include "local/BLELocalService.h"
32
+
29
33
#endif
Original file line number Diff line number Diff line change @@ -46,13 +46,14 @@ class BLEService {
46
46
BLECharacteristic characteristic (const char * uuid) const ;
47
47
BLECharacteristic characteristic (const char * uuid, int index) const ;
48
48
49
+ // dps
50
+ BLELocalService* local ();
51
+
49
52
protected:
50
53
friend class GATTClass ;
51
54
52
55
BLEService (BLELocalService* local);
53
56
54
- BLELocalService* local ();
55
-
56
57
void addCharacteristic (BLELocalCharacteristic* characteristic);
57
58
58
59
protected:
Original file line number Diff line number Diff line change @@ -38,6 +38,9 @@ class BLELocalService : public BLELocalAttribute {
38
38
void addCharacteristic (BLECharacteristic& characteristic);
39
39
void clear ();
40
40
41
+ // dps
42
+ void addCharacteristic (BLELocalCharacteristic* characteristic);
43
+
41
44
protected:
42
45
friend class ATTClass ;
43
46
friend class GATTClass ;
@@ -49,7 +52,6 @@ class BLELocalService : public BLELocalAttribute {
49
52
unsigned int characteristicCount () const ;
50
53
BLELocalCharacteristic* characteristic (unsigned int index) const ;
51
54
52
- void addCharacteristic (BLELocalCharacteristic* characteristic);
53
55
54
56
private:
55
57
uint16_t _startHandle;
You can’t perform that action at this time.
0 commit comments