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

How to handle multiple ble event notifications from multiple characteristics of the same service

I have one service with multiple characteristics(11). Out of 11 characteristics I have 7 characteristics which have notify as their attributes. So when I select the notification icon from the mobile app (nrfConnect) then I am not able to get the notifications. When I implemented code with a single characteristic able to notify then it works properly but with multiple characteristics, I get the following error: 

sd_ble_gatts_hvx result: 3401.

<error> hardfault: HARD FAULT at 0x00000000
<error> hardfault: R0: 0x20000464 R1: 0x00000000 R2: 0x20007120 R3: 0x20007120
<error> hardfault: R12: 0x20006F74 LR: 0x00000000 PSR: 0x6000000E
hardfault: Cause: The processor has attempted to execute an instruction that makes illegal use of the EPSR.

Related