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

BLE accelerometer

Greetings,

I'm using nRF52 DK to transfer LIS3DH accelerometer data in Bluetooth. I successfully managed to establish an I2C connection with my sensor, I get my XYZ values. Now I want to send the data in Bluetooth, I'm a bit confused about what to do next. Is there any example program in SDK that will help me? or if you can suggest to me some tutorial that would be helpful too. I'm a beginner, so any advice or suggestions are welcome. Thank you.

Parents Reply
  • Karthiknk said:

    Are you checking error codes from all softdevice APIs you are calling in your application?

    Yes I guess, I didn't change anything in the app_template example regarding error check. 

    I was thinking more about the code that you added from the tutorial, that you have remembered to store the return code from all function calls, and pass this along to APP_ERROR_CHECK() macro.

    Karthiknk said:

    And in nRF connect log. I get error 133 (0x85): GATT ERROR

    didn't this log information helps in any way?

    Unfortunately, this is a very generic error code. It can be caused by a lot of things. Can you post the full log output from nRF Connect? A sniffer trace will also tell if the peripheral did not respond to packets, etc.

Children
Related