Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs

How to add multiple characteristics with different attributes?

My platform is nRF52832 and SDK v16.0.0 (SDK 17.1.0 is also an option).

I am able to add two characteristics to a newly added vendor specific 128-bit UUID. However, the only way to get this to succeed with no errors (i.e. no INVALID_PARAMS returned by the call to the Soft Device) is to provide identical attribute properties to the two characteristics.

Is my only option to create two different services and add characteristics to each one while setting up different attribute properties for those two characteristics?

Cheers

RMV

Related