-
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
samples: bluetooth: peripheral_hids: Unable to communicate with paired device after board reset #32023
Comments
The CCC is not stored in flash when the board is reset. CCCs are by default stored in flash when the connection is disconnected. |
As you said, we tested it by setting it to CONFIG_BT_SETTINGS_CCC_STORE_ON_WRITE=y. |
@wngur300 Did you remove the existing bond before trying? From the commit that you have put in the issue description you have Zephyr v2.4.0 release, can you try to switch to v2.4-branch? |
When c2a0b0f commitment is applied and CONFIG_BT_SETTINGS_CCC_STORE_ON_WRITE=y is set, |
I'd like to ask you a question that has nothing to do with the issue. |
@wngur300 There is Closing as problem has been solved. |
Describe the bug
After building the peripheral_hids sample source, I paired the Desktop with the board.
I confirmed that the value of the battery is reduced well by modifying the source to reduce by 1 per 500ms.
Reset the board succeeds in reconnecting, but does not reduce the value of the battery.
Environment (please complete the following information)
OS: Linux ubuntu 18.04
Toolchain: zephyr-sdk-0.11.1
Commit SHA or Version used: 7a3b253
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Reset the board (power off and on) should also reduce the value of the battery on the paired device (Desktop).
Additional context
(Modified test source)
Logs and console output
(First-time connection)
(Verify connections and battery values are reduced)
(board reset)
(debug message after reset)
The connection with the paired device is successful by resetting the board, but the value of the battery is not decreasing.
Is there a way to enable battery service separately?
It is connected to a paired device, but why doesn't the value of the battery decrease?
I'd appreciate it if you could reply.
The text was updated successfully, but these errors were encountered: