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

NRF52832: The app is repeatedly disconnected after the Apple phone is paired with the DFU

Here is my advertising interval and connection parameter configuration(SDK15.0.0 softdevice6.0.0) :

Parents
  • Hi, 

    Do you have an application on the device beside the bootloader ? 

    You are saying you connect to the bootloader then you restart bluetooth on the phone, then leave it like that ? 

    If it's the case and if you don't have any application, there is an inactive timer on the bootloader that restart it if the phone does nothing. 

  • Hi, 

    I'm sure that I'm running an application. And this application is a demo about ANCS.

    This is my log (Disconnection in log is automatic and at intervals of 30s, Follow the above procedure):

    0> <info> app: p_ble_evt->header.evt_id = 0x39  //Handle Value Notification or Indication event
    0> <info> app: p_ble_evt->header.evt_id = 0x12
    0> <info> app: Fast advertising with Whitelist
    0> <info> app: p_ble_evt->header.evt_id = 0x11
    0> <info> app: Disconnected.
    0> <info> app: p_ble_evt->header.evt_id = 0x10
    0> <info> app: Connected.
    0> <info> app: p_ble_evt->header.evt_id = 0x14
    0> <info> app: Connection secured: role: 1, conn_handle: 0x0, procedure: 0.
    0> <info> app: p_ble_evt->header.evt_id = 0x1A		//Connection security updated
    0> <info> app: p_ble_evt->header.evt_id = 0x39
    0> <info> app: p_ble_evt->header.evt_id = 0x30		//Primary Service Discovery Response event
    0> <info> app: p_ble_evt->header.evt_id = 0x55		//Exchange MTU Request
    0> <info> app: p_ble_evt->header.evt_id = 0x32		//Characteristic Discovery Response event. 
    0> <info> app: p_ble_evt->header.evt_id = 0x32
    0> <info> app: p_ble_evt->header.evt_id = 0x33		//Descriptor Discovery Response event
    0> <info> app: p_ble_evt->header.evt_id = 0x30
    0> <info> app: p_ble_evt->header.evt_id = 0x32
    0> <info> app: p_ble_evt->header.evt_id = 0x32
    0> <info> app: p_ble_evt->header.evt_id = 0x32
    0> <info> app: p_ble_evt->header.evt_id = 0x32
    0> <info> app: p_ble_evt->header.evt_id = 0x33
    0> <info> app: p_ble_evt->header.evt_id = 0x33
    0> <info> ble_ancs_c: Control Point Characteristic found.
    0> <info> ble_ancs_c: Notification point Characteristic found.
    0> <info> ble_ancs_c: Data Source Characteristic found.
    0> <info> ble_ancs_c: Enable Notification Source notifications. writing to handle: 41 
    0> <info> ble_ancs_c: Enable Data Source notifications. Writing to handle: 44 
    0> <info> app: p_ble_evt->header.evt_id = 0x33
    0> <info> app: p_ble_evt->header.evt_id = 0x38		//Write Response event
    0> <info> app: p_ble_evt->header.evt_id = 0x38
    0> <info> app: p_ble_evt->header.evt_id = 0x38
    0> <info> app: 
    0> Notification
    0> <info> app: Event:       Added
    0> <info> app: Category ID: Social
    0> <info> app: Category Cnt:1
    0> <info> app: UID:         0
    0> <info> app: Flags:
    0> <info> app:  Silent
    0> <info> app:  Pre-existing
    0> <info> app:  Negative Action
    0> <info> app: p_ble_evt->header.evt_id = 0x39		//Handle Value Notification or Indication event
    0> <info> app: 
    0> Notification
    0> <info> app: Event:       Added
    0> <info> app: Category ID: Social
    0> <info> app: Category Cnt:2
    0> <info> app: UID:         1
    0> <info> app: Flags:
    0> <info> app:  Silent
    0> <info> app:  Pre-existing
    0> <info> app:  Negative Action
    0> <info> app: p_ble_evt->header.evt_id = 0x39
    0> <info> app: p_ble_evt->header.evt_id = 0x12

     Thank you for any reply.

  • Hi, 

     

    Could you describe in more detail how do you test again ? How is it related to DFU ? 

    If you simply test softdevice+ancs (no bootloader) what do you see ?

Reply Children
Related