![]() |
Bluetooth LE Profile API document
Bluetooth LE Profile API document Rev.1.00 [May 22, 2020]
|
Connection parameters included in connection interval, slave latency, supervision timeout, ce length. More...
Data Fields | |
uint16_t | conn_intv_min |
Minimum connection interval. More... | |
uint16_t | conn_intv_max |
Maximum connection interval. More... | |
uint16_t | conn_latency |
Slave latency. More... | |
uint16_t | sup_to |
Supervision timeout. More... | |
uint16_t | min_ce_length |
Minimum CE Length. More... | |
uint16_t | max_ce_length |
Maximum CE Length. More... | |
Connection parameters included in connection interval, slave latency, supervision timeout, ce length.
This structure is used in R_BLE_GAP_CreateConn() and .\n
Set the fields in this structure to match the following condition.
Supervision_timeout(ms) >= (1 + conn_latency) * conn_intv_max_Time(ms)
conn_intv_max_Time(ms) = conn_intv_max * 1.25
Supervision_timeout(ms) = sup_to * 10
uint16_t st_ble_gap_conn_param_t::conn_intv_min |
Minimum connection interval.
Time(ms) = conn_intv_min * 1.25.
Valid range is 0x0006 - 0x0C80.
uint16_t st_ble_gap_conn_param_t::conn_intv_max |
Maximum connection interval.
Time(ms) = conn_intv_max * 1.25.
Valid range is 0x0006 - 0x0C80.
uint16_t st_ble_gap_conn_param_t::conn_latency |
Slave latency.
Valid range is 0x0000 - 0x01F3.
uint16_t st_ble_gap_conn_param_t::sup_to |
Supervision timeout.
Time(ms) = sup_to * 10.
Valid range is 0x000A - 0x0C80.
uint16_t st_ble_gap_conn_param_t::min_ce_length |
Minimum CE Length.
It is possible to establish both high throughput and power saving to set 0xFFFF to this parameter.
When this parameter is 0xFFFF and the master has multiple data packets to send, it can successively transmit the packets within a connection event.
Similarly, when the slave has multiple data packets to send,
the master can successively receive the packets within a connection event.
If priority is given to the power saving, set 0x0000 to this parameter.
When this parameter is 0x0000 and the master has multiple data packets to send, it transmits only one packet within a connection event.
Similarly, when the slave has multiple data packets to send,
the master receives only one packet within a connection event.
Valid range is 0x0000 - 0xFFFF.
uint16_t st_ble_gap_conn_param_t::max_ce_length |
Maximum CE Length.
It is possible to establish both high throughput and power saving to set 0xFFFF to this parameter.
When this parameter is 0xFFFF and the master has multiple data packets to send, it can successively transmit the packets within a connection event.
Similarly, when the slave has multiple data packets to send,
the master can successively receive the packets within a connection event.
If priority is given to the power saving, set 0x0000 to this parameter.
When this parameter is 0x0000 and the master has multiple data packets to send, it transmits only one packet within a connection event.
Similarly, when the slave has multiple data packets to send,
the master receives only one packet within a connection event.
Valid range is 0x0000 - 0xFFFF.