1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 05:52:43 +01:00
Commit Graph

149 Commits

Author SHA1 Message Date
Sebastian Meiling
7a771c200c add missing LICENSE 2019-01-09 08:50:16 +01:00
Sebastian Meiling
96b8fa0efb Merge pull request https://github.com/RIOT-OS/applications/pull/57 from miri64/revert-submodule-48
Revert submodule change of #48
2019-01-08 10:49:15 +01:00
Martine Lenders
b2034520c5 Revert submodule change of #48 2019-01-08 10:17:51 +01:00
Martine Lenders
1dcc7f8840 Merge pull request https://github.com/RIOT-OS/applications/pull/48 from smlng/pr/travis
CI: add travis config
2019-01-08 10:09:56 +01:00
smlng
0d63000377 initial travis.yml 2019-01-07 14:23:45 +01:00
bd1e557a0e Merge pull request https://github.com/RIOT-OS/applications/pull/50 from smlng/pr/submodule
add RIOT as submodule
2019-01-03 11:09:22 +01:00
smlng
71ab847086 adapt RIOTBASE to use submodule path 2018-12-19 13:19:37 +01:00
smlng
2138b01457 add RIOT as a submodule
The RIOT submodule is intended to be fixed to lastest release, in this
initial state that is 2018.10. The idea is to make sure all applications
compile and run with that release and the submodule is later on updated
by the RIOT release manager as part of the release process.
2018-12-19 13:19:37 +01:00
Martine Lenders
fd81987a76 Merge pull request https://github.com/RIOT-OS/applications/pull/54 from gebart/sniffer/pkt-next-nullptr
sniffer: Check for missing netif header in dump_pkt
2018-10-27 12:33:07 +02:00
Joakim Nohlgård
4ab673ca74 sniffer: Check for missing netif header in dump_pkt
Avoids a hard fault when using the latest RIOT master where raw mode
does not provide a netif header.
2018-10-27 00:00:38 +02:00
Joakim Nohlgård
ead0b1ab89 spectrum-scanner: Shrink plot Z limits
Make differences in ED level more visible.
2018-10-18 09:20:05 +02:00
Joakim Nohlgård
025e103c37 spectrum-scanner: Plotting rewrite 2018-10-18 09:20:05 +02:00
Ken Bannister
8278c7dd63 Merge pull request https://github.com/RIOT-OS/applications/pull/44 from smlng/coap-chat
coap-chat: a simple chat application using gCoAP
2018-10-13 10:43:37 +00:00
smlng
8869afda2c coap-chat: a simple chat application using gCoAP
This application allows to send (small) messages via CoAP to any
destination address. To chat locally you may use `ff02::1` to reach
neighbouring nodes, or chat directly using unicast addresses. The
application provides a distinct shell command `chat` but also brings
standard shell commands like `ifconfig` to show a nodes IP addresses.
2018-10-12 14:42:40 +02:00
Sebastian Meiling
d90adcb613 Merge pull request https://github.com/RIOT-OS/applications/pull/49 from smlng/pr/fix/plot_rssi
spektrum-scanner: fix plot_rssi.py script
2018-10-08 17:15:23 +02:00
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