This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nrf52832 I want to use acc and ble at the same time.

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?

5282.main.c.txt

Parents
  • 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

Reply
  • 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

Children
Related