nl::Ble::WoBle

摘要

构造函数和析构函数

WoBle(void)
~WoBle(void)

公共类型

@17 枚举
State_t 枚举

公共静态属性

sDefaultFragmentSize
const uint16_t
sMaxFragmentSize
const uint16_t

公共函数

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

公共类型

17 岁

 @17

State_t

 State_t

公共静态属性

sDefaultFragmentSize

const uint16_t sDefaultFragmentSize

sMaxFragmentSize

const uint16_t sMaxFragmentSize

公共函数

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(
  void
)