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

adds the abillity to set a channel map for advertising More...

#include <bluetoe/link_layer/include/bluetoe/advertising.hpp>

Inheritance diagram for bluetoe::link_layer::variable_advertising_channel_map:

Public Member Functions

void add_channel_to_advertising_channel_map (unsigned channel)
 adds the given channel to the map
 
void remove_channel_from_advertsing_channel_map (unsigned channel)
 removes the channel from the map.
 

Detailed Description

adds the abillity to set a channel map for advertising

Using this type as an option to the link_layer, adds the documented functions to the link_layer.

By default, all 3 channels are enabled. Setting the channel map to empty is not supported.

It is not supported to change the channel map during advertising.

Member Function Documentation

◆ remove_channel_from_advertsing_channel_map()

void bluetoe::link_layer::variable_advertising_channel_map::remove_channel_from_advertsing_channel_map ( unsigned  channel)
inline

removes the channel from the map.

Make sure to have at least one remaining channel when starting advertising.


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