#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.
|
| |
| void | loop () |
| | Process periodical events, such as receiving packets.
|
| |
| void | setRxCallback (RxCallback cb, void *ctx) |
| | Set incoming packet callback.
|
| |
| bool | send (const uint8_t *pkt, size_t pktLen, uint64_t endpointId=0) |
| | Synchronously transmit a packet.
|
| |
| static constexpr size_t | DEFAULT_BUFLEN = 1500 |
| |
◆ BleServerTransportBase()
| esp8266ndn::BleServerTransportBase::BleServerTransportBase |
( |
size_t |
mtu | ) |
|
|
explicitprotected |
◆ doLoop()
| void esp8266ndn::BleServerTransportBase::doLoop |
( |
| ) |
|
|
overrideprivatevirtual |
◆ 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: