![]() |
Bluetooth LE Profile API document
Bluetooth LE Profile API document Rev.1.00 [May 22, 2020]
|
This structure notifies that a link has been established. More...
Data Fields | |
uint16_t | conn_hdl |
Connection handle identifying the created link. More... | |
uint8_t | role |
The role of the link. More... | |
uint8_t | remote_addr_type |
Address type of the remote device. More... | |
uint8_t | remote_addr [BLE_BD_ADDR_LEN] |
Address of the remote device. More... | |
uint8_t | local_rpa [BLE_BD_ADDR_LEN] |
Resolvable private address that local device used in connection procedure. More... | |
uint8_t | remote_rpa [BLE_BD_ADDR_LEN] |
Resolvable private address that the remote device used in connection procedure. More... | |
uint16_t | conn_intv |
Connection interval. More... | |
uint16_t | conn_latency |
Slave latency. More... | |
uint16_t | sup_to |
Supervision timeout. More... | |
uint8_t | clk_acc |
Master_Clock_Accuracy. More... | |
This structure notifies that a link has been established.
uint16_t st_ble_gap_conn_evt_t::conn_hdl |
Connection handle identifying the created link.
uint8_t st_ble_gap_conn_evt_t::role |
The role of the link.
value | description |
---|---|
0x00 | Master |
0x01 | Slave |
uint8_t st_ble_gap_conn_evt_t::remote_addr_type |
Address type of the remote device.
value | description | |
---|---|---|
0x00 | Public Address | |
0x01 | Random Address | |
0x02 | Public Identity Address. It indicates that the Controller could resolve the resolvable private address of the remote device. | |
0x03 | Random Identity Address. It indicates that the Controller could resolve the resolvable private address of the remote device. |
uint8_t st_ble_gap_conn_evt_t::remote_addr[BLE_BD_ADDR_LEN] |
Address of the remote device.
uint8_t st_ble_gap_conn_evt_t::local_rpa[BLE_BD_ADDR_LEN] |
Resolvable private address that local device used in connection procedure.
The local device address used in creating the link when the address type was set to BLE_GAP_ADDR_RPA_ID_PUBLIC or BLE_GAP_ADDR_RPA_ID_RANDOM by R_BLE_GAP_SetAdvParam() or R_BLE_GAP_CreateConn(). If the address type was set to other than BLE_GAP_ADDR_RPA_ID_PUBLIC and BLE_GAP_ADDR_RPA_ID_RANDOM, this field is set to all-zero.
uint8_t st_ble_gap_conn_evt_t::remote_rpa[BLE_BD_ADDR_LEN] |
Resolvable private address that the remote device used in connection procedure.
This field indicates the remote resolvable private address when remote_addr_type is 0x02 or 0x03. If remote_addr_type is other than 0x02 and 0x03, this field is set to all-zero.
uint16_t st_ble_gap_conn_evt_t::conn_intv |
Connection interval.
Valid range is 0x0006 - 0x0C80.
Time(ms) = conn_intv * 1.25.
uint16_t st_ble_gap_conn_evt_t::conn_latency |
Slave latency.
Valid range is 0x0000 - 0x01F3.
uint16_t st_ble_gap_conn_evt_t::sup_to |
Supervision timeout.
Valid range is 0x000A - 0x0C80.Time(ms) = sup_to * 10.
uint8_t st_ble_gap_conn_evt_t::clk_acc |
Master_Clock_Accuracy.
value | description |
---|---|
0x00 | 500ppm |
0x01 | 250ppm |
0x02 | 150ppm |
0x03 | 100ppm |
0x04 | 75ppm |
0x05 | 50ppm |
0x06 | 30ppm |
0x07 | 20ppm |