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

ble_db_discovery_start return 0x11

info: my board core is nrf52832

i want to use examples\ble_central\ble_app_uart_c  to connect with a Slave,i have only modified  the UUID,and it can connect ok,but when it run after ble_db_discovery_start(),it return err(errcode = 0x11),I don't know why.log under:

00> <debug> ble_db_disc: Starting discovery of service with UUID 0xFEE7 on connection handle 0x0.
00> 
00> <debug> nrf_ble_gq: Adding item to the request queue
00> 
00> <debug> nrf_ble_gq: GATTC Primary Services Discovery Request
00> 
00> <debug> nrf_ble_gq: SD is currently busy. The GATT request procedure will be attempted                       again later.
00> 
00> <debug> nrf_ble_gq: Processing the request queue...
00> 
00> <debug> nrf_ble_gq: GATTC Primary Service Discovery Request
00> 
00> <debug> nrf_ble_gq: SD is currently busy. The GATT request procedure will be attempted                           again later.
00> 
00> <info> app: Connection BLE_GAP_EVT_CONNECTED...
00> 
00> <info> ble_db_disc: ble_db_discovery_on_ble_evt:17
00> 
00> <info> app: Disconnected.
Parents
  • Hi

    The error code 0x11 points towards the SoftDevice being busy, which means that the SoftDevice is busy doing something else when you're calling the ble_db_discovery_start() function. From your log, it seems like you're doing this while the device is trying to connect to a peripheral. Please try calling this once the device has connected successfully to the peripheral device.

    Best regards,

    Simon

Reply
  • Hi

    The error code 0x11 points towards the SoftDevice being busy, which means that the SoftDevice is busy doing something else when you're calling the ble_db_discovery_start() function. From your log, it seems like you're doing this while the device is trying to connect to a peripheral. Please try calling this once the device has connected successfully to the peripheral device.

    Best regards,

    Simon

Children
Related