Remove legacy sniffer references: Docs
This commit is contained in:
parent
63417cba0e
commit
07f984eec2
|
@ -39,8 +39,6 @@
|
||||||
* On the cc2538, character I/O can be directed over USB or UART. This is
|
* On the cc2538, character I/O can be directed over USB or UART. This is
|
||||||
* controlled by a series of configuration directives:
|
* controlled by a series of configuration directives:
|
||||||
* - SLIP_ARCH_CONF_USB: Controls the operation of slip-arch.
|
* - SLIP_ARCH_CONF_USB: Controls the operation of slip-arch.
|
||||||
* - CC2538_RF_CONF_SNIFFER_USB: Controls the output of the RF driver when
|
|
||||||
* operating as a sniffer
|
|
||||||
* - DBG_CONF_USB: Controls all debugging output
|
* - DBG_CONF_USB: Controls all debugging output
|
||||||
*
|
*
|
||||||
* Defaults for those defines are set in contiki-conf.h
|
* Defaults for those defines are set in contiki-conf.h
|
||||||
|
|
|
@ -337,7 +337,7 @@ More things to play around with
|
||||||
|
|
||||||
Build a Sniffer - Live Traffic Capture with Wireshark
|
Build a Sniffer - Live Traffic Capture with Wireshark
|
||||||
-----------------------------------------------------
|
-----------------------------------------------------
|
||||||
There is a sniffer example in `examples/cc2538dk/sniffer/`
|
There is a sniffer example in `examples/sensniff/`
|
||||||
|
|
||||||
Diverging from platform defaults, this example configures the UART to use a baud rate of 460800. The reason is that sniffers operating at 115200 are liable to corrupt frames. This is almost certain to occur when sniffing a ContikiMAC-based deployment. See more details on how to configure UART baud rates in the "Advanced Topics" section.
|
Diverging from platform defaults, this example configures the UART to use a baud rate of 460800. The reason is that sniffers operating at 115200 are liable to corrupt frames. This is almost certain to occur when sniffing a ContikiMAC-based deployment. See more details on how to configure UART baud rates in the "Advanced Topics" section.
|
||||||
|
|
||||||
|
@ -366,7 +366,6 @@ Switching between UART and USB (CDC-ACM)
|
||||||
By default, everything is configured to use the UART (stdio, border router's SLIP, sniffer's output stream). If you want to change this, these are the relevant lines in contiki-conf.h (0: UART, 1: USB):
|
By default, everything is configured to use the UART (stdio, border router's SLIP, sniffer's output stream). If you want to change this, these are the relevant lines in contiki-conf.h (0: UART, 1: USB):
|
||||||
|
|
||||||
#define SLIP_ARCH_CONF_USB 0 /** SLIP over UART by default */
|
#define SLIP_ARCH_CONF_USB 0 /** SLIP over UART by default */
|
||||||
#define CC2538_RF_CONF_SNIFFER_USB 0 /** Sniffer out over UART by default */
|
|
||||||
#define DBG_CONF_USB 0 /** All debugging over UART by default */
|
#define DBG_CONF_USB 0 /** All debugging over UART by default */
|
||||||
|
|
||||||
You can multiplex things (for instance, SLIP as well as debugging over USB or SLIP over USB but debugging over UART and other combinations).
|
You can multiplex things (for instance, SLIP as well as debugging over USB or SLIP over USB but debugging over UART and other combinations).
|
||||||
|
@ -377,7 +376,6 @@ By default, everything is configured to use the UART0 (stdio, border router's SL
|
||||||
|
|
||||||
#define SERIAL_LINE_CONF_UART 0
|
#define SERIAL_LINE_CONF_UART 0
|
||||||
#define SLIP_ARCH_CONF_UART 0
|
#define SLIP_ARCH_CONF_UART 0
|
||||||
#define CC2538_RF_CONF_SNIFFER_UART 0
|
|
||||||
#define DBG_CONF_UART 0
|
#define DBG_CONF_UART 0
|
||||||
#define UART1_CONF_UART 0
|
#define UART1_CONF_UART 0
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue