BlueToe
an alternative GATT/BLE implementation
|
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>
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.