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

connect issue between 51822 and my andriod phone

Hi, when I run the ble_app_proximity on my 51822 board, I can connect the 51822 board with NRF Master Control APP, after a little while , 51822 disconnect with app, and trace the 51822 status,printf the disconnect reason ,the value is 13

static void on_disconnect(ble_lls_t * p_lls, ble_evt_t * p_ble_evt)
{
    uint8_t reason = p_ble_evt->evt.gap_evt.params.disconnected.reason;
    app_trace_log("disconnect reason = %x\r\n",p_ble_evt->evt.gap_evt.params.disconnected.reason);
	  simple_uart_printHEX(p_ble_evt->evt.gap_evt.params.disconnected.reason);

#define BLE_HCI_REMOTE_USER_TERMINATED_CONNECTION           0x13\

Can you give me some advice for this problem, Hardware problem or software bug?

Parents Reply Children
Related