Part Number: CC2530
Other Parts Discussed in Thread: Z-STACK
I reference below link. but I have a problem.
Compiler: Receive data without binding on z-stack
Tool/software: TI C/C++ Compiler Hi, I'm using z-stack 1.2.2 home automation, sample light sample switch. I would like to send data without binding. I can send data using short address 0x0000 of coordinator and the packet I can see on sniffer. ...
This my code in sample switch demo:
zclReportCmd_t rptcmd; char data[5]="hello"; rptcmd.numAttr = 1; rptcmd.attrList[0].attrID = ATTRID_ON_OFF; rptcmd.attrList[0].dataType = ZCL_DATATYPE_CHAR_STR; rptcmd.attrList[0].attrData = (uint8*)&data; (SAMPLESW_ENDPOINT, &zclSampleSw_DstAddr, ZCL_CLUSTER_ID_GEN_ON_OFF, &rptcmd, ZCL_FRAME_CLIENT_SERVER_DIR, false, 0 );
I find it is empty string in ubiqua file.
Could you help me? My objective: I want send my data by zcl_SendReportCmd.
THANK YOU
