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