Custom Service Setup in Central in nRF Connect SDK

i am working with NRF52840 and i am using nRF Connect SDk.

can i get the help/documentation or guide to add the custom service.

can anyone compare and explain with nRF_SDK_17.0.2.

Parents
  • Hi

    You need to modify this file to recognize your custom UUID, as the nus_client.c by default is only designed to work with the NUS base UUID. Also, since NUS_CLIENT does not have the discovery added, you need to change the gatt_discover() function to use the custom UUID as well.

    What exactly "isn't working" in your case?

    Best regards,

    Simon

Reply
  • Hi

    You need to modify this file to recognize your custom UUID, as the nus_client.c by default is only designed to work with the NUS base UUID. Also, since NUS_CLIENT does not have the discovery added, you need to change the gatt_discover() function to use the custom UUID as well.

    What exactly "isn't working" in your case?

    Best regards,

    Simon

Children
  • Thank you  
    i have modified that file with my custom uuids.

    I think i am miising this part,Also, since NUS_CLIENT does not have the discovery added, you need to change the gatt_discover() function to use the custom UUID as well.

    Can you please point me to any example in which it is done.

    Would really like to see a walkthrough for the central side and if possible the combination of the central and peripheral for a device.

Related