Original Question: Received packets size by Ramya
Hi
With reference to the posts Data Packets from Node WSN and Restrict End Node from pushing packets continuously. The size of Packets received is 80 bytes, Is their any possibilities to reduce this packets size , say only to the Mac ID and the Accelerometer Measured values.
Verified Answer: RE: Received packets size by harishkumarkatam
Hi Ramya,
This option is provided in the AD6LoWPAN02 release supported on EVAL-ADuCM3029 EZ-KIT Hardware, you can edit the code to achieve this on BUNCH board. The “Add_SensData2Payload” function in ADSens-Main.c file adds the sensor data and statistics to the payload buffer. Comment the statistics code part at end of the function after the “SensorMask” addition. This should work.
thanks & regards
Harish kumar k
Question: RE: Received packets size by harishkumarkatam
Hi Ramya,
The extra data you see other than sensor is statistics. To disable statistics send a “Disable Statistics” command to the Node from the Border Router that should work. Please see the below figure for the information on how to send command to a node. This information is already provided in the Monitoring & Control section of “AD6LoWPAN-All-in-One-GettingStartedGuide_v1.0”.
Note: Ensure to select the correct node address and make sure the node is not in sleep state before sending the command.
Thanks & Regards
Harish kumar k
Question: RE: Received packets size by Ramya
Hi Harish,
Thank you for your reply, when i tried to do the same, the Disable Statistics command was not found.
Question: RE: Received packets size by Ramya
Hi Harish,
Thank you very much for your suggestion, the pay load length is been reduced.
I could not decode what does 1B FF FF FF FF AA AA 56 78 and the data after Mac ID, that is FF FF FF FF 0B 04 is conveying.
Thanks
Ramya
Question: RE: Received packets size by harishkumarkatam
Hi Ramya,
Please go through the below link for the information on header, the data you are seeing other than MAC address and port is not over the air data, Border Router adds this information and sends it in the format the generic ADWSN-UI tool understands. At present most of it are dummy values, the marked fields in the link are important.
https://ez.analog.com/thread/67632
thanks,
Harish