create custom cluster/endpoint and attribute HomeAutomation profile
hi everyone,
1.
是否,在Home automation profile是不行,自建cluster/endpoint and attribute.?
A.zclSampleSw_OutClusterList新增一個Out cluster, zclSampleLight_InClusterList 新增一個input cluster
B.並在zclSampleLight_CmdCallbacks 註冊callback
但都沒有在match descriptor request 出現, 及回應 ,無論是用ZCL_CLUSTER_ID_GEN_LEVEL_CONTROL或其它的
2.
Clusters ID and Command IDs 之間關係?是否可自定?
ps:
因我試在Z-Stack Mesh 1.0.0 去create custom cluster是可行的.
或是給出GenericApp sample on CC2538/CC2630
SDK:
Z-Stack Home 1.2.2.42930
target board:
cc2538
hi everyone:
1.在Z-Stack Home 1.2.2.42930 ,因為是用到EZ_MODE..而EZ_MODE(它使用ZDP_MatchDescReq)
但,在我在兩端取消EZ_MODE(preprocessor *3)
另一方面,我在Z-Stack Home 1.1.0 ,可以以ZDP_MatchDescReq 但仍無法ZDP_EndDeviceBindReq *2
*2,ZDP_EndDeviceBindReq ,有送出回傳not match ,但ZDP_MatchDescReq卻可以
*3
preprocessor 1
ewarm
CC2538_USE_ALTERNATE_INTERRUPT_MAP=1
FEATURE_RESET_MACRO
SECURE=0
NV_INIT
xNV_RESTORE
xPOWER_SAVING
NWK_AUTO_POLL
HOLD_AUTO_START
ZTOOL_P1
MT_TASK
MT_APP_FUNC
MT_SYS_FUNC
MT_ZDO_FUNC
LCD_SUPPORTED=DEBUG
MULTICAST_ENABLED=FALSE
ZCL_READ
ZCL_WRITE
ZCL_REPORT
ZCL_BASIC
ZCL_IDENTIFY
ZCL_ON_OFF
ZCL_DIAGNOSTIC
FEATURE_SYSTEM_STATS