Part Number: CC2650DK
Hi All,
I'm using SampleSwitch from zstack_home_1_02_02a_44539 as a base for my project.
now i want to send a data from end point to coordinator, to send the data I'm using
AF_DataRequest( destAddr, epDesc, clusterID, msgLen, pBuf, &zcl_TransID, options, AF_DEFAULT_RADIUS );
with the data in "pBuf".
but when i see in the sniffer using wireshark, I cannot see the data that i send.
do you know where i'm wrong ? or maybe I'm using incorrect API for the process
Please help me with this.
i set the Source Endpoint to 27 to identified the message.
this is the sniff data
Frame 163: 30 bytes on wire (240 bits), 28 bytes captured (224 bits) on interface 0
Interface id: 0 (\\.\pipe\ws_socket)
Encapsulation type: IEEE 802.15.4 Wireless PAN (104)
Arrival Time: Apr 22, 2017 16:31:49.000140000 SE Asia Standard Time
[Time shift for this packet: 0.000000000 seconds]
Epoch Time: 1492853509.000140000 seconds
[Time delta from previous captured frame: 1.999952000 seconds]
[Time delta from previous displayed frame: 1.999952000 seconds]
[Time since reference or first frame: 123.999705000 seconds]
Frame Number: 163
Frame Length: 30 bytes (240 bits)
Capture Length: 28 bytes (224 bits)
[Frame is marked: False]
[Frame is ignored: False]
[Protocols in frame: wpan:zbee_nwk:zbee_aps:zbee_zcl]
IEEE 802.15.4 Data, Dst: 0x0000, Src: 0x5fe9
Frame Control Field: 0x8861, Frame Type: Data, Acknowledge Request, PAN ID Compression, Destination Addressing Mode: Short/16-bit, Frame Version: IEEE Std 802.15.4-2003, Source Addressing Mode: Short/16-bit
Sequence Number: 244
Destination PAN: 0x6b43
Destination: 0x0000
Source: 0x5fe9
ZigBee Network Layer Data, Dst: Broadcast, Src: 0x5fe9
Frame Control Field: 0x0008, Frame Type: Data, Discover Route: Suppress Data
Destination: 0xffff
Source: 0x5fe9
Radius: 30
Sequence Number: 255
ZigBee Application Support Layer Data, Dst Endpt: 255, Src Endpt: 27
Frame Control Field: Data (0x08)
Destination Endpoint: 255
Cluster: Identify (0x0003)
Profile: Home Automation (0x0104)
Source Endpoint: 27
Counter: 92
ZigBee Cluster Library Frame, Command: Read Attributes, Seq: 4
Frame Control Field: Profile-wide (0x00)
.... ..00 = Frame Type: Profile-wide (0x0)
.... .0.. = Manufacturer Specific: False
.... 0... = Direction: Server
...0 .... = Disable Default Response: False
Sequence Number: 4
Command: Read Attributes (0x00)