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

provides data to be advertised at runtime More...

#include <bluetoe/custom_advertising.hpp>

Public Member Functions

void set_runtime_custom_advertising_data (const std::uint8_t *begin, std::size_t buffer_size)
 set the advertising data to be used.
 

Detailed Description

provides data to be advertised at runtime

Add the set_runtime_custom_advertising_data() function to the server. By default, the advertings data is of length 0.

Member Function Documentation

◆ set_runtime_custom_advertising_data()

void bluetoe::runtime_custom_advertising_data::set_runtime_custom_advertising_data ( const std::uint8_t *  begin,
std::size_t  buffer_size 
)
inline

set the advertising data to be used.

The function copies to the data given by begin and buffer_size into an internal buffer.


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