Commit ddc6771
committed
Fix Jira 923 BLE 4.2 BLECharacteristic::setValue() hangs
Root cause
1. The central powered off peripherial device and make it not give response.
Solution
1. Exit the wait loop when connection lost.
Changed file
BLECharacteristicImp.cpp - Change the wait logic1 parent 2a760b7 commit ddc6771
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
750 | 750 | | |
751 | 751 | | |
752 | 752 | | |
| 753 | + | |
753 | 754 | | |
754 | | - | |
| 755 | + | |
755 | 756 | | |
756 | 757 | | |
| 758 | + | |
757 | 759 | | |
758 | 760 | | |
759 | 761 | | |
| |||
0 commit comments