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

Device has at least two buttons that can be easily mapped to 'yes' and 'no' or the device has a mechanism whereby the user can indicate either 'yes' or 'no'. More...

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

Detailed Description

template<typename T, T & Obj>
struct bluetoe::pairing_yes_no< T, Obj >

Device has at least two buttons that can be easily mapped to 'yes' and 'no' or the device has a mechanism whereby the user can indicate either 'yes' or 'no'.

The parameter T have to be a class type with following none static member function:

void sm_pairing_yes_no( pairing_yes_no_response& response );

The passed response parameter can be stored to respond later to the question or the yes_no_response() function of the response can be called directly.

See also
pairing_keyboard
pairing_no_input

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