8d040e5b4d
sys/shell: add missing stdio include in sc_loramac.c
2019-12-16 16:26:18 +01:00
Francisco Molina
1241bee080
sys/shell/commands/sc_interactive_sync: AVR puts to pgmspace
2019-12-15 20:27:56 +01:00
Hauke Petersen
3ffe08d07a
shell/sc_nimble_netif: allow connect using name
2019-12-09 10:12:44 +01:00
Hauke Petersen
cea260bb4f
shell/sc_gnrc_netif: use fmt_is_number()
2019-12-05 15:39:25 +01:00
Francisco
b88e2ecb6d
Merge pull request #12471 from aabadie/pr/sys/suit_shell
...
sys/suit: sys/shell: examples/suit_update: add shell command for triggering suit updates
2019-11-29 13:32:23 +01:00
Leandro Lanzieri
5481124d86
shell/gnrc_netif: Use netif API
2019-11-29 10:22:00 +01:00
2ff3d4cd8d
sys/shell: add suit shell command
...
This command allows for triggering an update from the device itself
2019-11-28 19:15:34 +01:00
Francisco Molina
838a88f122
sys/shell/commands: add interactive_sync commands
2019-11-27 15:07:42 +01:00
MichelRottleuthner
bf676d4728
Merge pull request #11022 from jia200x/pr/gnrc_lorawan
...
gnrc_lorawan: add support for GNRC based LoRaWAN stack
2019-11-27 09:25:20 +01:00
Jose Alamos
b3593e58cb
sc_netif: add lorawan config commands to shell
2019-11-26 21:52:06 +01:00
42aad0d1ad
sys/shell: fix typos
2019-11-23 22:39:38 +01:00
Francois Berder
4a31f94cfc
many typo fixes
...
Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2019-11-23 22:39:07 +01:00
Francisco Molina
254b54847f
shell/commands/sc_gnrc_rpl.c: fix cpp.check unitialized variable
2019-11-21 11:58:07 +01:00
Leandro Lanzieri
39984b1f51
shell/gnrc_netif: Use ipv6_addr_split_int for prefix
2019-11-15 14:35:30 +01:00
Leandro Lanzieri
1d0f92203b
shell/sntp: Adapt to change in ipv6_addr_split_iface
2019-11-15 14:09:32 +01:00
Leandro Lanzieri
edae993f63
shell/gnrc_icmpv6_echo: Adapt to change in ipv6_addr_split_iface
2019-11-15 14:02:50 +01:00
Hauke Petersen
38d2690a37
shell/sc_nimble_netif: restrict when using autoconn
2019-11-13 12:59:35 +01:00
Jose Alamos
f38a786108
sc_gnrc_netif: implement link command
2019-10-30 13:13:06 +01:00
Benjamin Valentin
2ff7c474b7
shell_commands: gnrc_netif: print correct scope for IPv6 addr
...
Previously `ifconfig` would only know link-local addresses
(printed as 'local') and everything else would be 'global'.
This is wrong for site-local and unique local addresses which were
also denoted as global.
So use the already existing helper functions to determine the correct
type of IPv6 address when printing.
2019-10-21 14:47:34 +02:00
benpicco
97d5040525
Merge pull request #12272 from miri64/shell/enh/run-forever
...
shell: make shell_run run shell forever
2019-10-15 20:16:04 +02:00
Martine Lenders
70dddfd775
Merge pull request #12354 from haukepetersen/opt_nimble_netifmaxconn
...
pkg/nimble/netif: set max conn explicitly
2019-10-07 19:18:40 +02:00
Hauke Petersen
a595f89bbe
pkg/nimble/netif: set max conn explicitly
2019-10-07 14:50:57 +02:00
Kevin "Tristate Tom" Weiss
4b7c5915ec
Merge pull request #10953 from gschorcht/sys/shell/heap_cmd/pr
...
sys/shell: add heap command
2019-10-04 13:49:57 +02:00
Benjamin Valentin
c31e373214
shell_commands: gnrc_netif: only include LoRA options when LoRA PHY is present
...
If no LoRA module is used, there is no use in compiling in all the config options
for LoRA PHYs.
This saves about 1k of .text
2019-09-24 17:14:03 +02:00
Martine S. Lenders
2c1a2863ce
shell: make shell_run run shell forever
...
This change is in preparation to [PR 10788]. PR 10788 will make the
shell exitable which may lead to unexpected behavior in comparison to
previous usage of the shell.
To prevent this, this PR introduces two "new" functions to the shell's
API: `shell_run_once()` and `shell_run_forever()`.
`shell_run_once()` basically has the same behavior as `shell_run()` in
current master: Start a shell and continue reading lines until EOF is
reached.
`shell_run_forever()` wraps around `shell_run_once()` and restarts the
shell if it exits.
`shell_run()` is re-introduced as a back-porting alias for
`shell_run_forever()`.
As a consequence all current calls to `shell_run()` won't exit even
with [PR 10788] merged (which would add EOT as additional exit
condition for `shell_run_once()`).
[PR 10788]: https://github.com/RIOT-OS/RIOT/pull/10788
2019-09-19 10:26:31 +02:00
Martine Lenders
8911c514fd
Merge pull request #10951 from miri64/gnrc_ipv6_nib/enh/abr-helpers
...
shell/sc_gnrc_ipv6_nib: extend for ABR
2019-09-12 07:34:09 +02:00
Martine Lenders
1656162835
shell_commands: gnrc_ipv6_nib: remove unnecessary cast
2019-09-11 23:51:20 +02:00
Martine Lenders
28ac07d8e5
shell/sc_gnrc_ipv6_nib: extend for ABR
...
Adds functionality to list and edit authoritative border router list.
2019-09-11 23:51:20 +02:00
Kevin "Tristate Tom" Weiss
d6af98b5b7
Merge pull request #11835 from miri64/gnrc_sixlowpan_frag/new/stats
...
gnrc_sixlowpan_frag_stats: initial import of frag statistics
2019-09-11 12:01:22 +02:00
Martine Lenders
0ab0a19871
shell_commands: add command to get 6lo frag statistics
2019-09-11 10:30:29 +02:00
Martine Lenders
0c24bfcd0d
shell_commands: fix ping6 response check for multicast
2019-09-10 21:50:23 +02:00
Francisco Molina
1357f46c47
pkg/semtech-loramac: add uplink_counter get/set functions
2019-09-05 16:01:32 +02:00
Gunar Schorcht
140987fc3a
sys/shell: cleanup the heap command approach
...
Replaces the special heap command approach of the lpc_common module with a more general heap command approach. Module lpc_common was already removed with PR #2118 . PR #2118 integrated cpu/lpc_common code in cpu/lpc2387. With PR #3530 special heap handling for cpu/lpc2387 was replaced by newlib memory management which uses _sbrk_r to allocate chunks from the heap. _sbrk_r uses _sheap and _eheap symbols that are defined in lpc2387.ld and can be used together with mallinfo function for heap statistics.
2019-09-05 09:18:46 +02:00
Francisco Molina
5e1558ba57
shell/commands: fix, only accept proper pong response
2019-09-03 09:07:29 +02:00
Hauke Petersen
33eb83ff42
sys/shell/nimble: make default name more generic
2019-08-29 11:23:51 +02:00
Hauke Petersen
de890bd9a8
sys/shell/nimble: only print ip addr if ipv6 is used
2019-08-29 11:23:51 +02:00
Hauke Petersen
a3b8c87ab5
sys/shell: add 'ble' shell cmd for nimble_netif
2019-08-28 16:48:42 +02:00
Juan Carrano
fa9337d73c
sys/shell: cancel current line on CTRL-C.
...
CTRL-C cancels the current line, similar to how getty works.
This is useful if one is using a dumb terminal to communicate with
a node, as it saves having to repeatedly type backspace to discard the
current line. It also helps when connecting to an already running node,
as one does not know what is on the line buffer, the safest thing to do
is to begin by sending a ctrl-C.
This is a suggestion of @benemorius.
2019-08-15 17:13:42 +02:00
Francisco
56a6e5d53e
Merge pull request #11933 from miri64/shell/fix/check-sender
...
shell_commands: check ICMPv6 echo reply sender
2019-08-09 16:27:39 +02:00
Martine Lenders
c12bd5edb1
Merge pull request #11938 from miri64/shell_commands/enh/now-id
...
shell_commands/ping6: mix-in current time into ID
2019-08-09 12:56:54 +02:00
Benjamin Valentin
0c98b79e2f
sys/shell: reduce scope of variable 'entry'
2019-08-06 19:43:54 +02:00
Benjamin Valentin
9279733ed2
sys/shell: remove superfluous explicit cast
2019-08-06 19:43:54 +02:00
Benjamin Valentin
e8dc1119b8
sys: make use of ARRAY_SIZE macro
2019-08-06 19:43:54 +02:00
Martine Lenders
4139370a87
Merge pull request #11952 from PeterKietzmann/pr_ccnl_update_and_bump
...
pkg/ccn-lite: bump version and adapt shell functions accordingly
2019-08-05 10:27:43 +02:00
Cenk Gündoğan
89c3c4e20e
shell/ccn-lite: type fixes
2019-08-02 10:37:47 +02:00
Martine Lenders
1c7d4572a7
shell_commands/ping6: mix-in current time into ID
...
This prevents two fast executions of `ping6` behind each other to
confuse their respective responses.
2019-07-31 09:49:17 +02:00
Martine S. Lenders
4a723fe4fd
shell_commands: check ICMPv6 echo reply sender
...
Fixes #11519 by checking the source address when an echo reply is
received by the `ping6` command.
2019-07-30 12:47:23 +02:00
Martine Lenders
d1abb29665
sc_gnrc_icmpv6_echo: check for correct ipv6_addr_split_iface() error
2019-07-26 16:48:28 +02:00
Martine S. Lenders
36e9d232a6
shell_commands/gnrc_icmpv6_echo: use gnrc_netif_hdr_set_netif()
2019-07-25 15:32:21 +02:00
Martine S. Lenders
6ad3c8d223
shell_commands/gnrc_icmpv6_echo: use netif pointer
...
... instead of numeric network interface identifier
2019-07-25 15:32:02 +02:00