Hi all,

I am using the Oscilloscope application in telosb and when I use the line command:

"java net.tinyos.tools.Listen", capture the following package:

00 FF FF 00 06 1C 00 93 00 00 01 00 00 06 00 26 0F 93 0F 95 0F 92 0F 99 0F 93 0F 96 0F 94 0F 94 0F



and when I read directly from a USB port using the SerialPort class I get the following package

E 45 00 FF FF 00 06 1C 00 93 00 00 01 00 00 06 00 26 0F 93 0F 95 0F 92 0F 99 0F 93 0F 96 0F 94 0F 94 0F 94 0F 93 A5 DB 7E


is easy to see that the structure of the package were added a few bytes ( beginning and end)...

my doubt is whether some of these bytes correspond to RSSI and LQI?


I tried the code in file opt/tinyos-2.1.0/apps/Oscilloscope/build/telosb# app.c and I noticed that there is 8 bits for RSSI and LQI to 8, the problem is to identify which of these bytes corresponds to such events...

line 71
typedef nx_struct cc2420_footer_t {
} __attribute__((packed)) cc2420_footer_t;
#line 97
#line 81
typedef nx_struct cc2420_metadata_t {
  nx_uint8_t rssi;
  nx_uint8_t lqi;
  nx_uint8_t tx_power;
  nx_bool crc;
  nx_bool ack;
  nx_bool timesync;
  nx_uint32_t timestamp;
  nx_uint16_t rxInterval;
} __attribute__((packed))


thanks for any help

Jorge

--
MSc. Jorge Rodolfo Beingolea G.
Pervasive and High Performance Computing Group
Laboratory of Integrated Systems - LSI
Polytechnic School of the University of Sao Paulo - Brazil
Telf: 00 55 11 3091- 9741  Fax: 00 55 11 3091- 5665
Celu: 00 55 11 7155- 3685

Esta mensagem é destinada exclusivamente ao seu destinatário e pode conter 
informações confidenciais, protegidas por sigilo profissional ou cuja 
divulgação seja proibida por lei. O uso não autorizado de tais informações é 
proibido e está sujeito às penalidades cabíveis.

This message is intended exclusively for its addressee and may contain 
information that is confidential and protected by a professional privilege or 
whose disclosure is prohibited by law. Unauthorized use of such information is 
prohibited and subject to applicable penalties.

_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to