Issue when Creating new service in nRF Connect for desktop

Hi,

I am trying to create a new custom service in nRF Connect for desktop and play around with its characteristic properties.

I Use an nRF52840 DK as peripheral and my mobile as a central device.

When I set the "Write" property only and I press "save" and "apply to device" a message saying "Server setup was applied" is displayed in the log area.

Then by going to "Connection Map" tab and I start advertising with the DK, the new service is displayed and I can see it in my smartphone. So far so good (image 1).

But when I set the "Notify" or "Indicate" property along with the "Write" property and I press "save" and "Apply to Device"

no "Server setup was applied" message is displayed in the log area (image 2) and the new service is not detected in my smartphone. What am I doing wrong here?

                              

Parents
  • Hello, I know this post is very old, but for the benefit of those who will find it while searching for a solution to the same problem (like me), here is what resolved the above for me.

    When setting a characteristic to "Notify" or "Indicate", you must also add a "Client Characteristic Configuration" descriptor. Click "New descriptor" and type "2902" into the Descriptor UUID field.

    In my case, once a CCCD was added to all notification characteristics, the server setup was successfully applied.

Reply
  • Hello, I know this post is very old, but for the benefit of those who will find it while searching for a solution to the same problem (like me), here is what resolved the above for me.

    When setting a characteristic to "Notify" or "Indicate", you must also add a "Client Characteristic Configuration" descriptor. Click "New descriptor" and type "2902" into the Descriptor UUID field.

    In my case, once a CCCD was added to all notification characteristics, the server setup was successfully applied.

Children
No Data
Related