![]() |
nrfxlib API 3.3.99
|
LE Enhanced Connection Complete [v1]. More...
#include <sdc_hci_cmd_le.h>
Data Fields | |
| uint8_t | status |
| uint16_t | conn_handle |
| uint8_t | role |
| uint8_t | peer_address_type |
| uint8_t | peer_address [6] |
| uint8_t | local_resolvable_private_address [6] |
| uint8_t | peer_resolvable_private_address [6] |
| uint16_t | conn_interval |
| uint16_t | peripheral_latency |
| uint16_t | supervision_timeout |
| uint8_t | central_clock_accuracy |
LE Enhanced Connection Complete [v1].
The description below is extracted from Core_v6.3, Vol 4, Part E, Section 7.7.65.10
This event indicates to both of the Hosts forming the connection that a new connection has been created. Upon the creation of the connection a Connection_Handle shall be assigned by the Controller, and passed to the Host in this event. If the connection creation fails, this event shall be provided to the Host that had issued the HCI_LE_Create_Connection or HCI_LE_Extended_Create_Connection command. If this event is unmasked and the HCI_LE_Connection_Complete event is unmasked, only the HCI_LE_Enhanced_Connection_Complete event is sent when a new connection has been created.
This event indicates to the Host that issued an HCI_LE_Create_Connection or HCI_LE_Extended_Create_Connection command and received an HCI_Command_Status event if the connection creation failed or was successful.
The Peer_Address, Peer_Resolvable_Private_Address, and Local_Resolvable_Private_Address shall always reflect the most recent packet sent and received on air.
The Central_Clock_Accuracy parameter is only valid for a Peripheral. On a Central, this parameter shall be set to 0x00.
If the connection is established from periodic advertising with responses and Role is 0x00, then the Advertising_Handle parameter shall be set according to the periodic advertising train the connection was established from. If the connection is established from periodic advertising with responses and Role is 0x01, then the Sync_Handle parameter shall be set according to the periodic advertising train the connection was established from. In all other circumstances, Advertising_Handle and Sync_Handle shall be set to No Advertising_Handle and No Sync_Handle and shall be ignored by the Host.