1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

84 Commits

Author SHA1 Message Date
smlng
b1cfc4844c spektrum-scanner: fix plot_rssi.py script
Adapt python script to comply with python coding conventions, i.e.
fixing error reported by flake8.
2018-10-08 16:30:26 +02:00
Joakim Nohlgård
612b73368f Merge pull request https://github.com/RIOT-OS/applications/pull/47 from smlng/pr/fix/spektrum-scanner
spektrum scanner: adapt to new gnrc_netif calls
2018-10-08 16:29:02 +02:00
smlng
6838b92c41 spektrum-scanner: set default board to samr21-xpro
Currently only the at86rf2xx driver supports the required NETOPT to make
the spektrum scanner work.
2018-10-04 14:51:35 +02:00
smlng
b0eae4bc82 spektrum-scanner: adapt to new gnrc_netif calls
Accessing and handling of network interfaces with gnrc_netif has changed
and needs adaption to compile and work again.
2018-10-04 14:50:12 +02:00
Martine Lenders
bb49847691 Merge pull request https://github.com/RIOT-OS/applications/pull/46 from smlng/pr/uncrustify
uncrustify: fix existing applications
2018-10-02 23:22:32 +02:00
smlng
a62839b231 spectrum-scanner: uncrustify 2018-10-02 22:40:00 +02:00
smlng
f8fbc9a93e sniffer: uncrustify 2018-10-02 22:39:59 +02:00
Martine Lenders
ca9dea344d Merge pull request https://github.com/RIOT-OS/applications/pull/36 from miri64/sniffer/enh/fmt
sniffer: use fmt instead of printf
2018-10-02 11:35:35 +02:00
Martine Lenders
24ea80fb41 Merge pull request https://github.com/RIOT-OS/applications/pull/43 from miri64/sniffer/fix/doc
sniffer: various documentation improvements
2018-10-02 11:34:40 +02:00
Martine Lenders
9f501941b0 sniffer/tools: Update README to reflect use of argparse
The sniffer script was ported to an `argparse`-based approach for its
parameters in fb79b79, 5017bea, and 22516be. However, that change was
missing an update to the README. This fixes that.
2018-10-02 11:04:42 +02:00
Martine Lenders
1216b9b7b6 sniffer.py: document default parameter values in help 2018-10-02 11:02:05 +02:00
Martine Lenders
ee613bda94 sniffer: Update script path in README of sniffer application
The script was moved from the main RIOT repository to the sniffer
application's directory in 08b173b. This fixes the README of this
application to reflect that.
2018-10-02 11:02:05 +02:00
Martine Lenders
76a98e3941 Merge pull request https://github.com/RIOT-OS/applications/pull/45 from smlng/pr/sniffer/baudrate
sniffer: fix default baudrate in script
2018-10-02 11:01:09 +02:00
smlng
c32bd15ef5 sniffer: fix default baudrate in script 2018-10-02 10:48:16 +02:00
Martine Lenders
853f2940ce Merge pull request https://github.com/RIOT-OS/applications/pull/41 from PeterKietzmann/pr_rem_openwsn
openwsn: remove deprecated application
2018-09-28 18:37:22 +02:00
Martine Lenders
5c19cf38d8 sniffer: reduce rawdump thread stack size 2018-09-26 20:39:32 +02:00
Martine Lenders
3ef810ffd1 sniffer: adapt parsing script 2018-09-26 20:39:30 +02:00
Martine Lenders
9204feb07b sniffer: use fmt instead of printf
I was able to reduce stack usage by 2/3 on `samr21-xpro`. Additionally,
I removed the leading `0x` for the hexadecimal numbers. The parsing
script knows which numbers are hex (all of them) and they just waste
time both on the node and in the parsing script
2018-09-26 20:38:18 +02:00
Martine Lenders
73dca04ca1 Merge pull request https://github.com/RIOT-OS/applications/pull/40 from miri64/sniffer/enh/conn-type-from-context
sniffer: get connection type from string format
2018-07-14 10:49:57 +02:00
Martine Lenders
d0ec177e2d Merge pull request https://github.com/RIOT-OS/applications/pull/35 from miri64/sniffer/fix/script-decode
sniffer: script: ignore non-ASCII characters on input
2018-07-14 10:49:31 +02:00
Martine Lenders
e4f73690ab sniffer: get connection type from string format
The KISS approach alternative to #38 (also includes #39, because...).
Disadvantage: we loose backwards compatibility for this tool.
2018-07-13 16:05:10 +02:00
Martine Lenders
d671b22db9 Merge pull request https://github.com/RIOT-OS/applications/pull/39 from miri64/sniffer/enh/baudrate-optional
sniffer: make baudrate optional
2018-07-13 16:03:54 +02:00
Martine Lenders
1f77040fc0 sniffer: make baudrate optional 2018-07-13 16:03:18 +02:00
Martine Lenders
271eaef8d2 Merge pull request https://github.com/RIOT-OS/applications/pull/37 from miri64/sniffer/enh/argparse
sniffer: use argparse to parse script arguments
2018-07-13 16:02:31 +02:00
Martine Lenders
b600dcf1f0 sniffer: use argparse to parse script arguments
This is mainly a preparation step to make some arguments (namely
baudrate and the "serial/socket" argument) optional, to make it more
usable like the old `rftest2pcap` script for the econotag.
2018-07-13 16:02:14 +02:00
PeterKietzmann
517f000b75 openwsn: remove deprecated application 2018-06-22 14:12:04 +02:00
Cenk Gündoğan
f0427fb5b9 Merge pull request https://github.com/RIOT-OS/applications/pull/33 from miri64/sniffer/fix/rm-netif_hdr
sniffer: remove gnrc_netif header; read LQI
2018-06-19 18:18:07 +02:00
Martine Lenders
3628f0dd5f sniffer: script: ignore non-ASCII characters on input
The sniffer RIOT application doesn't generate non-ASCII characters so it
is safe for the python PCAP-generating script to assume that those
characters are garbage output (e.g. in initialization) and can be
ignored.
2018-06-19 09:51:21 +02:00
Sebastian Meiling
1376b758a0 Merge pull request https://github.com/RIOT-OS/applications/pull/34 from miri64/sniffer/enh/msg_queue
sniffer: add message queue for dumper thread
2018-06-19 07:53:32 +02:00
Martine Lenders
47aa717c78 sniffer: add message queue for dumper thread
Usually we have a message queue for threads handling GNRC netapi calls.
Maybe the absence of one in this application contributes to the packet
loss reported at various places.
2018-06-18 23:24:14 +02:00
Martine Lenders
f9b3889e79 sniffer: remove gnrc_netif header; read LQI
Since the device is in raw mode, we don't have any network layer
modules included and we subscribe to `GNRC_NETTYPE_UNDEF` it is safe
to assume that `pkt->next` in `dump_pkt()` is the `gnrc_netif` header.
This only contains GNRC-internal information and should thus be removed
from the dump (though Wireshark seems to be okay with the extra bytes,
a reader of the raw data might be confused).

Since this header however contains the LQI, which the sniffer claims to
output but always returns 0, the LQI value in the `gnrc_netif` header
is read and set before the deletion of that header.
2018-06-18 15:25:54 +02:00
Oleg Hahm
126a1c7abc Merge pull request https://github.com/RIOT-OS/applications/pull/31 from smlng/sniffer/script
sniffer: add script, moved from RIOT main repo
2017-11-24 10:26:09 +01:00
smlng
4f14d2a6d5 sniffer: add script, moved from RIOT main repo 2017-11-23 10:44:32 +01:00
Sebastian Meiling
93d864f565 Merge pull request https://github.com/RIOT-OS/applications/pull/30 from gebart/pr/spectrum-scanner
spectrum-scanner: Application for radio ED scanning
2017-10-23 11:58:24 +02:00
Joakim Nohlgård
03a53188b3 spectrum-scanner: Application for radio ED scanning 2017-10-23 10:06:19 +02:00
Martine Lenders
857aed38de Merge pull request https://github.com/RIOT-OS/applications/pull/29 from gebart/pr/sniffer-xtimer
sniffer: update to match xtimer API changes
2017-06-03 13:26:20 +02:00
Joakim Nohlgård
a455a00e01 sniffer: Avoid relying on printf support for 64 bit numbers 2017-06-03 04:38:49 +02:00
Joakim Nohlgård
8c8de7cf66 sniffer: Update xtimer_now64 usage after xtimer API change 2017-06-03 04:27:32 +02:00
Martine Lenders
ae7c8f5333 Merge pull request https://github.com/RIOT-OS/applications/pull/28 from gebart/pr/sniffer-netreg-api-update
sniffer: Update to follow gnrc_netreg_entry_t API change
2016-11-10 15:43:57 +01:00
Joakim Nohlgård
0ef7e8e1a2 sniffer: Update to follow gnrc_netreg_entry_t API change 2016-11-10 14:45:29 +01:00
Martine Lenders
b96c0f679d Merge pull request https://github.com/RIOT-OS/applications/pull/21 from Lotterleben/microcoap_delete
microcoap: rm stale example in favor of RIOT/examples/microcoap_server
2016-04-22 14:53:20 +02:00
Hauke Petersen
571ca99c51 Merge pull request https://github.com/RIOT-OS/applications/pull/26 from OlegHahm/sniffer_api_update
sniffer: update to RIOT master module name
2016-04-08 15:44:48 +02:00
Oleg Hahm
9651f8f90b sniffer: update to RIOT master module name 2016-04-08 15:21:42 +02:00
Oleg Hahm
0e9af39b8f Merge pull request https://github.com/RIOT-OS/applications/pull/25 from cgundogan/pr/openwsn/remove_vtimer
openwsn: remove vtimer, use xtimer
2016-04-06 14:06:27 +02:00
Cenk Gündoğan
b4f5cb6115 openwsn: remove vtimer, use xtimer 2016-04-06 13:58:24 +02:00
Oleg Hahm
6ec13f8afe Merge pull request https://github.com/RIOT-OS/applications/pull/24 from cgundogan/pr/openwsn/makefile_iotlab-m3
openwsn: make: use correct name of iotlab-m3
2016-04-06 13:49:47 +02:00
Cenk Gündoğan
34ec440a93 openwsn: make: use correct name of iotlab-m3 2016-04-06 13:42:03 +02:00
Lotte Steenbrink
d737d8e612 microcoap: rm stale example in favor of RIOT/examples/microcoap_server 2016-01-26 12:31:13 -08:00
Hauke Petersen
9ff9997227 Merge pull request https://github.com/RIOT-OS/applications/pull/18 from haukepetersen/fix_sniffer_stacktest
sniffer: s/CREATE_STACKTEST/THREAD_CREATE_STACKTEST/
2016-01-06 17:02:41 +01:00
Hauke Petersen
2424c6e555 sniffer: s/CREATE_STACKTEST/THREAD_CREATE_STACKTEST/ 2016-01-06 16:54:08 +01:00