Skip to content

ZigBee Tester Interface

bradreevmx edited this page Jul 13, 2018 · 1 revision

A tester is an entity which the compliance Administrator has authorized to submit Compliance records. However, the record can only be marked as "Valid" by the administrator.

Further, any change of a valid record will result in the record being marked as invalid until the Admin rewrites the valid flag.

The tester is also prevented from writing the family tree, which is only writable by the Compliance Administrator.

API List

Write


Model Management

Write

This function is used to write a compliance record, or modify a compliance record. The normal sequence of events would be for the tester to call this function, while the Admin only needs to call the WriteValid API. If the admin calls this function, the valid flag will automatically be set to true.

Input Parameters

Type Name Description
address ComplainceId ComplianceId = hash(MfgName, MdlName, HwVer, FwVer, "ZigBee")
address ModelId Manufacturer Model ID, which is located in the DeviceInfo contract
string ExpirationDate Expiration date for the record. NULL if not applicable. Also, the record will not automatically clear the valid bit if the date has expired.
string ComplianceData JSON compliance data

Return Values

Type Name Description
bool Status True if the operation was successful

Example

ZigBee.Write(ComplianceId, ModelId, ExpirationDate, ComplianceData);

Clone this wiki locally