Skip to content

Commit 618e1e6

Browse files
committed
Cordio: Fix default COC parameters.
The stack doesn't cope with zero COC client or channel on IAR.
1 parent 11cb7f0 commit 618e1e6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

features/FEATURE_BLE/targets/TARGET_CORDIO/mbed_lib.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@
2424
},
2525
"max-l2cap-channels": {
2626
"help": "Maximum number of connection oriented channels",
27-
"value": 0,
27+
"value": 1,
2828
"macro_name": "L2C_COC_CHAN_MAX"
2929
},
3030
"max-l2cap-clients": {
3131
"help": "Maximum number of connection oriented channel registered clients",
32-
"value": 0,
32+
"value": 1,
3333
"macro_name": "L2C_COC_REG_MAX"
3434
},
3535
"max-att-writes": {

0 commit comments

Comments
 (0)