BlueToe
an alternative GATT/BLE implementation
|
if this options is given to the link layer, the link layer will not start to advertise automatically, when started or when disconnected. More...
#include <bluetoe/link_layer/include/bluetoe/advertising.hpp>
Public Member Functions | |
void | start_advertising () |
starts to advertise. | |
void | start_advertising (unsigned count) |
same as start_advertising(), but the link layer will automatically stop to advertise after count advertising events. | |
void | stop_advertising () |
stop advertising | |
if this options is given to the link layer, the link layer will not start to advertise automatically, when started or when disconnected.
This option will add the following functions to the link_layer: void start_advertising() void stop_advertising() bool is_advertising()
void bluetoe::link_layer::no_auto_start_advertising::start_advertising | ( | ) |
starts to advertise.
If the device is currently connected and only one connection is supported, the link layer will terminate the connection and then start to advertise.