I want to read the acceleration sensor value using the example of the ble-hid-keyboard, but if I let you read the acceleration sensor value, Bluetooth will be cut off. Can we solve this problem?
I want to read the acceleration sensor value using the example of the ble-hid-keyboard, but if I let you read the acceleration sensor value, Bluetooth will be cut off. Can we solve this problem?
Hi,
Not easy to see from your code what is causing this issue. There can be many reasons that the Bluetooth connection is broken. Error codes, asserts, priority issues, etc.
Does the chip reset? Are you seeing any error codes on the log? Have you tried debugging the application to see where it fails?
If you can post the full application project, it may be easier to see/test what is causing the issue.
Best regards,
Jørgen
I think it's because sensorread and idle_state_handle() are placed together in the form statement, is there any way to run both at the same time?
There's no error mark.
I think it's because sensorread and idle_state_handle() are placed together in the form statement, is there any way to run both at the same time?
There's no error mark.