Google is committed to advancing racial equity for Black communities.
See how.
nl::Ble::WoBle
สรุป
ประเภทสาธารณะ
@17
@17
สถานะ
State_t
แอตทริบิวต์สาธารณะแบบคงที่
ขนาดขนาดเริ่มต้น
const uint16_t sDefaultFragmentSize
ขนาด sMaxFragment
const uint16_t sMaxFragmentSize
ฟังก์ชันสาธารณะ
ClearRxPacket
bool ClearRxPacket(
void
)
ClearTxPacket
bool ClearTxPacket(
void
)
โปรแกรมเปลี่ยนไฟล์StandAloneAck
BLE_ERROR EncodeStandAloneAck(
PacketBuffer *data
)
คาดหวัง
bool ExpectingAck(
void
) const
GetAndIncrementNextTxSeqNum
SequenceNumber_t GetAndIncrementNextTxSeqNum(
void
)
GetAndRecordRxAckSeqNum
SequenceNumber_t GetAndRecordRxAckSeqNum(
void
)
หมายเลขการรับล่าสุด
SequenceNumber_t GetLastReceivedSequenceNumber(
void
)
ใหม่ที่สุดที่มีการส่งตัวเลขที่ไม่ซ้ํากัน
SequenceNumber_t GetNewestUnackedSentSequenceNumber(
void
)
ขนาด GetRxFragment
uint16_t GetRxFragmentSize(
void
)
ขนาด GetTxFragment
uint16_t GetTxFragmentSize(
void
)
ได้รับลักษณะแฮนเดิล
BLE_ERROR HandleCharacteristicReceived(
PacketBuffer *data,
SequenceNumber_t & receivedAck,
bool & didReceiveAck
)
แฮนเดิลลักษณะเฉพาะ
bool HandleCharacteristicSend(
PacketBuffer *data,
bool send_ack
)
ไม่ได้แฮชข้อมูล
bool HasUnackedData(
void
) const
เริ่ม
BLE_ERROR Init(
void *an_app_state,
bool expect_first_ack
)
สถานะการบันทึก
void LogState(
void
) const
LogStateDebug
void LogStateDebug(
void
) const
แพ็กเกจ RxPacket
PacketBuffer * RxPacket(
void
)
สถานะ RxState
State_t RxState(
void
)
ตั้งค่าขนาด RXFragment
void SetRxFragmentSize(
uint8_t size
)
ตั้งค่าขนาด TxFragment
void SetTxFragmentSize(
uint8_t size
)
แพ็กเกจ TxPacket
PacketBuffer * TxPacket(
void
)
เท็กซัส
State_t TxState(
void
)
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates. Thread is a registered trademark of the Thread Group, Inc.
Last updated 2019-10-28 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"ไม่มีข้อมูลที่ฉันต้องการ"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"ซับซ้อนเกินไป/มีหลายขั้นตอนมากเกินไป"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"ล้าสมัย"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"ปัญหาเกี่ยวกับการแปล"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"ตัวอย่าง/ปัญหาเกี่ยวกับโค้ด"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"อื่นๆ"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"เข้าใจง่าย"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"แก้ปัญหาของฉันได้"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"อื่นๆ"
}]