BlueToe
an alternative GATT/BLE implementation
|
adds the abillity to set a channel map for advertising More...
#include <bluetoe/link_layer/include/bluetoe/advertising.hpp>
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. | |
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.
|
inline |
removes the channel from the map.
Make sure to have at least one remaining channel when starting advertising.