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
Oleg Hahm
1d47cb6826
shell: move stats printing into its own function
2015-10-25 23:58:57 +00:00
Oleg Hahm
025c85f8dc
shell: simplify ping6 parameter parsing
...
Removes some duplication.
2015-10-23 14:59:06 +00:00
Cenk Gündoğan
d64fdbba3a
rpl: refactoring of instances and dodags
2015-10-21 18:02:16 +02:00
Cenk Gündoğan
7e67f9e777
sys/shell/commands/sc_gnrc_rpl: don't calculate cleanup timer twice
2015-10-09 14:27:18 +02:00
Cenk Gündoğan
dbe64987e1
Merge pull request #3688 from cgundogan/pr/rpl/leaf_node_operation
...
rpl: leaf/router node operation
2015-10-09 14:14:28 +02:00
Cenk Gündoğan
5d6ed7379d
Merge pull request #3720 from cgundogan/pr/rpl/instance_id_generation
...
rpl: instance id generation
2015-10-08 16:39:55 +02:00
Cenk Gündoğan
70c3be6f9e
sc_gnrc_rpl.c: cmd for operation as leaf or router
2015-10-05 11:34:39 +02:00
Oleg Hahm
9be2ea4285
Merge pull request #4028 from authmillenon/ifconfig/enh/6lo-ro
...
shell: ifconfig: fixes
2015-10-03 01:12:25 +02:00
Oleg Hahm
43c0d6129e
shell ping: drop & consume duplicates immediately
2015-10-02 22:33:38 +02:00
Oleg Hahm
c92d35e1de
shell: ping: set timeout to 1 second
2015-10-02 22:33:30 +02:00
Martine Lenders
1824f2d91a
shell: ifconfig: remove unused variable
2015-10-02 16:45:21 +02:00
Martine Lenders
ef9a9b0e4f
shell: ifconfig: make 6lo flag read-only
2015-10-02 16:43:03 +02:00
Peter Kietzmann
10bddd5ca6
Merge pull request #3755 from daniel-k/pr/at30tse75x
...
drivers/at30tse75x: add device driver for AT30TSE75x temperature sensor
2015-10-02 14:55:04 +02:00
daniel-k
396b76c039
drivers/at30tse75x: add device driver for AT30TSE75x temperature sensor
2015-10-02 13:34:21 +02:00
Oleg Hahm
e3045e8afe
shell: drop duplicate ICMPv6 echo responses
2015-09-30 23:21:29 +02:00
Oleg Hahm
dbfe1c03cd
Merge pull request #3991 from authmillenon/gnrc_netapi/fix/recover_msg
...
gnrc_netapi: recover from message send errors
2015-09-30 17:08:13 +02:00
Cenk Gündoğan
3f238980f7
rpl: incremental instance id generation
2015-09-29 19:34:59 +02:00
Martine Lenders
891450d29d
gnrc_netapi: recover from message send errors
2015-09-29 16:58:08 +02:00
Martine Lenders
a5c23f4c90
shell: provide shell command for whitelist
2015-09-28 16:59:53 +02:00
Ludwig Knüpfer
eda6328e21
documentation: update my name (Ortmann -> Knüpfer)
2015-09-27 18:58:30 +02:00
Oleg Hahm
63fda9e900
6lowpan: remove tentative flag for local addresses
...
There's no real need for this flag, but it causes problem during address registration.
2015-09-24 13:33:10 +02:00
Martine Lenders
cc9aa3550d
shell_commands: provide command for 6Lo context administration
2015-09-24 01:36:53 +02:00
Martine Lenders
53fd4b6239
sc_ipv6_nc: Use more letters for type
...
I was myself a little confused when I saw `R` for a registered address,
since I interpreted it as "router" (though the node wasn't supposed to
be a router). After a wild goose chase for wrongly set flags through the
code I found that `R` stands for "REGISTERED". To prevent such a thing
in the future I opted for fixing this in the output.
2015-09-18 15:59:33 +02:00
Martine Lenders
802e229bcb
gnrc_sixlowpan_nd: register new addresses for AAC
2015-09-18 00:23:12 +02:00
Martine Lenders
08a3f0baf5
posix: net_help: move inet_pton/inet_ntop completely to POSIX
2015-09-17 02:36:08 +02:00
5a485c3f73
sys: net: fib: switch to xtimer
2015-09-16 10:58:56 +02:00
Cenk Gündoğan
3609dce47d
sc_gnrc_rpl: adjust rpl shell for xtimer usage
2015-09-16 10:58:56 +02:00
fcb666dff9
sys: shell: mersenne: adapt to xtimer
2015-09-16 10:58:51 +02:00
Cenk Gündoğan
067c029f92
sc_gnrc_rpl: adjust to xtimer for trickle
2015-09-16 10:58:51 +02:00
Oleg Hahm
e65cc8dc6d
shell: initialize l2 addr length variable
2015-09-11 21:44:25 +02:00
Oleg Hahm
000caf4e87
shell: exit early if no IPv6 interface is found
2015-09-11 21:44:25 +02:00
Martine Lenders
14ae02d768
sc_netif: piggy-back some style fixes
2015-09-11 13:14:21 +02:00
Martine Lenders
3364782614
shell: fix output for ifconfig
2015-09-11 13:13:55 +02:00
DipSwitch
a3062dd8c2
rpl: RPL Instance ID 0 must be allowed
2015-09-08 09:20:20 +02:00
d7b9053e23
sys: shell: work around inlined putchar
2015-09-04 19:38:16 +02:00
Hauke Petersen
076e9db374
Merge pull request #3402 from kaspar030/simplify_shell
...
sys: simplify shell
2015-09-03 15:27:01 +02:00
13995e878f
sys: shell: get rid of some parameters
2015-09-03 13:33:18 +02:00
Thomas Eichinger
c5a141393c
shell/netif: fix wrong type for formating
2015-09-03 11:49:57 +02:00
Oleg Hahm
6786da07e2
Merge pull request #3628 from authmillenon/ng_ndp/enh/0-length-addr
...
gnrc_ndp: add support for address-less link-layers
2015-09-02 13:53:22 +02:00
Martine Lenders
6e0a44705b
sc_ipv6_nc: add capability for address-less link-layers
2015-09-02 12:51:15 +02:00
daniel-k
6f705a5189
at86rf2xx: implement CSMA settings
2015-09-01 18:45:47 +02:00
Oleg Hahm
eac7f3e3ce
Merge pull request #3697 from OlegHahm/netopt_wireless_ro
...
gnrc: link-type flag
2015-09-01 11:54:48 +02:00
Oleg Hahm
7b967a1e75
shell: show link-type for IPv6 interfaces
2015-09-01 11:32:16 +02:00
Oleg Hahm
b514eeab04
Merge pull request #3706 from OlegHahm/fib_size_parameter
...
fib: add size parameter
2015-09-01 11:28:55 +02:00
Oleg Hahm
86cabbd102
fib: add data struct for meta information
...
In order to properly make use of different FIB tables, handling of different sizes is required. The fib_table_t provides a pointer to the array of entries and its size.
2015-09-01 11:09:10 +02:00
Cenk Gündoğan
b8c0498fb4
rpl: allow 0 as instance id
2015-08-27 14:38:08 +02:00
Martine Lenders
ac0e2f4371
net: remove redefinitions and their dependencies throughout the stack
2015-08-24 13:13:53 +02:00
Oleg Hahm
a0b3021f60
icmpv6: remove superfluous header build functions
2015-08-22 14:32:12 +02:00
Oleg Hahm
8977cc1175
Merge pull request #3675 from authmillenon/gnrc_ipv6/fix/check-mtu
...
gnrc_ipv6: check link MTU before sending
2015-08-21 23:45:52 +02:00
Martine Lenders
942d774a44
shell: ifconfig: add support for IPv6 MTU
2015-08-21 19:05:53 +02:00
Oleg Hahm
4267212502
fib: allow for multiple instances of FIB
2015-08-20 15:47:27 +02:00
Martine Lenders
58ff31bfe9
gnrc: make all gnrc modules sub-modules of gnrc
2015-08-18 23:00:07 +02:00
Martine Lenders
89009ae2f1
icmpv6: put message definitions in their own files
2015-08-18 17:30:23 +02:00
Martine Lenders
87c222d2fa
Merge pull request #3595 from authmillenon/gnrc/api/mv
...
gnrc: rename ng_netbase to gnrc
2015-08-18 16:59:34 +02:00
Martine Lenders
b969eeb217
gnrc: rename ng_netbase to gnrc
2015-08-18 16:11:55 +02:00
Cenk Gündoğan
acd07de676
ng_rpl: shell commands for RPL
2015-08-18 12:03:30 +02:00
Martine Lenders
2903667494
tests: adapt unittests for ipv6_hdr module division
2015-08-14 17:18:37 +02:00
Cenk Gündoğan
4deb0213b9
sys/shell/shell.c: command not found in one line
2015-08-12 13:16:37 +02:00
Martine Lenders
203561e741
ipv6_addr: remove ng_ prefix
2015-08-11 13:27:07 +02:00
Martine Lenders
2e6c974c15
Merge pull request #3568 from haukepetersen/opt_fib_ngprefix
...
net/fib: removed any ng_'s from the FIB
2015-08-11 02:28:00 +02:00
Martine Lenders
c82dfda445
Merge pull request #3567 from authmillenon/timex/enh/timex_to_str
...
timex: make timex_to_str more efficient
2015-08-11 02:21:41 +02:00
Martine Lenders
ea48b48dd3
timex: make timex_to_str more efficient
2015-08-11 01:33:21 +02:00
Hauke Petersen
85fe67e629
net/fib: removed all ng prefixes from fib
2015-08-10 15:43:55 +02:00
Cenk Gündoğan
6b36a0760b
sys/shell/commands/sc_fib.c: make dev param optional
2015-08-08 08:48:56 +02:00
Martine Lenders
0046d8fffb
Merge pull request #3572 from cgundogan/pr/sc_ipv6_nc/iface_optional_and_reset
...
sc_ipv6_nc: make iface optional and add reset function
2015-08-07 17:37:58 +02:00
Hauke Petersen
38956457a1
sys: adapted to renamed netopt header
2015-08-06 15:37:11 +02:00
5d8349298f
remove bulk of legacy network stack and drivers
2015-08-06 12:12:47 +02:00
Cenk Gündoğan
c7f9bce644
sc_ipv6_nc: add ncache reset functionality
2015-08-05 22:43:04 +02:00
Cenk Gündoğan
fa0b1ba441
sc_ipv6_nc: make iface optional for add
2015-08-05 22:37:25 +02:00
Hauke Petersen
db862f13a1
sys/shell_commands: fixed formatting in Makefile
2015-07-30 15:15:31 +02:00
Martine Lenders
9aff73b4a9
Merge pull request #3514 from authmillenon/shell/fix/icmpv6-stupid
...
shell: sc_icmpv6_echo: prepare for stupid users
2015-07-28 23:58:27 +02:00
Martine Lenders
ce9b6e1990
shell: sc_icmpv6_echo: prepare for stupid users
2015-07-28 23:05:15 +02:00
Martine Lenders
e9cbadd3cd
shell: sc_icmpv6_echo: don't fail if packet buffer is full
2015-07-28 22:35:20 +02:00
Oleg Hahm
03b7c7349a
Merge pull request #3457 from authmillenon/gnrc/api/rename-netconf
...
gnrc: rename ng_netconf to ng_netopt
2015-07-28 18:21:09 +02:00
Martine Lenders
6f56b983f0
gnrc: replace all instances of ng_netconf with ng_netopt
2015-07-28 13:33:12 +02:00
Tobias Markmann
f5a991c476
shell: Fix statistic calculation in ping shell command
2015-07-26 16:15:30 +02:00
Martine Lenders
58d6f124b0
shell: ifconfig add capability to (un)set IPHC
2015-07-23 17:03:34 +02:00
Oleg Hahm
3bae1a7066
shell: set default prefix length to 64 for ifconfig
2015-07-22 20:19:49 +02:00
80ed1d84a0
sys: shell: commands: fix NG_NETIF_NUMOF related compile warning
2015-07-17 12:18:07 +02:00
Martine Lenders
19769bc190
sc_icmpv6_echo: rename n and count more appropriatly
2015-07-10 14:54:42 +02:00
Martine Lenders
be9d8ca64b
shell: sc_icmpv6_echo: provide delay option
2015-07-10 14:27:50 +02:00
Peter Kietzmann
8456c9c3fe
Merge pull request #3311 from authmillenon/ng_icmpv6_echo/fix/unexpected-parameter-problem
...
ng_icmpv6_echo: fix unexpected parameter problem
2015-07-08 09:10:15 +02:00
Martine Lenders
539dd57154
ng_icmpv6_echo: fix unexpected parameter problem
...
Previously it could happen, that the pinging node had send more then one
packet before the reply was received. This would cause the sequence
number to be bigger than expected on receive.
This fixes this problem by introducing a window of expected echo sequence
numbers.
2015-07-08 01:45:57 +02:00
Joakim Gebart
8fc1a656fa
sys/shell/commands: Add missing inttypes.h include
2015-07-07 00:53:27 +02:00
adabd8c930
shell: let readline return an error on empty line so prompt gets print again
2015-07-06 11:33:44 +02:00
2d7642b8c1
shell: flush stdout after printing prompt
2015-07-06 09:53:29 +02:00
Martine Lenders
c5318336ae
net: intial import of the ZEP protocol
2015-07-02 15:47:19 +02:00
haukepetersen
b803438774
sys/shell: fixed percentage calc of ping6 shell cmd
2015-06-30 14:47:50 +02:00
Martine Lenders
1c4af66c3a
ng_icmpv6_echo: fix time output on shell command
2015-06-23 23:44:32 +02:00
Hauke Petersen
1eec484a30
sys/shell: changed signature of put_char pointer
...
changed from void(*put_char)(int) to int(*putchar)(int).
This is beneficial, as now the std-libs putchar can be given as
an argument to shell_init() directly.
2015-06-14 17:02:57 +02:00
Cenk Gündoğan
2fda604ef3
ng_icmpv6: fix release of pkt
2015-06-11 13:49:01 +02:00
Oleg Hahm
83e22a28af
ping6: fix output for nanospecs
2015-05-27 11:11:45 +02:00
Martine Lenders
863304356c
shell: fix netif output
2015-05-26 18:46:49 +02:00
Martine Lenders
350b040d72
ng_netif: adapt ng_netif_get for holey lists
2015-05-25 22:02:44 +02:00
Martine Lenders
db33a1047e
shell: add examplery ng_ipv6_nc_still_reachable()
2015-05-17 09:15:03 +02:00
Martine Lenders
5e9a4acd29
shell: adapt sc_netif
2015-05-16 15:03:17 +02:00
Martine Lenders
d1c2f7f72b
Merge pull request #2908 from authmillenon/ipv6_nc/enh/opt
...
ipv6_nc: prepare for NDP
2015-05-13 11:05:39 +02:00
Martine Lenders
396b913f3d
shell: adapt ipv6_nc shell commands
2015-05-12 20:06:09 +02:00
Martine Lenders
74e58f953b
shell: fix table output of neighbor cache
2015-05-10 14:06:03 +02:00
Oleg Hahm
d1bfa2f2ff
Merge pull request #2555 from authmillenon/ng_icmpv6/feat/initial
...
ng_icmpv6: Initial import
2015-05-01 11:37:42 +02:00
Martine Lenders
229f49ad5d
shell: add icmpv6_echo shell handler
2015-05-01 08:34:11 +02:00
Martine Lenders
4741a01e36
Merge pull request #2721 from authmillenon/ipv6_nc/feat/iterators
...
ipv6_nc: add iterators
2015-04-30 08:59:44 +02:00
Martine Lenders
188c1a4ca9
shell: add support for nc iterators
2015-04-29 21:22:29 +02:00
8921a370dc
Merge pull request #2582 from authmillenon/shell/feat/ifconfig-ipv6-output
...
shell: add ng_ipv6 support for ifconfig
2015-04-26 17:58:27 +02:00
Martine Lenders
cb07cd05e2
shell: add ng_ipv6 support for ifconfig
2015-04-26 14:00:48 +02:00
Hauke Petersen
3f7b705379
sys/shell: added option RAWMODE to netif cmds
2015-04-24 14:53:08 +02:00
Martine Lenders
5a0d222dcd
shell: add support for (un-)setting 6LoWPAN support on an interface
2015-04-23 16:23:42 +02:00
Martine Lenders
a09909585b
shell: fix netif command for return values
2015-04-22 23:34:10 +02:00
Martine Lenders
94dc48da09
shell: sc_netif: add set/unset for promiscous mode
2015-04-22 15:28:27 +02:00
Oleg Hahm
89b32aefe3
ps: thread_print_all() had the wrong module prefix
2015-04-19 16:36:05 +02:00
BytesGalore
bbaddc756d
sys/shell: added missing return values
2015-04-14 11:41:10 +02:00
Martine Lenders
67602bb443
Merge pull request #2600 from authmillenon/ipv6_nc/feat/mc-translation
...
[RFC] ng_netif_hdr: add flags for multicast and broadcast
2015-04-14 10:08:22 +02:00
Martine Lenders
a83fecd642
Merge pull request #2710 from haukepetersen/ng_scnetif_state
...
shell/ng_netif: enable to get/set a device's state
2015-04-09 21:47:53 +02:00
Martine Lenders
fa2ab8b7cd
shell: adapt netif shell commands for bc flag
2015-04-03 16:05:10 +02:00
Martine Lenders
bc072db0e9
shell: add commands to manage neighbor cache manually
2015-04-02 01:13:17 +02:00
Lotte Steenbrink
40acfa732b
Merge pull request #2705 from authmillenon/netif/feat/addr-str
...
netif: add functions to parse and output hardware addresses
2015-04-02 01:04:33 +02:00
BytesGalore
6d579c84e7
shell: fixed return value warning for FIB shell command handler
2015-04-01 18:17:51 +02:00
Martine Lenders
1a0d97fced
shell: adapt sc_netif to use new netif functions
2015-04-01 16:24:19 +02:00
BytesGalore
30c76adc43
net: added a core implementation of a FIB
2015-04-01 10:24:35 +02:00
Peter Kietzmann
aeb5316af2
Merge pull request #2744 from authmillenon/shell/fix/rm-return
...
shell: remove unneeded return
2015-03-31 09:22:24 +02:00
Martine Lenders
3ac8146f8b
style: replace tabs with spaces in source
2015-03-31 05:04:44 +02:00
Martine Lenders
8dd5010014
shell: remove unneeded return
2015-03-31 04:54:04 +02:00
Martine Lenders
d0bd218226
shell: fix rtc alarm handler
2015-03-29 20:54:35 +02:00
Martine Lenders
3b42fae668
Merge pull request #2602 from kushalsingh007/shell-return
...
Return-based error-handling for shell handlers
2015-03-29 18:29:58 +02:00
Hauke Petersen
bf48b86cfa
shell/ng_netif: enable to get/set a device's state
2015-03-28 14:04:17 +01:00
Hauke Petersen
6dfca3bd45
Merge pull request #2716 from haukepetersen/fix_shell_makefiles
...
sys/shell_commands: Makefile: converted tabs to spaces
2015-03-28 14:00:54 +01:00
Hauke Petersen
7d50ad1954
Merge pull request #2715 from haukepetersen/ng_fix_scnetif
...
sys/shell: shortened description of netif shell cmd
2015-03-28 13:48:54 +01:00
Martine Lenders
ff5633e44e
Merge pull request #2709 from haukepetersen/ng_scnetif_power
...
shell/sc_netif: added means to control TX power
2015-03-27 17:27:25 +01:00
Hauke Petersen
6119ca00d8
sys/shell_commands: converted tabs to spaces in Makefile
...
Though technically it does not make a difference here, tabs have
a different semantic meaning than spaces in Makefiles. To be consistent
in RIOT we agreed to use two spaces for if conditions -> see #2626 .
2015-03-26 00:04:56 +01:00
Hauke Petersen
eecd6ec2cc
sys/shell: shortened description of netif shell cmd
2015-03-25 21:24:30 +01:00
kushalsingh007
9aae656be9
shell: Return-based error-handling for shell handlers
...
- Included the missing parts.
- Squashed with @authmillenon's commit
2015-03-25 23:54:04 +05:30
Martine Lenders
70c1e4dd37
shell: adapt for new nettype_t value
2015-03-25 02:10:14 +01:00
Hauke Petersen
f2e2cfd11c
shell/sc_netif: added means to control TX power
2015-03-24 22:16:50 +01:00
Ludwig Ortmann
cf637942cc
*: add missing blank lines
...
Some functions had no blank lines to separate them from their
neighborhood.
2015-03-21 16:34:59 +01:00
Martine Lenders
72f91ad6be
Merge pull request #2659 from haukepetersen/ng_fix_scnetif_return
...
shell/sc_netif: added missing return statements
2015-03-20 16:28:08 +01:00
Hauke Petersen
2e2b0952fe
shell/sc_netif: added missing return statements
2015-03-20 15:10:01 +01:00
Hauke Petersen
506c97c4d9
shell/sc_netif: fixed output of PAN ID for decimal
2015-03-20 11:08:02 +01:00
Martine Lenders
d6262df0d2
shell: port ifconfig for ng_netif
2015-03-16 16:46:31 +01:00
Hauke Petersen
40f7227c02
sys/shell: added (ng_)netif shell commands
2015-03-10 17:43:48 +01:00
Hauke Petersen
2323c08d32
sys/shell: fixed and unified doxygen headers
...
- changed doxygen group name to sys_shell
- added some missing fields
- unified the doxygen header format
2015-03-03 18:10:06 +01:00
Martine Lenders
498313a23f
doc: Add mail address where it is missing
2015-02-08 19:41:14 +01:00
Martine Lenders
0eb2d78dda
doc: use my real name
2015-02-08 18:52:16 +01:00
Cenk Gündoğan
7095241555
rpl: wrong macro definitions in rpl shell commands
...
It appears that the values defined for RPL_NODE_IS_ROOT and
RPL_MAX_ROUTING_ENTRIES in the Makefile via CFLAGS are not recognized in
sc_rpl.c (my guess: they are only visible to the rpl module?)
Therefore RPL_MAX_ROUTING_ENTRIES is always set to 0, no matter how the
binary is compiled, thus resulting in the output "No routing table
available" for root nodes.
2015-01-15 10:56:22 +01:00
Cenk Gündoğan
a06c667af5
rpl: remove routing table dependent code
...
This PR removes code depending on a routing table with an entries
size > 0. Currently, all those functions and symbols are compiled into the binary,
even when there is no effective space in the routing table (as it is the
case for normal nodes in non-storing mode)
2015-01-13 13:11:32 +01:00
Ludwig Ortmann
e7f6f640f6
Merge pull request #2060 from OlegHahm/periph_rtc
...
drivers: Adapt old platforms to periph rtc
2014-12-16 18:56:59 +01:00
Ludwig Ortmann
ca36e9c4a7
sys/shell: refactor _parse_time
2014-12-16 16:15:17 +01:00
Ludwig Ortmann
3729789dc3
sys/shell: use more common libc calls
...
use strtol instead of sscanf
use plain printf instead of asctime
2014-12-16 16:08:49 +01:00
Ludwig Ortmann
4942882949
sys/shell: rewrite rtc command for periph/rtc
2014-12-16 16:07:01 +01:00
Oleg Hahm
e64ab2aed5
Merge pull request #2024 from OlegHahm/ccnl_802154
...
ccn-lite: fixes for working with IEEE 802.15.4 radios
2014-12-16 11:03:20 +01:00
Ludwig Ortmann
0027f90be4
Merge pull request #2118 from OlegHahm/simplify_cpu_folder_structure
...
cpu: simplify folder structure
2014-12-08 13:10:13 +01:00
Martine Lenders
115420a510
Merge pull request #1228 from OlegHahm/l2_ping
...
net: Link Layer Ping
2014-12-03 11:55:37 +01:00
Oleg Hahm
4b77fcd22f
shell: introduced l2 ping shell commands
2014-12-03 11:08:32 +01:00
Oleg Hahm
17929a5ce4
cpu: lpc2387: integrated lpc_common into lpc2387
...
Rationale 1: The common part made only sense for (some) NXP ARM7 MCUs,
but was misleading for MCUs like the LPC1768.
Rationale 2: The common part was only used by one specific MCU
implementation - no need to outsource it.
2014-12-02 17:47:10 +01:00
Fabian Nack
eebfd5011a
drivers - cc110x: Initial import of new cc110x driver
2014-12-01 17:14:02 +01:00
Fabian Brandt
12cd62c689
Introduction of RPL non-storing mode.
...
This implementation is based on RFC 6550 with addition of RFC 6554 (Source Routing Header for RPL). Both can be found under the following links:
- http://tools.ietf.org/html/rfc6550
- http://tools.ietf.org/html/rfc6554
The PR provides basic functionality for handling and forwarding packages in non-storing mode. In addition the structure of the previous implemented RPL storing mode is now revised, so that readability and modularity is increased. The following features are implemented:
- building function for a SRH and integration in common packets
- source-route build algorithm based on the structure of the DODAG
- an RPL-based interpretation of the SRH and removal at destination
- new structure for RPl-module with extracted beaconing-functionality
- leaf nodes are now supported
There are some missed goals and should be included in future updates:
- building a common routing table structure for different types of routing protocols
- routing tables are statically assigned via source code, future update should have an optional variable at build-time, which sets the size of the routing table depending on the desired functionality of a node in the network (root, node, leaf)
2014-11-27 21:42:40 +01:00
Oleg Hahm
fbd04bd051
ieee802154: introduce constant for default PAN id
2014-11-16 19:04:25 +01:00
Hauke Petersen
4cdc79f3a9
Merge pull request #1945 from thomaseichinger/sc_lsm303dlhc
...
shell: provide shell commands to poll lsm303dlhc sensor
2014-11-06 15:03:10 +01:00
Oleg Hahm
f79e228e44
shell: sensors: exit on failure
...
Immediately leave the read command if sensor is not initialized.
2014-11-06 13:45:44 +01:00
Thomas Eichinger
6bbc4ca226
shell: provide shell commands to poll lsm303dlhc sensor
2014-11-06 11:28:22 +01:00
Hauke Petersen
7e043bb27f
sys/shell: added commands for iot-lab_M3 sensors
2014-11-06 10:41:55 +01:00
Thomas Eichinger
660f24405e
shell/transceiver: set 16 bit addresses and frame type
2014-11-04 15:14:37 +01:00
Oleg Hahm
fce3a2243e
Merge pull request #1846 from thomaseichinger/at86rf23x
...
drivers/at86rf231: refactoring of the at86rf231 radio driver
2014-10-31 09:33:30 +01:00
Hinnerk van Bruinehsen
ce075d9cbd
lint: suppress warning about obsoleteFuntionsasctime
2014-10-31 01:24:32 +01:00
Thomas Eichinger
dfb1b56fad
drivers/at86rf231: refactoring of the at86rf231 radio driver
...
* deploy extended operation mode
* cleanup
* implement netdev 802154.h interface
2014-10-30 22:35:00 +01:00
Fabian Nack
53b0ad2be5
drivers - cc110x: rename cc110x to cc110x_legacy_csma
2014-10-28 16:18:50 +01:00
Fabian Nack
07fff37efe
drivers - cc110x_ng: rename ng driver to legacy
2014-10-24 09:55:31 +02:00
Oleg Hahm
84cb4ccaa2
Merge pull request #1830 from thomaseichinger/transceiver-fixes
...
sys/transceiver: fixes for the use of `ieee802154_packet_t`
2014-10-23 20:58:57 +02:00
5146c66786
core: adapt to msg_try_send
2014-10-22 12:37:33 +02:00
Thomas Eichinger
5b48fcd007
shell/transceiver: properly initialize 802.15.4 packet
2014-10-17 17:05:09 +02:00
Thomas Eichinger
6fcc2ac777
shell/transceiver: fix byte selection for 802.15.4 devices in output
2014-10-07 10:32:58 +02:00
Thomas Eichinger
a686e909aa
examples/default: fix handling of 802.15.4 devices
2014-10-07 10:32:58 +02:00
Thomas Eichinger
19f612cf2c
examples/default: set src addr correctly
2014-10-07 10:32:58 +02:00
René Kijewski
5f262be568
Merge pull request #1653 from medicalwei/shell_backspace
...
Add backspace functionality in shell
2014-09-29 21:21:41 +02:00
Yao Wei
b5d3c65672
Add 0x7f as backspace key in shell
2014-09-24 15:40:21 +08:00
Hinnerk van Bruinehsen
567ebf987f
lint: limit maximum length of input via scanf
2014-09-19 23:31:26 +02:00
René Kijewski
0cc699c0ce
lint: reduce scope
...
Fix some lint warnings of kind
```
style (variableScope): The scope of the variable '…' can be reduced
```
2014-09-12 11:50:12 +02:00
Yao Wei
208f889a4a
add backspace functionality in shell
2014-09-11 21:27:20 +08:00
Oleg Hahm
0ad7b170ed
make kernel_pid_t comparisons consistent
2014-08-07 16:31:27 +02:00
Ludwig Ortmann
5fdce06b3b
doc: use lgplv2.1-short license header instead of lgplv2-short-v1
2014-07-31 22:57:20 +02:00
Ludwig Ortmann
3ca4f18479
doc: use lgplv2.1-short license header instead of lgpl-short-riot
2014-07-31 22:57:20 +02:00
Ludwig Ortmann
b6846e31fc
doc: fix most occurences of FU as an author
...
.. but only if there are other authors as well
2014-07-29 17:23:11 +02:00
Oleg Hahm
344f702366
shell: prepare a rudimentary IEEE 802.15.4 packet
...
The transceiver module expects an `ieee802154_packet_t` instead of a
`radio_packet_t` if the device supports the IEEE 802.15.4 packet format.
This commit fixes the corresponding transceiver shell command for
`txtsnd` to set destination address (short address mode), payload, and
length accordingly.
2014-07-16 16:07:49 +02:00
Ludwig Ortmann
428e085c53
sys/shell: fix error when not using sixlowpan
...
```
/sys/shell/commands/sc_net_if.c:631:27: error: ‘IPV6_MAX_ADDR_STR_LEN’ undeclared (first use in this function)
char addr_str[IPV6_MAX_ADDR_STR_LEN];
^
```
2014-07-14 18:00:05 +02:00
Oleg Hahm
9f39226108
shell: added command to print all ignored addresses
2014-06-24 10:11:06 +02:00
Oleg Hahm
36b9f7e7d7
Merge pull request #1257 from Kijewski/shell-fix-newline
...
shell: fix newlines
2014-06-22 23:56:36 +02:00
Oleg Hahm
6f17f0c60a
Merge pull request #1105 from Kijewski/shell-print-not-found
...
shell: print command if not found
2014-06-22 21:03:30 +02:00
René Kijewski
840c0f0a57
make: detect their module name automatically
...
For many modules the `Makefile` contains a line like
```
MODULE:=$(shell basename $(CURDIR))
```
This conclusively shows that we do not have to set the module name
manually.
This PR removes the need to set the module name manually, if it is the
same as the basename. E.g. for `…/sys/vtimer/Makefile` the variable
make `MODULE` will still be `vtimer`, because it is the basename of the
Makefile.
2014-06-17 15:49:32 +02:00
René Kijewski
94bb326fc0
shell: fix newlines
2014-05-30 21:10:05 +02:00
René Kijewski
4e4f908379
Initial import of the x86 port
...
Currently this works only in qemu.
2014-05-25 13:40:29 +02:00
Jan S
ba907471f3
fixed printf specifiers
2014-05-15 17:42:57 +02:00
Thomas Eichinger
46acc2f5d5
shell: renaming isnumber
to is_number
in sc_net_if.c
...
fix name collision on OS X by renaming
2014-05-14 19:43:58 +02:00
René Kijewski
638666c34a
shell: print command if not found
2014-05-12 22:07:35 +02:00
Oleg Hahm
0018e3a181
shell: added RPL route shell command
2014-05-04 17:52:51 +02:00
Ludwig Ortmann
3a1980af36
redbee-econotag: fix maca
...
I suspect that the transceiver will still not work as there are many
many warnings, but at least it builds now.
closes : #676
2014-04-18 16:05:23 +02:00
René Kijewski
de29e4184c
Add include paths automatocally for USEMODULES
...
Application developers use `$(USEMODULES)` in their Makefiles to have
the relevant functionally automagically added to their apps. This even
does basic dependency tracking by means of `Makefile.dep`.
But an important thing is missing: the automatic adding of include
paths. This is inconvenient, error prone, and will hinder the RIOT core
developers in future to change folder structures.
2014-03-29 16:27:55 +01:00
Ludwig Ortmann
a6fd531783
Merge pull request #874 from OlegHahm/fix_ignore_command
...
net: transceiver: fix ignore command
2014-03-29 09:42:35 +01:00
Oleg Hahm
90ccdd34d2
shell: transceiver: added missing return in error case
2014-03-19 10:26:49 +01:00
René Kijewski
e073d86845
Merge pull request #877 from Kijewski/shell-utf8
...
shell: fix UTF-8 problem
2014-03-18 11:27:28 +01:00
Oleg Hahm
42dbc44be4
amendment to 169976f
2014-03-10 20:03:14 +01:00
René Kijewski
97593e9f05
shell: add myself to authors
2014-03-10 18:17:05 +01:00