BlueToe
an alternative GATT/BLE implementation
Loading...
Searching...
No Matches
bluetoe::oob_authentication_callback< T, Obj > Class Template Reference

interface to provide OOB data to the pairing process More...

#include <bluetoe/sm/include/bluetoe/oob_authentication.hpp>

Detailed Description

template<typename T, T & Obj>
class bluetoe::oob_authentication_callback< T, Obj >

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.


The documentation for this class was generated from the following file: