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