Commit 5da6c66
Jira 832 Sketch cannot exercise BLE broadcast, git 420
Root Cause:
Need to restart advertising after setting the broadcast option
in Characteristic. Otherwise, broadcasting would not take
effect.
Code mods:
1. libraries/CurieBLE/src/BLECharacteristic.cpp:
- At the processing of the Boardcast option in the
characteristic, stop and restart advertising if advertising
has already started.1 parent 0285190 commit 5da6c66
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
294 | 294 | | |
295 | 295 | | |
296 | 296 | | |
297 | | - | |
298 | 297 | | |
| 298 | + | |
299 | 299 | | |
300 | 300 | | |
301 | 301 | | |
| |||
0 commit comments