Part Number: CC2530
Hi friends
I have connect a ZC to a ZED, now i want to send 5 byte data from coordinator to ZED. for starting i use z-tool to send packets. I have many question but it'll be usefull if you answer just one of them too :)
1- What EP should i set for this task?(sending some bytes of data). i see on documents that sent 0x08 but i see Inavlid parameter if i set any number except zero for EP!! ( setting zero as source EP and dst EP is ok )
-2 What about cluster ID? what cluster ID I need for this task? where can i see what cluster IDs are available and what each one means? i used 0x3412 as document use3 but i don't know what does it mean!!
3- What about TRANS ID? i use 0x00 for it and i think it's ok but i don't know what is TRANS ID for ?!!
4- I sent different values as option and i got different response too! for example i got these responses for different options!:
-----
<TX>04:32:09.7 COM5 AF_DATA_REQUEST (0x2401)
DstAddr: 0x75E4
DestEndpoint: 0x00
SrcEndpoint: 0x00
ClusterID: 0x3412
TransID: 0x00
Options: 0x08
Radius: 0x0F
Len: 0x05
Data: ..... (0x00, 0x02, 0x00, 0x00, 0x00)
<RX>04:32:09.71 COM5 AF_DATA_REQUEST_SRSP (0x6401)
Status: afStatus_NO_ROUTE (0xCD)
------
<TX>04:31:29.65 COM5 AF_DATA_REQUEST (0x2401)
DstAddr: 0x75E4
DestEndpoint: 0x00
SrcEndpoint: 0x00
ClusterID: 0x3412
TransID: 0x00
Options: 0x00
Radius: 0x0F
Len: 0x05
Data: ..... (0x00, 0x02, 0x00, 0x00, 0x00)
<RX>04:31:29.66 COM5 AF_DATA_REQUEST_SRSP (0x6401)
Status: afStatus_SUCCESS (0x0)
*** WARNING ***
Unsupported or unformatted message received. Raw data:
06 45 92 E4 75 84 00 00 00
-----
what is this warning message? and which option number should i set to send data bytes?
5- I think i understood whats Radius and i set it to 0x0F and it's ok for just a coordinator and one ED!
6- As i understand if all of my values was correct i should see AF_DATA_INCOMING on my ZED, right? I didn't see any response on my ED after trying to send different numbers for option and...
7- AF_DATA_REQUEST is use just for sending data from ZC to ZED or ZR, or i can use it for ZED or ZR to ZC too?
if you can't give me a comprehensive answer or document, can you give me the correct values to set to send data bytes from coordinator to ED please?
Best Regards