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

Multiple notify characteristics

Hi

I'm trying to create a custom ble service with 4 notify characteristics. Everything works with one characteristic, but when i add the other the DK hangs.

I'm using SDK11 with S130.

I made it work with two characteristics when i give the second characteristic following CCCD metadata:

BLE_GAP_CONN_SEC_MODE_SET_OPEN(&cccd_md.read_perm);
BLE_GAP_CONN_SEC_MODE_SET_OPEN(&cccd_md.write_perm);

But i don't want it to be writable.

Can anybody help me out?

My service code is attached.

footsensor_service.h

footsensor_service.c

Related