You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This sample program works fine.
But I found one problem.
If you connect Bluetooth once, terminate the connection, and then try to reconnect, an error occurs.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Zephyr Version: 2.7.6
SDK: zephyr-sdk-0.13.1
I hope to create a BLE Central HIDS sample program.
There is no such sample in the Zephyr project.
So I referred to the sdk-nrf sample.
https://github.com/nrfconnect/sdk-nrf/blob/main/samples/bluetooth/central_hids/src/main.c
I succeeded build this sample program in the zephyr project.
This sample program works fine.
But I found one problem.
If you connect Bluetooth once, terminate the connection, and then try to reconnect, an error occurs.
I debugged to find the cause of the problem.
During the Bluetooth reconnection process, a problem occurs in the k_sem_take() function.
https://github.com/nrfconnect/sdk-nrf/blob/main/subsys/bluetooth/services/hogp.c
My Config file list.

What causes Bus Fault errors to occur?
Do I need to add semaphore-related config?
Please give us various opinions related to the above issue.
Beta Was this translation helpful? Give feedback.
All reactions