Leandro Lanzieri
f2ed8b06c0
gnrc/nib: Move GNRC_IPV6_NIB_L2ADDR_MAX_LEN to 'CONFIG_' namespace
2020-03-31 18:07:12 +02:00
Leandro Lanzieri
53a522d642
gnrc/nib: Move GNRC_IPV6_NIB_CONF_MULTIHOP_P6C to 'CONFIG_' namespace
...
Also evaluate using IS_ACTIVE macro.
2020-03-31 18:07:10 +02:00
Leandro Lanzieri
40c78f1c75
gnrc/nib: Move GNRC_IPV6_NIB_CONF_6LBR to 'CONFIG_' namespace
...
Also evaluate it using IS_ACTIVE macro.
2020-03-31 18:07:03 +02:00
Hendrik van Essen
3860355380
sys/shell: rephrase/reformat some comments
2020-03-30 12:26:20 +02:00
Juan Carrano
2810637306
sys/shell: correctly detect and handle long lines
...
The numeric value for EOF is -1. This caused the shell to return
the same code when EOF was encountered and when the line lenght was
exceeded. Additionally, if the line length is exceeded, the correct
behaviour is to consume the remaining characters until the end of
the line, to prevent the following line from containing (potentially
dangerous) garbage.
Co-authored-by: Hendrik van Essen <hendrik.ve@fu-berlin.de>
2020-03-30 12:26:20 +02:00
Martine Lenders
889e8b7cf8
Merge pull request #13752 from gschorcht/sys/shell/fix_gnrc_netif
...
sys/shell: fix ifconfig command for NETOPT_LINK
2020-03-30 09:44:13 +02:00
Gunar Schorcht
8a1cfd99da
sys/shell: fix ifconfig command for NETOPT_LINK
2020-03-30 09:01:21 +02:00
Benjamin Valentin
e1ce24abec
shell/gnrc_icmpv6_echo: replace incorrect use of gnrc_netif_highlander()
...
We want to check if there *is* only one interface, not if there *can*
be no more than one interface here.
2020-03-27 15:07:38 +01:00
Jose Alamos
e451570219
gnrc_netif: remove GNRC_NETIF_NUMOF macro
2020-03-26 11:12:23 +01:00
7d0c475113
Merge pull request #13486 from bergzand/pr/suit/ietf_v3
...
SUIT: Update to draft-ietf-v3
2020-03-20 14:44:29 +01:00
benpicco
b0fab9c53a
Merge pull request #13638 from gschorcht/sys/shell/rtt_command
...
sys/shell: add rtt command
2020-03-19 21:21:12 +01:00
Gunar Schorcht
3d20b0b6c5
sys/shell: add rtt command
2020-03-19 17:17:26 +01:00
14bdf8f46b
sys/suit: Add SUIT draft ietf-v3 firmware upgrade module
...
Co-authored-by: Kaspar Schleiser <kaspar@schleiser.de>
2020-03-18 14:13:12 +01:00
6538687a4c
Merge pull request #13613 from fjmolinas/pr_light_shell_interactive_sync
...
tests: add interactive_sync adapted to shell
2020-03-17 18:16:51 +01:00
Francisco Molina
d57c39f09f
sys/shell: remove sc_interactive_sync
2020-03-17 17:20:58 +01:00
Jose Alamos
6ace7b5472
gnrc_netif: use gnrc_netif_single where possible
2020-03-17 10:54:30 +01:00
Martine Lenders
086d0ac83e
Merge pull request #13152 from miri64/shell_commands/enh/version
...
shell_commands: provide command to print version
2020-03-11 18:36:43 +01:00
Jose Alamos
6143cd800b
gnrc_netif: use gnrc_netif_send where possible
2020-03-06 15:22:58 +01:00
Benjamin Valentin
fa4447241f
sock_dns: make sock_dns_query() return the length of the address
...
The implementation already did that, now also reflect this in the
documentation.
2020-02-24 14:29:17 +01:00
Benjamin Valentin
367f19d390
shell/gnrc_icmpv6_echo: don't do DNS lookup for plain IP
...
When using ping6 with an IP address, don't do a DNS lookup.
Hostnames can't contain ':', so use that to tell them apart
from plain IP addressees.
2020-02-24 14:21:54 +01:00
Benjamin Valentin
a65daf7a31
shell/gnrc_icmpv6_echo: set success state if DNS query succeeded
...
We need to set `res` to 0 to signal success, otherwise we end up
in the print usage case.
2020-02-24 14:21:54 +01:00
Benjamin Valentin
f5a5c5dd2c
shell/gnrc_icmpv6_echo: fix build with USEMODULE += sock_dns
...
To be able to call sock_dns_query() in _configure(), we also
need to include the header file.
2020-02-21 23:56:33 +01:00
Benjamin Valentin
d572db83e1
shell/gnrc_icmpv6_echo: print interface id in reply
...
If there is more than one interface, print the id of the receiving
interface for convenience.
```
ping6 ff02::1
2020-02-20 18:19:38,644 # 12 bytes from fe80::d0ae:c1b:2054:58e%7: icmp_seq=0 ttl=64 rssi=-45 dBm time=4.801 ms
2020-02-20 18:19:38,652 # 12 bytes from fe80::d0ae:c1b:2054:58c%8: icmp_seq=0 ttl=64 rssi=-63 dBm time=13.422 ms (DUP!)
2020-02-20 18:19:38,661 # 12 bytes from fe80::c78:16d9:8aca:ba9a%8: icmp_seq=0 ttl=64 rssi=-44 dBm time=21.819 ms (DUP!)
2020-02-20 18:19:39,648 # 12 bytes from fe80::d0ae:c1b:2054:58e%7: icmp_seq=1 ttl=64 rssi=-44 dBm time=4.797 ms
2020-02-20 18:19:39,657 # 12 bytes from fe80::d0ae:c1b:2054:58c%8: icmp_seq=1 ttl=64 rssi=-61 dBm time=12.917 ms (DUP!)
2020-02-20 18:19:39,666 # 12 bytes from fe80::c78:16d9:8aca:ba9a%8: icmp_seq=1 ttl=64 rssi=-43 dBm time=21.679 ms (DUP!)
2020-02-20 18:19:40,657 # 12 bytes from fe80::d0ae:c1b:2054:58e%7: icmp_seq=2 ttl=64 rssi=-41 dBm time=4.795 ms
```
2020-02-21 13:59:52 +01:00
Martine Lenders
ebb20f2d44
Merge pull request #13305 from miri64/gnrc_ipv6_ext_frag_stats/feat/initial
...
gnrc_ipv6_ext_frag: initial import of statistics module
2020-02-10 20:23:13 +01:00
Martine S. Lenders
cf69e61289
gnrc_ipv6_ext_frag: initial import of statistics module
2020-02-06 13:48:42 +01:00
Martine S. Lenders
ed9f43ab3a
gnrc_sixlowpan_frag_stats: add average fragments per datagram statistic
2020-02-06 13:40:23 +01:00
Martine S. Lenders
27b86f91c0
shell_commands: remove old and redundant lines
2020-02-05 13:35:48 +01:00
Martine S. Lenders
5fd88ab44a
shell_commands: provide command to print version
2020-01-17 10:28:51 +01:00
Leandro Lanzieri
8e6f6ee460
Merge pull request #13065 from PeterKietzmann/pr_kconf_netif
...
Kconfig: Expose gnrc/netif configurations
2020-01-13 13:25:17 +01:00
PeterKietzmann
9e83d12bc0
net/gnrc/netif: Move GNRC_NETIF_IPV6_ADDRS_NUMOF to 'CONFIG_' namespace
2020-01-13 12:28:37 +01:00
MichelRottleuthner
53cb3b087c
Merge pull request #9530 from Hyungsin/forupstream_xtimer
...
sys: xtimer concurrency/robustness improvement
2020-01-13 08:24:15 +01:00
Hyungsin
a18f9318c7
sys/shell/commands: reflecting xtimer's member change
2020-01-10 13:19:36 -08:00
Hauke Petersen
4f9d15d3b1
sys/shell/sc_nimble_netif: adapt event handling
2020-01-10 16:36:12 +01:00
Hauke Petersen
5746795735
shell/sc_nimble_netif: add timing info to ble info
2020-01-10 12:17:07 +01:00
Francisco
dcc5299682
Merge pull request #10667 from miri64/gnrc_sixloenc/enh/6lo-config
...
gnrc_netif: make 6LoENC dynamically configurable
2020-01-06 13:19:24 +01:00
Martine S. Lenders
5cf26f1adf
shell_commands: make 6Lo compression contexts configurable on non-6LBR
2019-12-20 14:55:55 +01:00
Hauke Petersen
210b1b2f75
sys/shell/sc_nimble_netif: adapt event callback
2019-12-18 17:06:57 +01:00
Martine S. Lenders
e1ae44b536
gnrc_sixlowpan_frag_stats: actualize pseudo-module
...
Having the definitions sit in the `net/gnrc/sixlowpan/frag.h` header
does not make much sense, when using Selective Fragment Forwarding
(and the fragmentation buffer already includes a
`net/gnrc/sixlowpan/frag/stats.h` header), so they are moved to their
own header. Since with this change it makes more sense to have the
statistics stored in their own sub-module, the pseudo-module is also
actualized.
2019-12-18 15:45:03 +01:00
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
Martine Lenders
1c7e1c9efd
shell_commands/sc_gnrc_netif: set 6Lo flag
2019-10-30 17:10:34 +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
Francisco Molina
41e440a0ef
pkg/semtech-loramac: extended return code doc and debug msg
...
- Add SEMTECH_LORAMAC_ALREADY_JOINED ret code for semtech_loramac_join
- Add SEMTECH_LORAMAC_TX_CNF_FAILED ret code for semtech_loramac_send
- Update shell commands to notify when no ACK is received on cnf tx
2019-07-22 16:12:23 +02:00
Martine S. Lenders
299c1a2959
shell_commands: fix regression to ifconfig introduced in #10350
...
The indentation of `ifconfig` is currently broken, due to an attempt to
fix some `scan-build` errors.
2019-06-26 10:30:26 +02:00
Martine Lenders
2cb0ccc800
shell_commands: gnrc_netif: fix _newline() handling
2019-06-20 16:18:23 +02:00
4e3e174c95
sys/shell/loramac: use global loramac variable
2019-05-29 16:53:53 +02:00
5b8c1e2d26
sys/shell: add loramac command to the shell
2019-05-29 16:53:52 +02:00
Hauke Petersen
3b842ba16a
shell/cord_ep: used COAP_PORT as default port
2019-03-27 18:26:37 +01:00
Marian Buschsieweke
6b0082bb3f
shell: Add command i2c_scan
...
Add a trivial shell program that scans for all slaves on an I2C bus by iterating
all of the possible 127 I2C addresses and checking for the ACK of the device.
2019-03-25 14:10:04 +01:00
Marian Buschsieweke
50e939e808
Merge pull request #11092 from benpicco/rssi_ping
...
shell_commands: include RSSI in ping output
2019-03-15 13:51:22 +01:00
Benjamin Valentin
d89dd0d9e9
shell_commands: include RSSI in ping output
...
I was looking for a quick way to gauge the link quality between two nodes,
so I added the rssi to the output of the ping6 command.
Maybe this is generally useful to have.
2019-03-06 10:58:09 +01:00
MrKevinWeiss
7a220d16a8
sys/shell: Add shell command for app_metadata
...
This make an easily accessable shell command to print app_metadata
2019-03-05 16:10:06 +01:00
Marian Buschsieweke
aaacd16248
sys/shell: NETOPT_MAX_{PACKET_SIZE -> PDU_SIZE}
...
Updated the ifconfig shell command to use NETOPT_MAX_PDU_SIZE instead of the
deprecated NETOPT_MAX_PACKET_SIZE
2019-02-18 20:18:48 +01:00
Juan I Carrano
f344bb20c5
Merge pull request #10630 from jcarrano/shell-flush-echo
...
sys/shell: ensure character is flushed when echoing.
2019-02-12 15:19:17 +01:00
Martine Lenders
45ec766871
shell_commands: adapt ping6 to original-ping-like implementation
...
Loosely based on [the original ping] and [netutil]'s ping
New features (compared to old RIOT version):
- non-positional parameters
- Better duplicate detection (addresses #9387 )
- Better asynchronous behavior
- Potential for future move to `sock_ip`
- (Optional) DNS-support
- Multithreading-safe (in case shell-command handler gets called
from multiple threads)
[the original ping]: http://ftp.arl.army.mil/~mike/ping.html
[netutil]: https://www.gnu.org/software/inetutils/
2019-02-04 12:42:49 +01:00
Peter Kietzmann
b927c6ffa6
Merge pull request #10923 from maribu/ifconfig_l2pdu
...
shell/ifconfig: Add L2-PDU info
2019-02-04 08:55:32 +01:00
Marian Buschsieweke
996a837fff
shell/ifconfig: Add L2-PDU info
...
When IPv6 is enabled, the MTU is given. So users(*) sending IPv6 packets can
easily figure out what the supported maximum protocol unit is.
However, when IPv6 is disabled and a user wants to send layer 2 frames directly,
no information about the maximum PDU is available using the shell.
When 6LoWPAN is used, a user may be interested in the layer 2 PDU as well in
order to avoid layer 2 fragmentation.
This PR adds the L2-PDU info to the output of the ifconfig shell command, which
is printed regardless of the use of IPv6.
(*): Here "users" refers to human beings interacting with the shell.
Applications can get the maximum PDU of each layer more easily using
gnrc_netapi_get() with NETOPT_MAX_PACKET_SIZE instead of using a shell command.
2019-02-01 16:55:16 +01:00
Marian Buschsieweke
0351577e18
shell/ifconfig: Fixed stringification
2019-02-01 16:22:37 +01:00
Marian Buschsieweke
d180339e5a
sys/shell: Removed fragments of old driver
...
The shell handlers of the old, depreciated and removed LTC4150 driver are still
in place. This commit removes them
2019-01-28 13:33:14 +01:00
Martine Lenders
28204e0a4f
sc_gnrc_ipv6_nib: check interface existence
...
Currently an interface's existence is not checked when it is supplied
by the user with the `nib` command. This can lead to assertion errors
as soon as the generated entry tries to resolve an address or route
generated with that command and the network interface not being found.
2019-01-28 09:16:51 +01:00
Martine Lenders
8bd9e0f0c2
shell: sc_icmpv6_echo: release payload when pktbuf full
...
Otherwise it gets never released
Co-Authored-By: Gunar Schorcht <gunar@schorcht.net>
2019-01-15 15:07:46 +01:00
Martine Lenders
e88abc49b8
shell_commands/sc_gnrc_netif: get 6Lo flag
2019-01-03 16:21:52 +01:00
Juan Carrano
b34dc3a565
sys/shell: ensure character is flushed when echoing.
...
When using a serial terminal without local echo, the current line
would not get updated as the user typed because the shell module's
readline() was not flushing each character.
This commit fixes that behavior. For additional clarity, fflush is
turned into a macro (flush_if_needed) which expands to either a call
to fflush() or empty, according to the standard library used.
This also fixes the erase/line editing behavior (the delete characters
were not being flushed either.)
2018-12-19 12:08:54 +01:00
Marian Buschsieweke
92347a0dd8
sys/shell: Removed unneeded cpp directives
2018-12-18 16:37:52 +01:00
Martine Lenders
e4a922260e
shell_commands/ifconfig: mark TENTATIVE addresses correctly
2018-12-04 15:53:46 +01:00
cladmi
ebd438cb58
sys/shell: select sc_rtc on USEMODULE
...
sc_rtc.c should only be compiled if periph_rtc module is actually used.
In practice there was not linking error when PERIPH_OPTIONAL|_REQUIRED
was not set as shell_commands hides calling the functions with
'#ifdef MODULE_PERIPH_RTC'.
2018-11-19 16:00:43 +01:00
Lucas Jenß
6ed11de354
Merge pull request #10105 from x3ro/fix-shell-prompt-infinite-loop
...
Do not try to continue reading shell commands if input source is closed
2018-10-30 19:24:01 +01:00
Lucas Jenss
62cecc9496
Do not try to continue reading shell commands if input source is closed
...
In RIOT native, sending CTRL+D to a shell started using shell_run would resulted in and
endless prompt loop. I've been unable to trigger such a behaviour
on actual hardware using a UART connection, but calling `pm_off` seemed
like a better alternative than having an `#ifdef BOARD_NATIVE`.
Fixes #9946
2018-10-30 19:06:42 +01:00
Hauke Petersen
cfe4370a95
sys/shell/rdcli: rename to sc_cord_ep.c
2018-10-17 15:21:49 +02:00
Hauke Petersen
152623577e
net/rdcli_config: rename to cord_config
2018-10-17 09:29:19 +02:00
Hauke Petersen
787524400c
net/rdcli_common: rename to cord_common
2018-10-17 09:29:19 +02:00
Hauke Petersen
899d7fee8a
shell: add shell command for rdcli
2018-10-12 14:41:40 +02:00
Joakim Nohlgård
3466a862df
Merge pull request #9985 from kaspar030/add_missing_string.h_includes
...
sys: add missing <string.h> includes
2018-09-21 06:51:01 +02:00
3db24b4603
sys: saul: add missing stddef.h include (for NULL)
2018-09-20 23:54:46 +02:00
05b6af466c
sys: add missig <string.h> includes
2018-09-20 23:47:40 +02:00
smlng
990a76c80c
pkg: update ccn-lite and adapt shell commands
...
This updates the ccn-lite package version which brings in the
latest upstream fixes for some compiler issues found on macOS
with clang and newer GCC versions.
A minor adaption of the RIOT shell commands is also included.
2018-08-10 10:21:24 +02:00
Sebastian Meiling
26c689ffbb
Merge pull request #9548 from RIOT-OS/new_i2c_if3
...
I2C: introduce and adapt new I2C interface (2nd attempt)
2018-08-02 12:00:59 +02:00
7a12293eb1
drivers/at30tse75x: adapt to new I2C api
2018-07-25 12:01:38 +02:00
Gaëtan Harter
eec88e3e53
shell/sc_can: fix uninitialized warning
...
When compiled for `hifive1` board with `gcc-7.2.0` this warning was raised:
'ret' may be used uninitialized in this function [-Werror=maybe-uninitialized]
2018-07-24 13:58:21 +02:00
Marian Buschsieweke
de9b67bdc2
drivers/sht1x: Major refactoring
...
- Use RIOT's GPIO interface to access the sensor to increase portability
- Changed API to allow more than one sensor per board
- Added `sht1x_params.h` that specifies how the sensors is connected - each
board can overwrite default settings by #defining SHT1X_PARAM_CLK and
SHT1X_PARAM_DATA
- Changed arithmetic to use integer calculations only instead of floating point
arithmetic
- Added support for checking the CRC sum
- Allow optional skipping of the CRC check to speed up measuring
- Added support for advanced features like reducing the resolution and skipping
calibration to speed up measuring
- Allow specifying the supply voltage of sensor which heavily influences the
temperature result (and use that information to calculate the correct
temperature)
- Reset sensor on initialization to bring it in a well known state
- Support for the obscure heater feature. (Can be useful to check the
temperature sensor?)
- Updated old SHT11 shell commands to the new driver interface, thus allowing
more than one SHT10/11/15 sensor to be used
- Added new shell command to allow full configuration of all attached SHT1x
sensors
- Removed old command for setting the SHT11 temperature offset, as this feature
is implemented in the new configuration command
2018-06-27 08:58:00 +02:00
Marian Buschsieweke
d208c224b0
drivers: Renamed module sht11 to sht1x
...
The sensor family SHT10, SHT11 and SHT15 only differ in their accuracy (as in
calibration, not as in resolution). Thus, the same driver can be used for all.
The new driver name better reflects this fact.
2018-06-27 08:57:58 +02:00
Martine Lenders
a6a7357077
shell_commands: add command for packet buffer stats
...
I'm using something like this command for a while now for debugging
GNRC. Usually, I just patch it into the application I'm using it with,
but I think there is a benefit to also provide it to RIOT upstream
properly.
2018-06-22 09:51:17 +02:00
7d013eb2b6
sys: fix doxygen grouping
2018-06-11 19:12:02 +02:00
PeterKietzmann
d3d012c077
shell/ccnl: use new CS add method
2018-06-10 12:11:44 +02:00
BytesGalore
0c034c9220
rpl: add DIS Solicited Information option
2018-06-04 18:10:22 +02:00
Marian Buschsieweke
b4b088be9e
shell_commands/ping6: Fixed bug in calculation of average round trip time
...
The average rout trip time has been to low in case packets were lost, as lost
packets were treated as if that had an RTT of 0.
2018-05-29 12:36:05 +02:00
Cenk Gündoğan
441f11ea45
gnrc_rpl: shell: adapt to evtimer for RPL events
2018-05-23 09:42:12 +02:00
Cenk Gündoğan
4c9e947d43
gnrc_rpl: adjust author and copyright
2018-05-22 23:46:55 +02:00
Bas Stottelaar
7781da7799
sys: netopt: add busy option
2018-05-21 16:37:38 +02:00
Bas Stottelaar
02395e593d
sys: netopt: add checksum option
2018-05-21 16:37:38 +02:00
Martine Lenders
dbccf06c5e
Merge pull request #8575 from miri64/shell/fix/6ctx
...
shell: adapt 6ctx command for NIB
2018-04-13 17:12:41 +02:00
PeterKietzmann
86c319aea7
pkg/ccn-lite:enable CS dump and rename shell command
2018-04-09 10:38:32 +02:00
Martine Lenders
ce807173ff
Merge pull request #8601 from bergzand/pr/netopt-link-status
...
netopt/drivers: Add phy link status output
2018-03-18 15:25:01 +00:00
9d61314c09
shell/netif: Add link status to interface status output
2018-03-18 15:32:40 +01:00
Cenk Gündoğan
92b761df2f
pkg: ccn-lite: minor changes to integrate latest ccn-lite features
2018-03-05 21:25:26 +01:00
Martine Lenders
ed0fbbb2a3
shell: adapt 6ctx command for NIB
...
This somehow was left by the wayside when we moved from the old ND to
the NIB. Also piggybacks some fixes.
2018-02-16 12:22:56 +01:00
4ec8f4c2fc
sys: instead of cpp-style, use C-style comments
2018-02-06 16:59:58 +01:00
Martine Lenders
e6fa76e9b0
shell_commands: sntp: increase default timeout
2018-01-30 21:07:26 +01:00
Martine Lenders
3c5d476f84
shell_commands: specify SNTP timeout time unit
2018-01-30 21:07:26 +01:00
smlng
928292f464
sys/shell: fix format error in debug output
2018-01-17 15:25:15 +01:00
Michel Rottleuthner
bbd8d67bf9
address request by miri64 (interface as shell param)
2018-01-14 16:55:14 +01:00
Michel Rottleuthner
3056104187
sc_sntp: set netif when using link local address
2018-01-12 19:09:37 +01:00
d4d18d99af
sys/shell: adapt ifconfig to work with sx127x devices
2017-12-14 16:13:39 +01:00
PeterKietzmann
4bd1d0ec9f
shell/netif: extend set state option
2017-12-13 15:26:03 +01:00
Cenk Gündoğan
b6581289a2
pkg: ccn-lite: adapt to v2
2017-12-01 16:14:27 +01:00
Peter Kietzmann
eb2c0e29ab
Merge pull request #8155 from RIOT-OS/revert-8009-revert-7238-pr_sc_ccnl_chunkdump
...
Revert "Revert "shell/ccnl: remove use of ccnl_wait_for chunk()""
2017-11-28 21:36:38 +01:00
smlng
b283b7784c
make: fix various compile errors with Wextra
...
pkg, nordic_softdevice_ble: disable CFLAGS to omit compiler error
sys, pm_layered: fix casting nonscalar to the same type
cpu, stm32_common: fix type-limits, remove always true assert
cpu, stm32f4: fix pointer arithmetic in periph/i2c
drivers, at86rf2xx: fix type-limits where condition always true
saul, gpio: fix if no gpio configured for saul
cpu, saml21: add frequency check to periph/timer
driver, cc110x: fix unused param and type-limts errors
boards, wsn430-common: fix old-style-declaration
make: fix old style definition
drivers, sdcard_spi: fix old style typedef
driver, at30tse: remove unnecessary check
driver, nrf24: fix type-limit
driver, pn532: change buffer from char to uint8_t
tests/driver_sdcard: fix type limits
boards, feather-m0: add missing field inits
driver, tcs37727: fix type limits
pkg, emb6: disable some compiler warnings
tests/emb6: disable some compiler warings
pkg, openthread: fix sign compare and unused params
tests/trickle: fix struct init
tests/pthread_cooperation: fix type limits
board, mips-malta: remove feature periph_uart
shell: fix var size for netif command
gnrc, netif: fix sign-compare
gnrc, nib: fix sign-compare
shell: fix output in netif command
posix: fix type-limits in pthread_cond
2017-11-28 18:31:43 +01:00
Martine Lenders
e8531383d2
Revert "Revert "shell/ccnl: remove use of ccnl_wait_for chunk()""
2017-11-27 21:40:54 +01:00
8a6d04ce52
Merge pull request #7925 from RIOT-OS/gnrc_netif2_integration/master
...
gnrc_netif2: gnrc_ipv6_nib: full integration into GNRC
2017-11-27 21:12:14 +01:00
Martine Lenders
a32a2a93e1
gnrc_ipv6_nib: add interface parameter to nc_del function
2017-11-27 20:32:27 +01:00
Martine Lenders
1bb9c968ed
shell_commands: add interface to nib neigh del
command
...
Neighbors are identified by an (IPv6 address, interface)-tuple so it
makes sense to also remove them by this.
2017-11-27 20:32:27 +01:00
Martine Lenders
086b74460b
Merge pull request #8145 from bergzand/pr/shell-nib-consistency
...
shell/nib: fix minor inconsistency
2017-11-27 18:38:11 +01:00
6ec2180c27
shell/nib: change prefix add lifetimes to seconds
2017-11-27 18:15:34 +01:00
866613309f
shell/nib: display optional arguments as optional
2017-11-27 18:15:34 +01:00
smlng
b455eece85
shell, neitf: fix output
2017-11-27 13:20:03 +01:00
smlng
5198788323
shell, nib: fix nib neigh delete
2017-11-27 11:09:49 +01:00
20d050a42e
shell_commands: Add multicast groups to ifconfig command
2017-11-19 22:32:47 +01:00
Cenk Gündoğan
ec671c0a32
Merge pull request #8077 from miri64/shell/fix/6ctx-no-rtr-adv
...
shell: do not advertise reactively in 6ctx command
2017-11-19 02:22:31 +01:00
Martine Lenders
c5fc7c44cd
shell: do not advertise reactively in 6ctx command
...
After thinking about it a bit, I decided to remove the reactive
advertisement of context information all together in the shell command.
RFC 6775 does not explicitly forbids, but it discourages multicast RAs,
which would be the alternative.
2017-11-17 16:32:14 +01:00
Martine Lenders
0f9d266af2
shell: adapt nib route
command for route lifetime
2017-11-17 13:44:59 +01:00
Martine Lenders
31b1ceb440
gnrc_netif2: rename to gnrc_netif
2017-11-17 10:41:54 +01:00
Martine Lenders
636ef2a498
gnrc: remove legacy neighbor discovery code
2017-11-17 09:20:30 +01:00
Martine Lenders
71a7dbf918
gnrc: remove legacy network interface structures
2017-11-17 09:20:29 +01:00
Martine Lenders
7ecafb7909
Merge pull request #7961 from miri64/shell_commands/fix/sc_netif2
...
shell_commands: fix sc_gnrc_netif2 for MSP430
2017-11-17 06:21:11 +01:00
Hauke Petersen
86501e5e86
sys/shell: remove x86_lspci shell command
2017-11-16 13:45:32 +01:00
Vincent Dupont
012264cb0e
shell/sc_rtc: remove rtc init command
2017-11-13 18:44:15 +01:00
Vincent Dupont
92dfd8a347
shell_commands: fix rtc shell command
2017-11-09 13:11:55 +01:00
Martine Lenders
a7d2c65b36
gnrc_ipv6_nib: port to gnrc_netif2
2017-11-08 20:18:53 +01:00
Martine Lenders
861035f22d
gnrc: integrate gnrc_netif2
...
Not link-able, since NDP and NC are missing (intentionally)
2017-11-07 19:08:44 +01:00
Martine Lenders
c30fea4638
shell_commands: fix sc_gnrc_netif2 for MSP430
2017-10-12 15:37:50 +02:00
Martine Lenders
d8a97a127b
Merge pull request #7663 from aabadie/ifconfig_standby
...
sys/shell/netif: add 'standby' state setter
2017-10-10 20:27:04 +02:00
Martine Lenders
558accbe1a
shell_commands: port ifconfig command for gnrc_netif2
2017-10-10 20:14:42 +02:00
Martine Lenders
e1a37a01ac
shell: commands: extend nib shell command for forwarding table
2017-10-06 23:01:10 +02:00
Martine Lenders
32746b45ac
shell: commands: extend nib shell command for prefix list
2017-10-06 15:35:41 +02:00
Cenk Gündoğan
11baf130a3
Merge pull request #6988 from miri64/gnrc_ipv6_nib/feat/nc-component
...
gnrc_ipv6_nib: add neighbor cache component
2017-10-06 11:57:46 +02:00
Martine Lenders
40be23b551
shell: commands: add nib shell command
2017-10-06 11:33:13 +02:00
9ebd407a7c
sys/shell/netif: add 'standby' state setter
2017-10-01 14:14:30 +02:00
Martine Lenders
2681ec167b
Merge pull request #7643 from gebart/pr/ifconfig-standby
...
shell/ifconfig: Add STANDBY, print numeric if unknown state
2017-09-25 09:40:06 +02:00
Joakim Nohlgård
8022227f3b
shell/ifconfig: Add STANDBY, print numeric if unknown state
2017-09-25 07:41:41 +02:00
Joakim Nohlgård
271a037539
sc_netif: Add NETOPT_MAC_NO_SLEEP to ifconfig command
2017-09-24 10:28:40 +02:00
Hauke Petersen
27361a5c73
Merge pull request #6690 from lebrush/fix/export-features
...
make: fix export features
2017-09-08 11:35:21 +02:00
Vincent Dupont
6965134555
sc_vfs: add write command
2017-08-08 18:14:59 +02:00
smlng
ff76b60d5e
shell: remove feature guards from sc_rtc
2017-07-24 12:14:42 +02:00
Vincent Dupont
8ad59e35cf
sc: add CAN basic send and dump commands
2017-06-19 15:36:20 +02:00
Cenk Gündoğan
9a62bb8307
shell: sc_gnrc_rpl: adjust to trickle enhancements
2017-06-09 09:03:24 +02:00
smlng
1187376d9a
shell: add param checks to rtc commands settime and setalarm
2017-06-07 15:56:40 +02:00
Cenk Gündoğan
3c73d07e04
Merge pull request #7026 from smlng/shell/ccn_lite_cmd_fixup
...
shell: fix _ccnl_content command
2017-05-30 15:35:34 +02:00
Vincent Dupont
ee7a776a9f
Merge pull request #7059 from OTAkeys/pr/fix_ls_handler
...
sc_vfs: fix _ls_handler
2017-05-24 17:55:52 +02:00
Vincent Dupont
151c469d9e
sc_vfs: fix _ls_handler
...
Calls to vfs_closedir were missing at the end of _ls_handler causing umount
ro return an error.
2017-05-24 12:10:52 +02:00
Hauke Petersen
d488fdc1e3
sys/drivers: guard l2filter.h, netstats.h includes
2017-05-23 13:39:49 +02:00
Cenk Gündoğan
b2c692b65f
Merge pull request #7028 from PeterKietzmann/pr_shell_ccnl_retrans
...
shell/ccnl: remove interest retransmission
2017-05-19 16:07:24 +02:00
Hauke Petersen
359a89f28b
sys/shell/netif: enable setting of L2 addr filters
2017-05-18 15:24:26 +02:00
Peter Kietzmann
77f375416c
shell/ccnl: remove interest retransmission
2017-05-15 11:49:17 +02:00
3d48eee095
cleanup: apply remove_atoi_casts.cocci (coccinelle)
2017-05-13 12:39:48 +02:00
d347ec04f5
Merge pull request #7005 from OTAkeys/pr/fix_shell_no_echo
...
sys/shell: fix build when SHELL_NO_ECHO is defined
2017-05-11 19:38:59 +02:00
smlng
f40e70777a
shell: fix _ccnl_content command
2017-05-11 11:26:19 +02:00
Peter Kietzmann
6d85c8230b
Merge pull request #7022 from cgundogan/pr/ccnl_buf_ptr_off_by_one
...
ccn-lite: shell: do not count white space after single word
2017-05-09 15:48:17 +02:00
Cenk Gündoğan
3db032d41e
ccn-lite: shell: free all memory, not just prefix struct
2017-05-09 10:11:39 +02:00
Cenk Gündoğan
4dd8bd13d2
ccn-lite: shell: free prefix after preparing the content
2017-05-09 10:07:03 +02:00
Cenk Gündoğan
bbf8de0dbd
ccn-lite: shell: do not count white space after single word
...
If a single word is added to the content cache via `ccnl_cont /TEST
hello`, then the resulting wireshark dump of a successful `ccnl_int
/TEST` will contain a TLV of len(hello) plus 1 (whit space). By
incrementing `buf_ptr` only for loop iterations `> 2` fixes this. As a
bonus, I removed the superfluous `memset` to white space, as the buffer
is correctly terminated with a '\0' character.
2017-05-09 09:44:42 +02:00
Vincent Dupont
669a6922f3
sys/shell: fix build when SHELL_NO_ECHO is defined
...
When SHELL_NO_ECHO was defined and not SHELL_NO_PROMPT build was broken
because _putchar was not defined.
This define _putchar when one of SHELL_NO_PROMPT or SHELL_NO_ECHO is not
defined.
2017-05-04 15:49:22 +02:00
smlng
41c43fd837
rpl: make parent lifetime consistent with other timers
2017-04-25 20:09:41 +02:00
smlng
6d4095132c
sys: shell: gnrc_6ctx: further fix gnrc_6ctx_add error handling
2017-04-24 10:08:46 +02:00
7c20266a22
sys: shell: gnrc_6ctx: fix gnrc_6ctx_add error handling
2017-04-20 23:40:22 +02:00
Oleg Hahm
ffe2f68a66
shell: rpl: fix cppcheck warning
2017-04-14 14:36:15 +02:00
Victor Arino
f0ff5a113f
shell: build rtc if available
2017-04-10 09:06:47 +02:00
Martine Lenders
ad38750587
Merge pull request #6693 from miri64/sntp/enh/real-time-types
...
sntp: extend API for common real time types
2017-03-29 09:05:56 +02:00
Martine Lenders
48fa957ab6
shell_commands: adapt shell command for new real time types
2017-03-28 21:13:17 +02:00
Martine Lenders
529a88ca26
shell_commands: fix sc_vfs warnings
2017-03-22 13:20:12 +01:00
Joakim Nohlgård
dcc37329df
sys/vfs: A virtual file system (VFS) layer for RIOT
...
The VFS layer provides file system abstractions to allow using a unified
interface to access files from mounted file systems.
2017-03-07 17:59:57 +01:00
Peter Kietzmann
02f03beb5c
Merge pull request #6591 from haukepetersen/rm_ltc4150
...
drivers: remove outdated ltc4150 driver
2017-02-16 15:11:12 +01:00
Hauke Petersen
6e6a14f449
drivers: remove outdated ltc4150 driver
2017-02-13 14:08:34 +01:00
Martine Lenders
5e983db605
gnrc_zep: remove gnrc_zep
...
This ZEP implementation is based on `gnrc_netdev`, it is complicated to
use, I'm not even sure anyone used it except me or if it is working
still. See #6121 for a better port of ZEP.
2017-02-07 17:41:28 +01:00
Oleg Hahm
4f4214235b
timex: unambiguous time conversion macros
2017-01-19 13:18:08 +01:00
Oleg Hahm
df7927dc94
shell: introduce txtsnd pseudomodule
...
This commit allows to enable/disable the txtsnd shell command. The
command is used to send strings over L2 in GNRC. Until now the command
was automatically enabled if GNRC and shell_commands were present, which
may lead to confusion if no L2 packet handler is registered.
2017-01-18 20:58:56 +01:00
Hauke Petersen
d0301dfa34
sys/newlib+shell: use pm_reboot() for reboot()
2017-01-13 10:17:58 +01:00
smlng
374fd3cd66
cppcheck: fix warning in sc_saul_reg
2016-12-21 14:30:42 +01:00
smlng
d17e57310f
shell: fix strtok_r compile error
2016-12-20 19:44:46 +01:00
Joakim Nohlgård
7c48c891a0
xtimer: Update xtimer usage to match API changes
2016-11-29 20:44:31 +01:00
Luminita
cf3f02c2e1
sntp: initial import
2016-10-30 22:00:02 +01:00
Hauke Petersen
bc232a5642
Merge pull request #5524 from miri64/gnrc_netreg/api/helper-macro
...
gnrc_netreg: introduce helper macro/function for entry init
2016-10-25 21:21:25 +02:00
Martine Lenders
dc45cd2610
gnrc: use new netreg helper functions everywhere
2016-10-25 18:47:30 +02:00
smlng
4c44a931b7
shell, netstats: fix unused function error
2016-10-24 19:52:15 +02:00
smlng
3b02e08dea
shell: exclude hl and stats from usage if module not present
2016-10-21 21:32:11 +02:00
Martine Lenders
4e8659c72a
shell: ncache: Fix #5930
2016-10-12 15:00:32 +02:00
Martine Lenders
6f0018f66a
Merge pull request #5694 from miri64/gnrc/enh/0-length-payload
...
gnrc_pktbuf: allow for 0-sized payload snips
2016-09-28 07:09:23 +02:00
Cenk Gündoğan
cfb487ffc4
gnrc_rpl: shell: add 'rpl stats' cmd to shell
2016-09-27 20:40:04 +02:00
Oleg Hahm
3c61787b81
Merge pull request #5816 from makomi/shell
...
sys/shell: fix cppcheck warnings
2016-09-23 18:49:06 +02:00
Matthias Kolja Miehl
1d1e6c44e4
sys/shell: fix cppcheck warnings
2016-09-13 22:07:57 +02:00
Oleg Hahm
0703d80563
Merge pull request #5661 from OlegHahm/ccnl_update
...
pkg: ccn_lite update
2016-08-29 16:16:22 +02:00
Ludwig Knüpfer
fcb08fac04
Merge pull request #5756 from kaspar030/remove_config
...
sys: remove config module
2016-08-27 10:17:51 +02:00
b3a061e0ab
sys: remove config module
2016-08-27 07:57:09 +02:00
Martine Lenders
2c5fbab3ff
Merge pull request #5525 from miri64/gnrc/enh/dispatch-send
...
gnrc: use gnrc_netapi_dispatch_send() instead of manual iteration
2016-08-25 14:21:19 +02:00
Oleg Hahm
d705cf864b
shell ccn-lite: check for max ifcount
2016-08-18 16:24:39 +02:00
Oleg Hahm
813a6fa86c
pkg ccn-lite: update documentation and prototype
2016-08-18 16:24:39 +02:00
Martine Lenders
72d177074b
gnrc: use gnrc_netapi_dispatch_send() instead of manual iteration
2016-08-12 14:06:58 +02:00
Martine Lenders
3feb38611b
Revert "shell: set NULL pointer for data pakets with zero-length payload"
...
This reverts commit 1ae7bc23d8
.
2016-07-26 19:57:25 +02:00
Aaron Sowry
1ae7bc23d8
shell: set NULL pointer for data pakets with zero-length payload
2016-06-09 10:01:17 +12:00
Aaron Sowry
384fce3ae7
shell: Enable setting acknowledgement request flag from shell
2016-06-07 23:08:00 +12:00
7718f114cb
all: remove pointer casts for msg.content.ptr
2016-06-02 23:13:42 +02:00
Oleg Hahm
cc0e8d5b36
Merge pull request #5474 from aabadie/iotlab_no_shell
...
sys/shell: fix build issue when deactivating shell echo (iotlab)
2016-06-01 23:01:34 +02:00
Oleg Hahm
d1d1c4ee6d
Merge pull request #5377 from miri64/shell/fix/icmpv6-cmd-cast
...
shell: commands: ping6: fix operator order for casting
2016-05-31 22:56:37 +02:00
Martine Lenders
a3a02a09be
shell: commands: ping6: fix operator order for casting
2016-05-31 18:04:19 +02:00
0c4b760f11
sys/shell: fix build issue when deactivating shell echo (iotlab)
2016-05-29 14:21:11 +02:00
fdf12d01b3
sys/shell: adding definition for deactiving prompt and/or echo in shell
2016-05-26 09:36:23 +02:00
Oleg Hahm
6707c20b7d
netstats: initial import of IPv6 netstats
2016-05-25 14:44:53 +02:00
Francesco Ermini
9fa4684203
drivers/xbee: encryption support
...
add encryption to drivers
fix new line at the end of file
add shell command for enable encryption and set encryption key on a given device
modify _net_if_set_encrypt_key to support any key length
modify _net_if_set_encrypt_key to support any key length of the key
modify blank line
fix ace before tab in indent
fix ace before tab indent
fix ace before tab indent an error
fix trailing white space
drivers/xbee: encryption support
add encryption to drivers
fix new line at the end of file
add shell command for enable encryption and set encryption key on a given device
modify _net_if_set_encrypt_key to support any key length
modify _net_if_set_encrypt_key to support any key length of the key
modify blank line
fix ace before tab in indent
fix ace before tab indent
fix ace before tab indent an error
fix trailing white space
modify drivers/xbee/xbee.c
fix white spaces on xbee.c
Update xbee encryption driver
white line at end xbee.h
fix error
fix sc_netif.c
fix rebase master interactive
drivers/xbee: encryption support
add encryption to drivers
fix new line at the end of file
add shell command for enable encryption and set encryption key on a given device
modify _net_if_set_encrypt_key to support any key length
modify _net_if_set_encrypt_key to support any key length of the key
modify blank line
fix ace before tab in indent
fix ace before tab indent
fix ace before tab indent an error
fix trailing white space
drivers/xbee: encryption support
add encryption to drivers
fix new line at the end of file
add shell command for enable encryption and set encryption key on a given device
modify _net_if_set_encrypt_key to support any key length
modify _net_if_set_encrypt_key to support any key length of the key
modify blank line
fix ace before tab in indent
fix ace before tab indent
fix ace before tab indent an error
fix trailing white space
modify drivers/xbee/xbee.c
fix white spaces on xbee.c
Update xbee encryption driver
white line at end xbee.h
fix error
fix rebase conflict 4
fix same missing in patches changes
fix ascii to hex index parser
fix syntax rules
fix syntax issue 2
add _netopt_strmap NETOPT_ENCRYPTION e NETOPT_ENCRYPTION_KEY
fix trailng white spaces
2016-04-20 17:43:09 +02:00
Cenk Gündoğan
2d8c3b47df
shell: icmpv6_echo: guard call to *_nc_still_reachable
2016-04-14 22:05:23 +02:00
Peter Kietzmann
3fa8a267b3
Merge pull request #5155 from OlegHahm/diskio_cleanup
...
doc diskio: RIOTized style and added doxygen
2016-03-30 15:14:25 +02:00
Oleg Hahm
1f4d73dde1
Merge pull request #4801 from OlegHahm/netstats
...
netstats: introduce L2 netstats
2016-03-30 14:42:49 +02:00
Oleg Hahm
0925737e28
doc diskio: RIOTized style and added doxygen
2016-03-30 12:54:51 +02:00
Cenk Gündoğan
9dbfdcac0b
Merge pull request #4279 from BytesGalore/fib_prefix_handling_change
...
fib: changed handling of the net prefix by the FIB
2016-03-30 11:19:49 +02:00
BytesGalore
1bc9c3bfd2
fib: changed handling of the net prefix
...
Until now the prefix length has been determined automatically by the FIB
This PR changes it to be provided as msb(yte) in the global_flags of an entry
2016-03-30 10:05:05 +02:00
Oleg Hahm
4d70c0d52b
shell: introduce parameter to reset netstats
2016-03-29 22:34:09 +02:00
Oleg Hahm
021e94ee6a
netdev2: introduce linklayer netstats
2016-03-29 22:34:09 +02:00
Oleg Hahm
a8f2d2df67
netstats: netapi_get and shell command
2016-03-29 22:29:58 +02:00
Oleg Hahm
376874284b
Merge pull request #3721 from cgundogan/pr/rpl/gnrc_rpl_p2p
...
rpl: introducing P2P-RPL
2016-03-29 19:04:27 +02:00
Oleg Hahm
5db537fbab
ccn-lite: add shell function to remove FIB entry
2016-03-24 18:48:08 +01:00
Oleg Hahm
d3ddbf3223
shell: adapt ccnl commands to changed API
...
Also removes some code duplication
2016-03-24 18:48:08 +01:00
Oleg Hahm
279de8ebe6
pkg ccn-lite: added CCN-Lite FIB shell command
2016-03-24 18:48:08 +01:00
Oleg Hahm
587a435a71
pkg ccn-lite: adapt to updated CCN-Lite version
2016-03-24 18:48:08 +01:00
Cenk Gündoğan
c8c8a183d9
rpl: p2p-rpl shell extension
2016-03-24 12:12:07 +01:00
Cenk Gündoğan
b5c09bfc41
rpl: introducing p2p-rpl
2016-03-24 12:12:07 +01:00
Oleg Hahm
991c71cf27
gnrc ipv6: use ipv6_addr_t ptr for hdr_build
2016-03-23 15:20:12 +01:00
Oleg Hahm
952bd0c7ef
ping: use IPv6 header build instead of generic one
2016-03-23 15:20:12 +01:00
Cenk Gündoğan
40349dfa9b
gnrc_rpl: shell: show iface of dodag
2016-03-23 10:12:01 +01:00
Oleg Hahm
d1ccfea80a
Merge pull request #5129 from cgundogan/pr/gnrc_rpl/minor_cleanup
...
gnrc_rpl: minor enhancements
2016-03-22 17:26:21 +01:00
Oleg Hahm
1787cb6ed2
Merge pull request #5019 from cgundogan/pr/fib/flush
...
fib: flush entries
2016-03-22 17:16:48 +01:00
Cenk Gündoğan
fc75ff9b29
gnrc_rpl: minor fixes and enhancements
2016-03-22 16:50:16 +01:00
Oleg Hahm
d83f77531e
shell: fix condition for ping command
2016-03-20 18:48:00 +01:00
Joakim Nohlgård
3f5bf480fb
Merge pull request #4304 from authmillenon/shell/fix/address-ltime
...
shell: sc_netif: set valid lifetime for manual addresses to infinity
2016-03-16 14:26:57 +01:00
Cenk Gündoğan
3e51233341
sc_gnrc_rpl.c: rename req_opts to dio_opts
2016-03-16 14:16:15 +01:00
Martine Lenders
480354f4ce
shell: sc_netif: set valid lifetime for manual addresses to infinity
2016-03-16 13:59:59 +01:00
Ludwig Knüpfer
e58786385e
Merge pull request #5022 from cgundogan/pr/rpl/do_not_use_PRIu8
...
gnrc_rpl: do not use PRIu8/PRIi8
2016-03-11 19:08:02 +01:00
Cenk Gündoğan
a9bacc724f
shell_commands.c: more generic rpl info text
2016-03-11 08:46:03 +01:00
Cenk Gündoğan
1226941be6
gnrc_rpl: do not use PRIu8/PRIi8
2016-03-10 22:51:12 +01:00
Cenk Gündoğan
60f917b3d1
sc_fib.c: add shell command to flush the fib
2016-03-09 17:31:48 +01:00
Oleg Hahm
6df4111e49
shell: improved online documentation for txtsnd
2016-03-09 13:41:21 +01:00
Hauke Petersen
af48dadb26
Merge pull request #4807 from gebart/pr/saul-lis3dh
...
drivers/lis3dh: Add SAUL support
2016-03-02 13:23:29 +01:00
Martine Lenders
754a028929
Merge pull request #4907 from haukepetersen/opt_saul_reg_globalvar
...
sys/saul_reg: made registry a global variable
2016-03-01 14:23:07 +01:00
ded39b461e
sys: random: rename genrand_* to random_*
2016-02-29 21:33:17 +01:00
Martine Lenders
2ea563cd8f
sc_netif: check for NULL pointers on send
2016-02-28 06:44:03 +01:00
Hauke Petersen
3d63db5aed
sys/saul_reg: made registry a global variable
2016-02-26 16:37:02 +01:00
Martine Lenders
a66ce9c3eb
Merge pull request #4784 from authmillenon/gnrc_pkt/api/search-type-function
...
gnrc_pkt: provide type search function
2016-02-15 13:33:45 +01:00
Joakim Nohlgård
2108b85d85
saul: add missing doxygen opening comment
2016-02-13 21:25:13 +01:00
Cenk Gündoğan
f93ee8d49d
sc_gnrc_rpl: show state of PIO transmission
2016-02-13 11:29:18 +01:00
Oleg Hahm
4824a45c8a
Merge pull request #4732 from cgundogan/pr/rpl/pio_control
...
rpl: make PIOs in DIOs configurable and send them out always or never
2016-02-11 23:53:51 +01:00
Oleg Hahm
30e9bddee5
Merge pull request #4790 from OlegHahm/ping6_netif_init
...
shell ping6: initialize netif header
2016-02-11 22:14:02 +01:00
Oleg Hahm
3b46ddf0f4
shell ping6: initialize netif header
2016-02-11 14:52:25 +01:00
Martine Lenders
379703ae3a
gnrc: use gnrc_pkt_search_type instead of LL_SEARCH_SCALAR
2016-02-11 01:05:02 +01:00
Oleg Hahm
ea0a913d71
shell: reorder netif output
2016-02-09 17:57:03 +01:00
Oleg Hahm
514cbccfa3
shell: add option for link layer retransmissions
2016-02-09 17:54:00 +01:00
Yonezawa-T2
13a49efce6
shell: rewrote to use new ipv6_addr_split function
2016-02-08 12:43:22 +09:00
951f1300a0
sys: shell: ping6: require device parameter for link-local addresses
2016-02-05 18:13:34 +01:00
Cenk Gündoğan
d8f30150b4
rpl: shell: adjust style of commands output
2016-02-03 09:00:30 +01:00
Cenk Gündoğan
73fac82b58
rpl: shell: don't compile PIO code dependent on CFLAGS
2016-02-03 08:59:51 +01:00
Cenk Gündoğan
288212af36
rpl: shell: make PIO transmission configurable via shell
2016-02-03 08:59:27 +01:00
Hauke Petersen
35eb99a46e
Merge pull request #3984 from kaspar030/simplify_reboot
...
core: cpu: sys: simplify reboot()
2016-01-29 14:24:08 +01:00
BytesGalore
10ea1226bc
gnrc/ipv6: add blacklisting of IPv6 addresses
2016-01-28 21:50:43 +01:00
Cenk Gündoğan
d58e1385b2
ndp/internal: fix pio flags for rtr adv
2016-01-28 14:03:19 +01:00
938ff5c5e7
core: cpu: sys: simplify reboot()
2016-01-27 13:30:01 +01:00
Cenk Gündoğan
d2555af269
sc_random.c: use a default seed if no xtimer is present
2016-01-26 23:28:18 +01:00
Oleg Hahm
e772ef5c39
shell: netif: initialize local variable
2016-01-21 15:00:59 +01:00
Yonezawa-T2
b37d6337bf
shell: fixed ncache arguments parsing
2016-01-13 10:02:36 +09:00
Martine Lenders
86bf9ae4c4
Merge pull request #4584 from BytesGalore/quickfix_default_route_shell
...
shell fib: recognize the default route as net prefix
2016-01-06 15:33:44 +01:00
BytesGalore
b8ba3f589f
shell fib: recognize the default route as net prefix
2016-01-06 15:51:44 +01:00
Martine Lenders
950b80cce7
shell: commands: fix nano specs issues for ifconfig command
2016-01-05 23:17:07 +01:00
Martine Lenders
921f9d440c
shell: commands: fix nano specs issues for ping6 command
2016-01-05 23:17:07 +01:00
Thomas Eichinger
56d61d4be7
Merge pull request #4444 from Yonezawa-T2/fix_clang_warnings_for_os_x
...
fix warnings/errors thrown by clang on OS X
2015-12-10 10:51:47 +01:00
Oleg Hahm
759ec83514
shell ccnl: properly initialize buffers
2015-12-10 07:23:22 +01:00
Oleg Hahm
395141fd22
shell ccnl: break & print after receiving content
2015-12-10 07:23:22 +01:00
Yonezawa-T2
c36766a31f
OSX: fix warnings/errors thrown by clang on OS X
...
gnrc_ipv6_nc, gnrc_sixlowpan, gnrc_netdev2_eth, gnrc_ipv6, xbee, sixlowpan,
sc_gnrc_6ctx
2015-12-10 11:23:56 +09:00
Oleg Hahm
a3bd67da2b
shell ccnl: PRNG should be initialized only once
...
Initialization of PRNG is taken care of by CCN-Lite.
2015-12-09 00:12:37 +01:00
Oleg Hahm
13958178f5
shell: move ccnl commands from example to shell
2015-12-08 11:27:03 +01:00
Cenk Gündoğan
69a493a613
rpl: shell: only print the first 32 bits of the trickle intervals
2015-12-05 07:35:31 +01:00
Cenk Gündoğan
c56f8530ad
rpl: shell: do not use PRIu64
2015-12-04 15:42:18 +01:00
Lucas Jenß
80b771af5e
Merge pull request #4266 from A-Paul/shell_ping6_addrerr
...
ping6: dedicated message at address parsing error
2015-12-04 09:27:01 +01:00
Andreas "Paul" Pauli
46f3729798
ping6: dedicated message at address parsing error
2015-12-02 14:34:10 +01:00
e53dc6f5e2
Merge pull request #3538 from haukepetersen/add_sensif_actif
...
Introducing SAUL, the [S]ensor [A]ctuator [U]ber [L]ayer
2015-12-01 11:01:20 +01:00
Hauke Petersen
7accaa7b74
sys/shell: removed shell cmds for SAULified sensors
...
- isl29020
- l3g4200d
- lps331ap
- lsm303dlhc
2015-11-30 20:33:55 +01:00
Hauke Petersen
9d5a39cc3b
sys/shell: added shell command for SAUL
2015-11-30 20:33:54 +01:00
Jonas
4ab55873dd
implement cca_threshold settings to shell
2015-11-30 13:15:25 +01:00
Martine Lenders
4366d9d29c
shell: sc_netif: show and manipulate router related flags
2015-11-24 20:00:48 +01:00
5926b50b85
Merge pull request #4079 from kaspar030/add_minstd_prng
...
sys: random: modularize PRNG module, add LCG alternatives
2015-11-24 10:03:51 +01:00
565d3ca72f
sys: shell: renamed mersenne_* to random_*
2015-11-24 06:52:39 +01:00
Cenk Gündoğan
58de2cf1a7
Merge pull request #4280 from thomaseichinger/pr/fix_osx_again
...
net/fib: shell: fix warnings/errors thrown by clang on OS X
2015-11-23 15:50:46 +01:00
test
bbe1b6f125
rpl: reuse xtimer for cleanup
2015-11-17 19:00:18 +01:00
BytesGalore
711677eb7b
fib: shell removed to set flags automatically to IP type
2015-11-17 17:10:36 +01:00
Thomas Eichinger
32a2bacc8d
shell/sc_netif: fix clang formating warning/error
2015-11-16 16:06:13 +01:00
Cenk Gündoğan
f7934e336a
Merge pull request #4238 from authmillenon/shell_command/fix/zep-deps
...
shell_command: only include sc_zep.c when gnrc_zep AND ipv6_addr are present
2015-11-12 10:16:57 +01:00
Oleg Hahm
ee33e6941b
shell ping6: do not try to parse address as count
...
The first parameter should be handled as count only if there are at least two parameters given.
2015-11-11 16:03:39 +01:00
Cenk Gündoğan
bf5e9b4351
rpl: use uint32_t for the parent lifetime
2015-11-09 20:28:31 +01:00
Cenk Gündoğan
4bcffbc2aa
Merge pull request #4210 from authmillenon/shell/enh/xtimerfy-sc-icmpv6
...
shell: xtimerfy sc_icmpv6
2015-11-09 16:20:34 +01:00
Martine Lenders
33957f94fe
shell: xtimerfy sc_icmpv6
2015-11-09 15:39:44 +01:00
Cenk Gündoğan
ce6b6b84fc
rpl: decrease default numbers
2015-11-09 14:56:51 +01:00
Martine Lenders
fe94aa0216
shell_command: only include sc_zep.c when gnrc_zep AND ipv6_addr are present
...
Currently it is included when gnrc_zep OR ipv6_addr are present
2015-11-09 13:09:30 +01:00
Martine Lenders
8fc736a58f
Merge pull request #4223 from OlegHahm/shell_netif_ipv6
...
shell netif: set correct MTU
2015-11-04 13:09:23 +01:00
Oleg Hahm
ee0f64bf36
shell netif: support setting the IPv6 hop limit
2015-11-04 18:16:40 +09:00
Oleg Hahm
67def10a80
shell netif: set correct MTU
2015-11-04 18:15:12 +09:00
Cenk Gündoğan
8af4a705b3
Merge pull request #4143 from OlegHahm/ping_live_stats
...
shell: periodic statitics for ping6
2015-10-31 07:19:27 +01:00
Oleg Hahm
af6d102162
shell: add ping6 parameter for periodic stats
2015-10-31 10:03:22 +09:00
Joakim Nohlgård
7635d3e94d
netopt: Add support for IEEE 802.15.4 channel page option
2015-10-30 09:59:53 +01:00
Cenk Gündoğan
c175273f96
Merge pull request #3693 from OlegHahm/remove_superfluous_icmpv6_hdr_build_functions
...
icmpv6: remove superfluous header build functions
2015-10-27 20:06:02 +01:00