Enables advertising with the following parameters: o General discoverable mode. o Undirected connectable mode.
Initiates the GAP general discovery procedure.
Connects to the sender of the specified advertisement.The advertisement must contain its full name which we will compare with 'BLE_PEER_NAME'.
The nimble host executes this callback when a GAP event occurs. The application associates a GAP event callback with each connection that is established. This callback will be only used by the central.
Called when service discovery of the specified peer has completed.
The nimble host executes this callback when a GAP event occurs. The application associates a GAP event callback with each connection that is established. This callback will be only used by the peripheral.