C/C++ API Reference
Loading...
Searching...
No Matches
pw::bluetooth::low_energy::ChannelListener Class Referenceabstract

Overview

Represents a service or protocol that accepts incoming channels for a PSM. Destroying this object will cease accepting any incoming channels, but existing established channels will not be affected. Additionally, once this object is destroyed the implementation is free to reuse the PSM that was previously assigned for this instance.

Public Types

using Ptr = internal::RaiiPtr< ChannelListener, &ChannelListener::Release >
 

Public Member Functions

virtual async2::Poll< Channel::Ptr > PendChannel (async2::Waker &&waker)=0
 Poll to receive incoming channels.
 
virtual Psm psm ()=0
 The protocol/service multiplexer for this listener.
 

Private Member Functions

virtual void Release ()=0
 

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