-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
[master]Bluetooth: samples/bluetooth/central_hr can't connect with samples/bluetooth/peripheral_hr #24226
Comments
This works fine here for me, I am not sure what the issue is |
Here is my log from the central side:
Maybe your central is connecting to another device that also shows the HR service in its advertising data, and that device is not handling the ATT requests correctly? |
I have updated master branch and tried again, it's the same result: central log:
peripheral log:
I have tested peripheral with my phone use nRF Toolbox APP, i have't found another HRM device, only my device was found, so i don't know why your result is good. @carlescufi |
I take the board to my home and change the central side from nrf52dk_nrf52832 to thingy52_nrf52832, logs:
|
@carlescufi Hi Can you show how to send message from central to peripheral? i can't find samples on master branch, thanks. |
@carlescufi which board are you using? i have tested nrf52dk_nrf52832 and thingy52_nrf52832 with the same sample nrf52dk_nrf52832 log:
thingy52_nrf52832 log:
|
I know how to send message from central to peripheral |
Closing since this seems solved |
Platform:
Environment:
Issue:
I am testing BLE, thingy52_nrf52832 as peripheral and nrf52dk_nrf52832 as central, it's sames good about peripheral, when i download
samples/bluetooth/peripheral_hr
to thingy52_nrf52832, i can connect it with my Android App[nRF Connect], but when i use thingy52_nrf52832 as centralsamples/bluetooth/central_hr
, the log show central can't connect with peripheral, the central always stay atzephyr/samples/bluetooth/central_hr/src/main.c
Lines 67 to 68 in 6540f81
zephyr/samples/bluetooth/central_hr/src/main.c
Lines 79 to 82 in 6540f81
some logs as below:
The text was updated successfully, but these errors were encountered: