BlueToe
an alternative GATT/BLE implementation
|
very basic l2cap signaling channel implementation More...
#include <bluetoe/link_layer/include/bluetoe/l2cap_signaling_channel.hpp>
Public Member Functions | |
template<typename ConnectionData > | |
void | l2cap_input (const std::uint8_t *input, std::size_t in_size, std::uint8_t *output, std::size_t &out_size, ConnectionData &) |
input from the l2cap layer | |
template<typename ConnectionData > | |
void | l2cap_output (std::uint8_t *output, std::size_t &out_size, ConnectionData &) |
output to the l2cap layer | |
bool | connection_parameter_update_request (std::uint16_t interval_min, std::uint16_t interval_max, std::uint16_t latency, std::uint16_t timeout) |
queues a connection parameter update request. | |
constexpr std::size_t | channel_mtu_size () const |
supported MTU size | |
very basic l2cap signaling channel implementation
Currently the implementation allows just for sending connection parameter update requests.
bool bluetoe::l2cap::signaling_channel< Options >::connection_parameter_update_request | ( | std::uint16_t | interval_min, |
std::uint16_t | interval_max, | ||
std::uint16_t | latency, | ||
std::uint16_t | timeout | ||
) |
queues a connection parameter update request.
Function returns true on success. If the a request is still queued, but was not responded jet, the function will return false.