-
Notifications
You must be signed in to change notification settings - Fork 303
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Zigbee Specification revamp #1042
Conversation
@Koenkk If you can review this commit in great details. It drastically changes the code for clusters/custom clusters lookup. We need to make sure it still matches the way you designed custom clusters to be (i.e. that tests aren't testing this wrong). 😅 x10000 x10000 |
Thanks! |
import {ZSpec, Zcl, Zdo} from 'zigbee-herdsman'
ZSpec.ZIGBEE_REVISION
ZSpec.BroadcastAddress.RX_ON_WHEN_IDLE
ZSpec.Utils.channelsToUInt32Mask()
Zdo.ZDO_ENDPOINT
Zdo.LeaveRequestFlags.WITHOUT_REJOIN
Zdo.Utils.getServerMask()
Zdo.Status.SUCCESS
andnew Zdo.StatusError(Zdo.Status.INV_REQUESTTYPE)
Zcl.POWER_SOURCES
Zcl.DataType.UINT8
Zcl.Utils.isClusterName()
Zcl.Status.SUCCESS
andnew Zcl.StatusError(Zcl.Status.FAILURE)
Zcl.Frame
Zcl.Header
ParameterCondition
,DataTypeClass
and replace hardcoded strings in Clusters/Foundation.ParameterDefinition
, and more...CHAR_STR
to its own data typeMI_STRUCT
.TODO: