-
Notifications
You must be signed in to change notification settings - Fork 0
ZigBee Tester Interface
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.
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.
| 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 |
| Type | Name | Description |
|---|---|---|
| bool | Status | True if the operation was successful |
ZigBee.Write(ComplianceId, ModelId, ExpirationDate, ComplianceData);