5#ifndef NIMBLE_CPP_L2CAPSERVER_H_
6#define NIMBLE_CPP_L2CAPSERVER_H_
8#if CONFIG_BT_ENABLED && CONFIG_BT_NIMBLE_L2CAP_COC_MAX_NUM
13class NimBLEL2CAPChannel;
14class NimBLEL2CAPChannelCallbacks;
22class NimBLEL2CAPServer {
29 NimBLEL2CAPChannel* createService(
const uint16_t psm,
const uint16_t mtu, NimBLEL2CAPChannelCallbacks* callbacks);
34 std::vector<NimBLEL2CAPChannel*> services;
36 friend class NimBLEL2CAPChannel;
A model of a BLE Device from which all the BLE roles are created.
Definition NimBLEDevice.h:122