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

ble custom service and desc

Hi.

I try to test using ble pc-drivce C library & 52840 dongle on pc.

except custom service. everything is fine.

under below is custom service pic.

1. is it normal custom service end handle is 0xFFFF?

2. when discover descriptor, only 2 handle was found. I need cccd handle. but there are not.

  on ble connect(first photo), there is normal.

How can i search normal descriptor handle like first photo?

thank you.

Parents Reply Children
  • Yes. I used sd_ble_uuid_vs_add(). add Base UUID.

    I solved tricky...

    ble service order is A B C DFU(nordic) custom

    changed A B C custom DFU. End handle is not 0xFFFF. it work normal.

    however desc handle is still not work. only 0x2800 0x2803.

    So I checked handle I want like first photo.

    and manually I used the handle whatever i want.

    it is work at least I need. still not found why desc is not working correctly

    here is one more question

    I use ble DIS (Device Information Service).

    and then here is also not fount all of char handle.

    part of dis char is found.

    char is 0x2A29, 0x2A25, 0x2A27

    but desc is only catch 5. 

    Do i need more search??

    thank you

Related