Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
nl::Ble::WoBle
Podsumowanie
Typy publiczne
|
@17
|
enum | typ wyliczeniowy |
State_t
|
enum | typ wyliczeniowy |
Typy publiczne
@17
@17
State_t
State_t
Publiczne atrybuty statyczne
sDefaultFragmentSize
const uint16_t sDefaultFragmentSize
sMaxFragmentSize
const uint16_t sMaxFragmentSize
Funkcje publiczne
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
Zainicjuj
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
)
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych. Thread jest zastrzeżonym znakiem towarowym firmy Thread Group, Inc.
Ostatnia aktualizacja: 2023-12-02 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Brak potrzebnych mi informacji"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Zbyt skomplikowane / zbyt wiele czynności do wykonania"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Nieaktualne treści"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"Problem z tłumaczeniem"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Problem z przykładami/kodem"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Inne"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Łatwo zrozumieć"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Rozwiązało to mój problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Inne"
}]