nl::Ble::WoBle

Zusammenfassung

Konstruktoren und Zerstörer

WoBle(void)
~WoBle(void)

Öffentliche Typen

@17 enum
State_t enum

Öffentliche statische Attribute

sDefaultFragmentSize
const uint16_t
sMaxFragmentSize
const uint16_t

Öffentliche Funktionen

ClearRxPacket(void)
bool
ClearTxPacket(void)
bool
EncodeStandAloneAck(PacketBuffer *data)
ExpectingAck(void) const
bool
GetAndIncrementNextTxSeqNum(void)
SequenceNumber_t
GetAndRecordRxAckSeqNum(void)
SequenceNumber_t
GetLastReceivedSequenceNumber(void)
SequenceNumber_t
GetNewestUnackedSentSequenceNumber(void)
SequenceNumber_t
GetRxFragmentSize(void)
uint16_t
GetTxFragmentSize(void)
uint16_t
HandleCharacteristicReceived(PacketBuffer *data, SequenceNumber_t & receivedAck, bool & didReceiveAck)
HandleCharacteristicSend(PacketBuffer *data, bool send_ack)
bool
HasUnackedData(void) const
bool
Init(void *an_app_state, bool expect_first_ack)
LogState(void) const
void
LogStateDebug(void) const
void
RxPacket(void)
RxState(void)
State_t
SetRxFragmentSize(uint8_t size)
void
SetTxFragmentSize(uint8_t size)
void
TxPacket(void)
TxState(void)
State_t

Öffentliche Typen

@17

 @17

State_t

 State_t

Öffentliche statische Attribute

sDefaultFragmentSize

const uint16_t sDefaultFragmentSize

sMaxFragmentSize

const uint16_t sMaxFragmentSize

Öffentliche Funktionen

ClearRxPacket

bool ClearRxPacket(
  void
)

ClearTxPacket

bool ClearTxPacket(
  void
)

EncodeStandAloneAck

BLE_ERROR EncodeStandAloneAck(
  PacketBuffer *data
)

ExpectingAck

bool ExpectingAck(
  void
) const 

GetAndIncrementNextTxSeqNum

SequenceNumber_t GetAndIncrementNextTxSeqNum(
  void
)

GetAndRecordRxAckSeqNum

SequenceNumber_t GetAndRecordRxAckSeqNum(
  void
)

GetLastReceivedSequenceNumber

SequenceNumber_t GetLastReceivedSequenceNumber(
  void
)

GetNewestUnackedSentSequenceNumber

SequenceNumber_t GetNewestUnackedSentSequenceNumber(
  void
)

GetRxFragmentSize

uint16_t GetRxFragmentSize(
  void
)

GetTxFragmentSize

uint16_t GetTxFragmentSize(
  void
)

HandleCharacteristicReceived

BLE_ERROR HandleCharacteristicReceived(
  PacketBuffer *data,
  SequenceNumber_t & receivedAck,
  bool & didReceiveAck
)

HandleCharacteristicSend

bool HandleCharacteristicSend(
  PacketBuffer *data,
  bool send_ack
)

HasUnackedData

bool HasUnackedData(
  void
) const 

Init

BLE_ERROR Init(
  void *an_app_state,
  bool expect_first_ack
)

LogState

void LogState(
  void
) const 

LogStateDebug

void LogStateDebug(
  void
) const 

RxPacket

PacketBuffer * RxPacket(
  void
)

RxState

State_t RxState(
  void
)

SetRxFragmentSize

void SetRxFragmentSize(
  uint8_t size
)

SetTxFragmentSize

void SetTxFragmentSize(
  uint8_t size
)

TxPacket

PacketBuffer * TxPacket(
  void
)

TxState

State_t TxState(
  void
)

WoBle

 WoBle(
  void
)

~WoBle

 ~WoBle(
  void
)