Symbols
loading...
Files
loading...

htp_cent sample sample

htp_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_htp_cent uses the same callback for all connections.
Called when service discovery of the specified peer has completed.
Application callback. Called when the attempt to subscribe to notifications for the HTP intermediate temperature characteristic has completed.
Application callback. Called when the attempt to subscribe to notifications for the HTP temperature measurement 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 Health Thermometer service.
Application callback. Called when the write to the HTP measurement interval characteristic has completed.
Performs three GATT operations against the specified peer: 1. Reads the HTP temperature type characteristic. 2. After read is completed, writes the HTP temperature measurement interval characteristic. 3. After write is completed, subscribes to notifications for the HTP intermediate temperature and temperature measurement characteristic. If the peer does not support a required service, characteristic, or descriptor, then the peer lied when it claimed support for the health thermometer service! When this happens, or if a GATT procedure fails, this function immediately terminates the connection.
Application callback. Called when the read of the HTP temperature type characteristic has completed.

Other commonly used symbols

Name
Location
Summary

Dependencies

htp_cent sample depends on the following libraries: