1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

549 Commits

Author SHA1 Message Date
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