Application support module for initializing the SoftDevice Handler, BLE stack, Generic Access Profile (GAP), and the Connection Parameters Negotiation module. More...
Functions | |
void | ble_stack_init (void) |
Initializes the SoftDevice Handler and the BLE stack, registers Mesh handler for SoC events. | |
void | gap_params_init (void) |
Initializes the Generic Attribute Profile (GAP). More... | |
void | conn_params_init (void) |
Initializes the Connection Parameters Negotiation module. More... | |
Application support module for initializing the SoftDevice Handler, BLE stack, Generic Access Profile (GAP), and the Connection Parameters Negotiation module.
The GAP and the Connection Parameters Negotiation module are required for GATT provisioning and Proxy features.
void gap_params_init | ( | void | ) |
Initializes the Generic Attribute Profile (GAP).
This function sets up all the necessary GAP (Generic Access Profile) parameters of the device, including the device name and the preferred connection parameters.
void conn_params_init | ( | void | ) |
Initializes the Connection Parameters Negotiation module.
Registers the handler for the Connection Parameters Negotiation module events that initializes disconnection if the Connection Parameters Negotiation procedure is failed.