BlueToe
an alternative GATT/BLE implementation
|
interface to provide OOB data to the pairing process More...
#include <bluetoe/sm/include/bluetoe/oob_authentication.hpp>
interface to provide OOB data to the pairing process
Provides a mean to install a callback that is called, once a pairing request is accepted, to provide the OOB key for the requesting device.
The parameter T have to be a class type with following none static member function:
std::pair< bool, bluetoe::oob_authentication_data_t > sm_oob_authentication_data( const bluetoe::link_layer::device_address& address );
If the first member of the returned pair is true, the second member contains the OOB data for the requesting device identified by the given address.
This option is ment to be passed as a link layer option to the selected device binding.