BlueToe
an alternative GATT/BLE implementation
Loading...
Searching...
No Matches
Public Member Functions | List of all members
bluetoe::l2cap::signaling_channel< Options > Class Template Reference

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
 

Detailed Description

template<typename ... Options>
class bluetoe::l2cap::signaling_channel< Options >

very basic l2cap signaling channel implementation

Currently the implementation allows just for sending connection parameter update requests.

Member Function Documentation

◆ connection_parameter_update_request()

template<typename ... Options>
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.


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