Symbols
loading...
Files
loading...

enc_adv_data_prph sample sample

enc_adv_data_prph sample is a sample project defining the following symbols:

Most used functions

Name
Location
Summary
Logs information about a connection to the console.
Enables advertising with the following parameters: o General discoverable mode. o Undirected connectable mode.
Access callback whenever a characteristic/descriptor is read or written to. Here reads and writes need to be handled. ctxt->op tells weather the operation is read or write and weather it is on a characteristic or descriptor, ctxt->dsc->uuid tells which characteristic/descriptor is accessed. attr_handle give the value handle of the attribute being accessed. Accordingly do: Append the value to ctxt->om if the operation is READ Write ctxt->om to the value if the operation is WRITE
The nimble host executes this callback when a GAP event occurs. The application associates a GAP event callback with each connection that forms. enc_adv_data_prph uses the same callback for all connections.

Other commonly used symbols

Name
Location
Summary

Dependencies

enc_adv_data_prph sample depends on the following libraries: