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

S120 Multilink Central app connects, then very quickly disconnects (Reason: BLE_HCI_CONN_FAILED_TO_BE_ESTABLISHED)

I have taken the S120 app, and am trying to have it connect to an external peripheral (not the provided S120 Multilink Peripheral app)

The S120 app successfully discovers the peripheral's advertising, and proceeds to establish a connection, and perform service discovery.

But very quickly, the S120 receives a connection disconnect event, with reason code BLE_HCI_CONN_FAILED_TO_BE_ESTABLISHED.

Application Log is as follows:

[APPL]:[0x00] >> DM_EVT_CONNECTION
	[APPL]:[BA 49 B1 EB D7 90]: Connection Established

	[APPL]:[CI 0x00]: Requesting GATT client create
	[DB]: Starting discovery of service with UUID 0xffe0 for Connection handle 0
[APPL]:[0x00] << DM_EVT_CONNECTION

[APPL]:[0x00] >> DM_EVT_DISCONNECTION
[APPL]:[0x00] << DM_EVT_DISCONNECTION

No service discovery activites appear to happen because of the immediate disconnect.

At moment of disconnect, I captured the p_event data structure ...

p_event 0x20003f44 event_id 18 event_param {...} p_gap_param 0x20002e48 conn_handle 0 params {...} connected {...} peer_addr {...} addr_type 0x3e addr 0x20002e4b addr[0] 0xba addr[1] 0x49 addr[2] 0xb1 addr[3] 0xeb addr[4] 0xd7 addr[5] 0x90 irk_match 0 irk_match_idx 0 conn_params {...} min_conn_interval 48 max_conn_interval 48 slave_latency 0 conn_sup_timeout 400 disconnected {...} reason 0x3e conn_param_update {...} sec_params_request {...} sec_info_request {...} passkey_display {...} auth_key_request {...} auth_status {...} conn_sec_update {...} timeout {...} rssi_changed {...} adv_report {...} sec_request {...} conn_param_update_request {...}

What is not clear to me is what would cause it to reject a connection request. With my peripheral unit, I am able to connect to it perfectly fine with a tool such as BlueGiga's BLEGUI app.

Any help is appreciated.

Parents Reply Children
No Data
Related