nl::Weave::Profiles::DataManagement_Current::StatusList::Parser

สรุป

การสืบทอด

รับค่าจาก: nl::Weave::Profiles::DataManagement_Current::ListParserBase

ฟังก์ชันสาธารณะ

CheckSchemaValidity(void) const
GetProfileIDAndStatusCode(uint32_t *const apProfileID, uint16_t *const apStatusCode)
อ่าน ProfileID และ StatusCode จาก StatusElement ปัจจุบัน

ฟังก์ชันสาธารณะ

CheckSchemaValidity

WEAVE_ERROR CheckSchemaValidity(
  void
) const 

GetProfileIDAndStatusCode

WEAVE_ERROR GetProfileIDAndStatusCode(
  uint32_t *const apProfileID,
  uint16_t *const apStatusCode
)

อ่าน ProfileID และ StatusCode จาก StatusElement ปัจจุบัน

รายละเอียด
พารามิเตอร์
[out] apProfileID
ชี้ไปที่พื้นที่เก็บข้อมูลสำหรับ ProfileID
[out] apStatusCode
ชี้ไปที่พื้นที่เก็บข้อมูลสำหรับรหัสสถานะ
การส่งคืน
โค้ด WEAVE_ERROR ที่แสดงผลโดยออบเจ็กต์ Weave::TLV WEAVE_END_OF_TLV หากไม่มีองค์ประกอบใดองค์ประกอบหนึ่ง WEAVE_ERROR_WRONG_TLV_TYPE หากองค์ประกอบเป็นประเภทที่ไม่ถูกต้อง