ArduinoCore-arc32
ArduinoCore-arc32 copied to clipboard
Correct value of BLE.connected()
As discussed in #507.
Now it will check:
- if in peripheral mode and if a central is connected
- if in central mode and if a peripheral is connected
I've also reverted https://github.com/01org/corelibs-arduino101/commit/a2df1795ac275ac48485329dc0697ab2324715bf from PR #454 as the change it no longer required with https://github.com/01org/corelibs-arduino101/commit/58c323e278a510e6e6ec2d0c4f29de69a0c11384.
cc/ @jimaobian
@sgbihu please review the code change as a solution to,
https://github.com/01org/corelibs-arduino101/issues/507#issuecomment-292660771
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.