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

S140 return 0x11 error code when nRF52840 discover service

Hi,

I'm using the bluetooth 5.0 and base on the mutilink_center example to add a peripheral and a center. Because I want the center to connect two type device. It could scan and advertise, but when the center use sd_ble_gattc_primary_services_discover to discover service, it returns 0x11 error and then reset. I have debug it and found that the connection handle is 0x01, not 0x00, and the service UUID is what I want and correct.

Could you give me some advice? Thanks.

Parents
  • Hi Alice,

    0x11 means NRF_ERROR_BUSY Client procedure already in progress. It could be that there is other service discovery already started. Make sure you don't call service discovery twice for the same device. If you already have 1 active connection, the connection handle will be 0x01.

    Do you see the same problem when testing with mulilink central example ?

Reply
  • Hi Alice,

    0x11 means NRF_ERROR_BUSY Client procedure already in progress. It could be that there is other service discovery already started. Make sure you don't call service discovery twice for the same device. If you already have 1 active connection, the connection handle will be 0x01.

    Do you see the same problem when testing with mulilink central example ?

Children
No Data
Related