nl::Ble::WoBle

Summary

Constructors and Destructors

WoBle(void)
~WoBle(void)

Public types

@339 enum
State_t enum

Public static attributes

sDefaultFragmentSize
const uint16_t
sMaxFragmentSize
const uint16_t

Public functions

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)
PacketBuffer *
RxState(void)
State_t
SetRxFragmentSize(uint8_t size)
void
SetTxFragmentSize(uint8_t size)
void
TxPacket(void)
PacketBuffer *
TxState(void)
State_t
UnitTest(void)
bool
UnitTest1(void)
bool
UnitTest2(void)
bool
UnitTest3(void)
bool
UnitTest4(void)
bool
UnitTest5(void)
bool
UnitTest6(void)
bool

Public types

@339

 @339

State_t

 State_t

Public static attributes

sDefaultFragmentSize

const uint16_t sDefaultFragmentSize

sMaxFragmentSize

const uint16_t sMaxFragmentSize

Public functions

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
)

UnitTest

bool UnitTest(
  void
)

UnitTest1

bool UnitTest1(
  void
)

UnitTest2

bool UnitTest2(
  void
)

UnitTest3

bool UnitTest3(
  void
)

UnitTest4

bool UnitTest4(
  void
)

UnitTest5

bool UnitTest5(
  void
)

UnitTest6

bool UnitTest6(
  void
)

WoBle

 WoBle(
  void
)

~WoBle

 ~WoBle(
  void
)