Hi,
i`m working with oscilloscope application with ubuntu and tinyos 2.1.1.
I followed the 6th lesson of the tutorial but i don`t understand well the
packet format.
When i run "Listen" i get an packet format like this:
00 FF FF 00 01 1C 00 93 00 00 01 00 00 01 00 14 0F 55 1B 04 0F 55 1B 04 0F 59
1B 04 0F 56 1B 05 0F 55 1B 04
In the Oscilloscope.h the packet structure is:
typedef nx_struct oscilloscope {
nx_uint16_t version; /* Version of the interval. */
nx_uint16_t interval; /* Samping period. */
nx_uint16_t id; /* Mote id of sending mote. */
nx_uint16_t count; /* The readings are samples count * NREADINGS onwards */
nx_uint16_t readings[NREADINGS];
} oscilloscope_t;
So i thought that the packet could be of 2+2+2+2+2*10=28 byte.
But i see a packet with 36 bytes!!! Why??? What is my mistake??? What i`m
missing???
Can you let me see the beginning of the payload???
Thanks in advance.
Carlo
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help