Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to establish BLE connexion on NRF52840_DK target #4787

Closed
lu0m4n opened this issue Jul 20, 2017 · 7 comments
Closed

Unable to establish BLE connexion on NRF52840_DK target #4787

lu0m4n opened this issue Jul 20, 2017 · 7 comments

Comments

@lu0m4n
Copy link

lu0m4n commented Jul 20, 2017

  • Type: Bug
  • Priority: Blocker

Bug

Target
NRF52840_DK

Toolchain:
GCC_ARM

Toolchain version:
arm-none-eabi-gcc.exe (GNU Tools for ARM Embedded Processors 6-2017-q2-update) 6.3.1 20170620 (release) [ARM/embedded-6-branch revision 249437]

mbed-cli version:
1.2.0

mbed-os sha:
a67c729 (HEAD -> master, origin/master, origin/HEAD) Merge pull request #97 from 0xc0170/master

Expected behavior
When the device is advertising, we should be able to establish a BLE connexion.

Actual behavior
The connexion fails with a timeout error.

Steps to reproduce
Using a NRF52840_DK target, build any of the mbed BLE example and run it.

@0xc0170
Copy link
Contributor

0xc0170 commented Jul 20, 2017

cc @pan- @nvlsianpu

@pan-
Copy link
Member

pan- commented Jul 20, 2017

@lu0m4n I've just tried with the example BLE_BatteryLevel and I have no trouble to connect to the device.

@lu0m4n
Copy link
Author

lu0m4n commented Jul 21, 2017

@pan Thanks for the feedback. Could you please share details about your environment, mbed version, board revision ... ?

@pan-
Copy link
Member

pan- commented Jul 21, 2017

@lu0m4n

Target
NRF52840_DK (10056)

Toolchain:
GCC_ARM: arm-none-eabi-gcc.exe (GNU Tools for ARM Embedded Processors 6-2017-q1-update) 6.3.1 20170215 (release) [ARM/embedded-6-branch revision 245512]

mbed-cli version:
1.2.0

mbed-os-ble-examples sha:
a67c729

@lu0m4n
Copy link
Author

lu0m4n commented Jul 27, 2017

Thank you @pan-

I swtiched from LightBlue to nRFConnect as debug application, and noticed in logs that the connection is establishing succesfully. So I don't know why it doesn't manage to display GATT database services and characteristics.

@lu0m4n
Copy link
Author

lu0m4n commented Jul 28, 2017

I tried on an Android tablet and it works well. It appears the problem has nothing to do with mbed but is specific to iOS device. Anyway, thank you for your help.

@lu0m4n lu0m4n closed this as completed Jul 28, 2017
@pan-
Copy link
Member

pan- commented Jul 28, 2017

@lu0m4n Is the discovery of services automatic in LightBlue ? That may be your issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants