ArduinoCore-arc32 icon indicating copy to clipboard operation
ArduinoCore-arc32 copied to clipboard

Correct value of BLE.connected()

Open sandeepmistry opened this issue 8 years ago • 2 comments

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

sandeepmistry avatar Apr 07 '17 20:04 sandeepmistry

@sgbihu please review the code change as a solution to,

https://github.com/01org/corelibs-arduino101/issues/507#issuecomment-292660771

SidLeung avatar Apr 10 '17 22:04 SidLeung

CLA assistant check
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.

CLAassistant avatar Apr 09 '21 13:04 CLAassistant