@@ -38,7 +38,49 @@ All LEDs:
38
38
39
39
The next four packets turn them off again in the same order.
40
40
41
- To disable LEDs, unset the :kconfig:option: `CONFIG_LED_ENABLE ` Kconfig option.
41
+ To disable LEDs, unset the :ref: `CONFIG_LED_ENABLE <CONFIG_LED_ENABLE >` Kconfig option.
42
+
43
+ The following ``sniffer `` shell subcommands are available when the :ref: `CONFIG_ESB_SNIFFER <CONFIG_ESB_SNIFFER >` Kconfig option is set:
44
+
45
+ .. list-table :: Sniffer shell commands
46
+ :header-rows: 1
47
+
48
+ * - Subcommand
49
+ - Arguments
50
+ - Description
51
+ * - ``show ``
52
+ -
53
+ - Print actual sniffer configuration
54
+ * - ``start ``
55
+ -
56
+ - Start listening
57
+ * - ``stop ``
58
+ -
59
+ - Stop listening
60
+ * - ``set addr0 ``
61
+ - <xx.xx.xx.xx>
62
+ - Set base address 0
63
+ * - ``set addr1 ``
64
+ - <xx.xx.xx.xx>
65
+ - Set base address 1
66
+ * - ``set bitrate ``
67
+ - <bitrate>
68
+ - Set bitrate
69
+ * - ``set channel ``
70
+ - <channel number>
71
+ - Set ESB channel
72
+ * - ``set prefix ``
73
+ - <xx.xx.xx.xx> <xx.xx.xx.xx>
74
+ - Set prefix0 and prefix1
75
+ * - ``pipe enable ``
76
+ - <pipe number> <pipe number> ... or ``all ``
77
+ - Enable selected pipes, or all pipes when argument is ``all ``
78
+ * - ``pipe disable ``
79
+ - <pipe number> <pipe number> ... or ``all ``
80
+ - Disable selected pipes, or all pipes when argument is ``all ``
81
+ * - ``pipe prefix ``
82
+ - <pipe number> <prefix>
83
+ - Set <prefix> on <pipe number>
42
84
43
85
Configuration
44
86
*************
@@ -50,10 +92,17 @@ Configuration options
50
92
51
93
Check and configure the following options:
52
94
95
+ .. _CONFIG_LED_ENABLE :
96
+
97
+ CONFIG_LED_ENABLE
98
+ Enable led changes while receiving packets.
99
+ It is intended to use together with the :ref: `Transmitter <esb_ptx >` sample.
100
+ This option is enabled by default.
101
+
53
102
.. _CONFIG_ESB_SNIFFER :
54
103
55
104
CONFIG_ESB_SNIFFER
56
- Disable logging received packets through UART, and set RTT as transport layer for the packets.
105
+ Disable logging received packets through UART, set RTT as transport layer for the packets, and enable the shell .
57
106
It is intended for use together with :file: `scripts/esb_sniffer/main.py ` or :file: `scripts/esb_sniffer/capture_to_pcap.py ` scripts.
58
107
This option is disabled by default.
59
108
0 commit comments