#include <ble-server-transport.hpp>
Inherits ndnph::transport::Transport, and ndnph::transport::DynamicRxQueueMixin.
|
using | RxCallback = void(*)(void *ctx, const uint8_t *pkt, size_t pktLen, uint64_t endpointId) |
|
virtual | ~Transport ()=default |
|
bool | isUp () const |
| Determine whether transport is connected. More...
|
|
void | loop () |
| Process periodical events, such as receiving packets. More...
|
|
void | setRxCallback (RxCallback cb, void *ctx) |
| Set incoming packet callback. More...
|
|
bool | send (const uint8_t *pkt, size_t pktLen, uint64_t endpointId=0) |
| Synchronously transmit a packet. More...
|
|
static constexpr size_t | DEFAULT_BUFLEN = 1500 |
|
◆ BleServerTransportBase()
esp8266ndn::BleServerTransportBase::BleServerTransportBase |
( |
size_t |
mtu | ) |
|
|
explicitprotected |
◆ handleReceive()
void esp8266ndn::BleServerTransportBase::handleReceive |
( |
const uint8_t * |
pkt, |
|
|
size_t |
pktLen, |
|
|
uint64_t |
endpointId |
|
) |
| |
|
protected |
The documentation for this class was generated from the following file: