Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of nRF51822 by
ble_conn_params_init_t Struct Reference
[Connection Parameters Negotiation]
Connection Parameters Module init structure. More...
#include <ble_conn_params.h>
Data Fields | |
ble_gap_conn_params_t * | p_conn_params |
Pointer to the connection parameters desired by the application. | |
uint32_t | first_conn_params_update_delay |
Time from initiating event (connect or start of notification) to first time sd_ble_gap_conn_param_update is called (in number of timer ticks). | |
uint32_t | next_conn_params_update_delay |
Time between each call to sd_ble_gap_conn_param_update after the first (in number of timer ticks). | |
uint8_t | max_conn_params_update_count |
Number of attempts before giving up the negotiation. | |
uint16_t | start_on_notify_cccd_handle |
If procedure is to be started when notification is started, set this to the handle of the corresponding CCCD. | |
bool | disconnect_on_fail |
Set to TRUE if a failed connection parameters update shall cause an automatic disconnection, set to FALSE otherwise. | |
ble_conn_params_evt_handler_t | evt_handler |
Event handler to be called for handling events in the Connection Parameters. | |
ble_srv_error_handler_t | error_handler |
Function to be called in case of an error. |
Detailed Description
Connection Parameters Module init structure.
This contains all options and data needed for initialization of the connection parameters negotiation module.
Definition at line 70 of file ble_conn_params.h.
Field Documentation
bool disconnect_on_fail |
Set to TRUE if a failed connection parameters update shall cause an automatic disconnection, set to FALSE otherwise.
Definition at line 77 of file ble_conn_params.h.
Function to be called in case of an error.
Definition at line 79 of file ble_conn_params.h.
Event handler to be called for handling events in the Connection Parameters.
Definition at line 78 of file ble_conn_params.h.
uint32_t first_conn_params_update_delay |
Time from initiating event (connect or start of notification) to first time sd_ble_gap_conn_param_update is called (in number of timer ticks).
Definition at line 73 of file ble_conn_params.h.
uint8_t max_conn_params_update_count |
Number of attempts before giving up the negotiation.
Definition at line 75 of file ble_conn_params.h.
uint32_t next_conn_params_update_delay |
Time between each call to sd_ble_gap_conn_param_update after the first (in number of timer ticks).
Recommended value 30 seconds as per BLUETOOTH SPECIFICATION Version 4.0.
Definition at line 74 of file ble_conn_params.h.
Pointer to the connection parameters desired by the application.
When calling ble_conn_params_init, if this parameter is set to NULL, the connection parameters will be fetched from host.
Definition at line 72 of file ble_conn_params.h.
uint16_t start_on_notify_cccd_handle |
If procedure is to be started when notification is started, set this to the handle of the corresponding CCCD.
Set to BLE_GATT_HANDLE_INVALID if procedure is to be started on connect event.
Definition at line 76 of file ble_conn_params.h.
Generated on Tue Jul 12 2022 21:00:19 by
