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
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
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
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
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