File tree Expand file tree Collapse file tree 2 files changed +12
-2
lines changed
features/FEATURE_BLE/targets/TARGET_NORDIC Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -43,8 +43,8 @@ class nRF5xGattServer : public GattServer
43
43
44
44
45
45
private:
46
- const static unsigned BLE_TOTAL_CHARACTERISTICS = 20 ;
47
- const static unsigned BLE_TOTAL_DESCRIPTORS = 8 ;
46
+ const static unsigned BLE_TOTAL_CHARACTERISTICS = NRF_SDH_BLE_TOTAL_CHARACTERISTICS ;
47
+ const static unsigned BLE_TOTAL_DESCRIPTORS = NRF_SDH_BLE_TOTAL_DESCRIPTORS ;
48
48
const static unsigned TOTAL_CONCURRENT_LONG_WRITE_REQUESTS = 3 ;
49
49
50
50
private:
Original file line number Diff line number Diff line change 25
25
"help" : " select whether to include the Service Changed characteristic in the GATT Server" ,
26
26
"value" : " 1" ,
27
27
"macro_name" : " NRF_SDH_BLE_SERVICE_CHANGED"
28
+ },
29
+ "max_characteristics" : {
30
+ "help" : " Sets the maximum number of characteristics that can be registered" ,
31
+ "value" : " 20" ,
32
+ "macro_name" : " NRF_SDH_BLE_TOTAL_CHARACTERISTICS"
33
+ },
34
+ "max_descriptors" : {
35
+ "help" : " Sets the maximum number of descriptors that can be registered" ,
36
+ "value" : " 8" ,
37
+ "macro_name" : " NRF_SDH_BLE_TOTAL_DESCRIPTORS"
28
38
}
29
39
}
30
40
}
You can’t perform that action at this time.
0 commit comments