BlueToe
an alternative GATT/BLE implementation
Loading...
Searching...
No Matches
Public Member Functions | List of all members
bluetoe::link_layer::no_auto_start_advertising Class Reference

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
 

Detailed Description

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()

See also
auto_start_advertising

Member Function Documentation

◆ start_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.


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