Commit a2df179
Jira 857, BLEPeripheral::connected() always returns false, git 444
Root casue:
- The stack need use connected device to get the state.
- The current code used local address to get the link and get an error.
Code mods:
1. BLEPeripheral.cpp:
- Use central's address to get connection state.1 parent bc56500 commit a2df179
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
149 | | - | |
| 149 | + | |
| 150 | + | |
150 | 151 | | |
151 | 152 | | |
152 | 153 | | |
| |||
0 commit comments