Other Parts Discussed in Thread: Z-STACK
Hi all,
Our customer are doing some simulation about the max. payload size per transmission. We find some behaviors below and want to confirm with you that behavior is correct or not.
Below is Topology descriptions
PC --- ZC --- ZR1 --- ZR2 --- ZR3 --- ZR4 --- ZR5
Our testing environments with 1 to 5 hopping nodes.
Round 1. PC send 81 bytes to ZR1 (no fragmentation). Test result is ok.
Round 2. PC send 81 bytes to ZR2 (no fragmentation). Test result is fail and no packet output from ZC.
Round 3. PC send 78 bytes to ZR2 (no fragmentation). Test result is ok.
We find the difference between round 2 and round 3 is relay information. The round 2 have additional relay information (4 bytes) in the frame. Besides, the round 2 will return fail status (0x10) when it calling AF_DataRequest().
I check the AF_DataRequest will decide fragmentation at this layer then call lib of "(*apsfSendFragmented)( &req )", after next hop ZR1 to ZR2 will additinal relay information (4 bytes) in the frame that will over the len of afDataReqMTU( &mtu ),but no perform fragmentation then fail. Round3 reduce the size to 78 byte for hop to ZR2 will can succses.
Our questions are,
-
Routing will add relay information in the frame,Why the round 2 testing without using fragmentation?
-
What is the maximum data length without doing fragmentation that can send the data from ZC to ZR5?
Please help check this issue.
Thank you.
Best Regards,
EthanChen
