Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

hardfault on an sd_ble_gatts_hvx call in sdk 14.2.0

Referencing  another trouble ticket

https://devzone.nordicsemi.com/f/nordic-q-a/22621/hardfault-on-an-sd_ble_gatts_hvx-call-in-sdk12-3

I am experiencing the same issue as listed in the reference issue.  Using SDK 14.2.0, FreeRTOS project built off of FreeRTOS example. 

Battery service can send notifications just fine, but my custom service cannot. I am using the FreeRTOS xTimer to send out a 20 byte packet on a periodic base. Call to this function fails on first call.  I have seen other that have had the same issue, or similar, and perhaps it is a priorities issue but I cannot fix this.

Cheers

Parents Reply Children
No Data
Related