|
From: Olaf B. <ber...@tz...> - 2014-10-15 09:09:46
|
Marc, Marc Collado Saura <mar...@gm...> writes: > sudo ./mc1322x-load.pl -f > /home/user/contiki-2.7/cpu/mc1322x/tests/rftest-rx.c -t /dev/ttyUSB1 ' > /home/user/contiki-2.7/cpu/mc1322x/tools/ftditools/./bbmc -l > redbee-econotag reset' I think that this command blocks ttyUSB1, so > ./rftestrx2pcap.py /dev/ttyUSB1 26 > foo.pcap this won't get any data. Try flashing rftest-rx.c to the Econotag. > And the foo.pcap file was empty after several broadcast packets sent > by the first mote. > > 4. I also tried this: > > /home/user/contiki-2.7/cpu/mc1322x/tools/rftestrx2pcap.pl -t > /dev/ttyUSB1 | wireshark -k -i - > > Then I get this Wireshark error: End of file on pipe magic during open You can try adding the option '-u' at the python interpreter invocation in rftestrx2pcap.pl. This does not work very well but is good enough for sniffing a couple of packets to see if your setup works. --- a/tools/rftestrx2pcap.py +++ b/tools/rftestrx2pcap.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python -u Gruesse Olaf |