Symbols
loading...
Files
loading...
SourceVuESP-IDF Framework and Examplesproximity_sensor_cent sample

proximity_sensor_cent sample sample

proximity_sensor_cent sample is a sample project defining the following symbols:

Most used functions

Name
Location
Summary
Initiates the GAP general discovery procedure.
The nimble host executes this callback when a GAP event occurs. The application associates a GAP event callback with each connection that is established. ble_prox_cent uses the same callback for all connections.
Called when service discovery of the specified peer has completed.
Performs following GATT operations against the specified peer: 1. Writes the alert level characteristic. 2. After write is completed, it reads the Tx Power Level characteristic. If the peer does not support a required service, characteristic, or descriptor, then the peer lied when it claimed support for the link loss service! When this happens, or if a GATT procedure fails, this function immediately terminates the connection.
Application callback. Called when the write of alert level char characteristic has completed.
Connects to the sender of the specified advertisement of it looks interesting. A device is "interesting" if it advertises connectability and support for the Proximity Sensor service.

Other commonly used symbols

Name
Location
Summary

Dependencies

proximity_sensor_cent sample depends on the following libraries: