mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-16 18:13:49 +01:00
examples/sniffer: update README
This commit is contained in:
parent
5018dc6bbf
commit
766f9836ce
@ -35,15 +35,13 @@ Installing the dependencies:
|
|||||||
|
|
||||||
General usage:
|
General usage:
|
||||||
|
|
||||||
1. Flash an applicable RIOT node with the sniffer application (insert path to
|
1. Flash an applicable RIOT node with the sniffer application (residing in the
|
||||||
RIOT source and board name), as follows:
|
parent directory, insert proper board name), as follows:
|
||||||
```
|
```
|
||||||
$ git clone https://github.com/RIOT-OS/applications/
|
$ BOARD=<name> -C ../ make clean all flash
|
||||||
$ cd applications/sniffer
|
|
||||||
$ BOARD=<name> make clean all flash
|
|
||||||
```
|
```
|
||||||
|
|
||||||
2. Run the `sniffer.py` script (change to subfolder `tools/`) as follows :
|
2. Run the `sniffer.py` script (from this directory) as follows :
|
||||||
For serial port:
|
For serial port:
|
||||||
```
|
```
|
||||||
$ ./sniffer.py [-b baudrate] <tty> <channel> [outfile]
|
$ ./sniffer.py [-b baudrate] <tty> <channel> [outfile]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user