PeterKietzmann
7232c5291d
sys/random: reset buffer position on reinitialization
2020-07-22 12:25:09 +02:00
PeterKietzmann
233fbcdb38
sys/random: improve documentation on SHA based generator
2020-07-22 12:25:09 +02:00
PeterKietzmann
5a13d00b65
sys/random: make sha1prng sha256 compatible
2020-07-22 12:25:09 +02:00
Martine Lenders
6fc72be723
Merge pull request #14450 from MrKevinWeiss/pr/shellhooks
...
sys/shell: Add optional hooks for shell commands
2020-07-07 18:43:50 +02:00
MrKevinWeiss
04630d20ba
sys/shell: Add optional hooks for shell commands
...
Introduce optional user shell_post_readline_hook, shell_pre_command_hook, shell_post_command_hook.
Enable with USEMODULE=shell_hooks.
Calls user implemented *_hook functions if defined.
If implementation does not exist, nothing happens.
The intent is to make profiling of the shell command timings easier.
Test provided in tests/shell with USEMODULE=shell_hooks.
2020-07-07 17:00:38 +02:00
db5070c772
Merge pull request #14441 from miri64/riotctrl_shell/feat/netif
...
riotctrl_shell: provide netif interactions and parsers
2020-07-07 14:21:35 +02:00
Akshai M
7a2e9c8948
net/asymcute : Update documentation
2020-07-07 16:27:57 +05:30
Akshai M
e9f270c78a
net/asymcute : Expose to Kconfig
2020-07-07 16:27:57 +05:30
Akshai M
8a6d2882f7
net/asymcute : Move 'ASYMCUTE_KEEPALIVE_PING' to 'CONFIG_'
2020-07-07 16:27:57 +05:30
Akshai M
a1df2e33b0
net/asymcute : Move 'ASYMCUTE_N_RETRY' to 'CONFIG_'
2020-07-07 16:27:57 +05:30
Akshai M
6dc5747c4b
net/asymcute : Move 'ASYMCUTE_T_RETRY' to 'CONFIG_'
2020-07-07 16:27:57 +05:30
Akshai M
1753b84cba
net/asymcute : Move 'ASYMCUTE_KEEPALIVE' to 'CONFIG_'
2020-07-07 16:27:57 +05:30
Akshai M
7ba0d3c76f
net/asymcute : Move 'ASYMCUTE_TOPIC_MAXLEN' to 'CONFIG_'
2020-07-07 16:27:57 +05:30
Akshai M
e4a3213b99
net/asymcute : Model 'ASYMCUTE_BUFSIZE' with exp
...
Added 'CONFIG_ASYMCUTE_BUFSIZE_EXP' and modelled ASYMCUTE_BUFSIZE
as power of an exponent.
2020-07-07 16:27:57 +05:30
Martine Lenders
fdcf53e514
Merge pull request #10222 from pokgak/pr/add-cord-lc
...
net: add CoRE RD lookup client implementation
2020-07-07 12:44:37 +02:00
Martine S. Lenders
e923d5dbd8
sc_gnrc_netif: fix whitespaces in output
...
Originally, the options and flags in the `netif` shell output were
separated by two spaces. For later added flags this is not the case,
making the parsing of those flags and options hard to impossible.
This change adds those missing spaces + comments so it might not happen
again in the future.
2020-07-07 12:24:40 +02:00
Aiman Ismail
869052dcd8
cord: add RD lookup client
2020-07-07 10:54:10 +02:00
pokgak
88279904c5
sys/coap: add ACCEPT option
2020-07-07 10:54:10 +02:00
Simon Brummer
122616ae7d
gnrc_tcp: add retransmission timer
2020-07-06 21:18:23 +02:00
Martine Lenders
b0738051f2
Merge pull request #14222 from brummer-simon/gnrc_tcp-rewrite_internal_messaging
...
gnrc_tcp: rewrite API internal messaging
2020-07-06 13:39:13 +02:00
Martine Lenders
d510e034ea
Merge pull request #13552 from haukepetersen/add_nimble_statconn
...
pkg/nimble: add static connection manager `statconn`
2020-07-06 09:59:13 +02:00
Marian Buschsieweke
1267277ca7
sys/base64: Improved implementation
2020-07-06 09:16:24 +02:00
Hauke Petersen
3ecb9d8423
sys/shell: add nimble_statconn shell command
2020-07-06 08:14:09 +02:00
Simon Brummer
67b22d8783
gnrc_tcp: requested changes
2020-07-04 09:21:50 +02:00
Simon Brummer
aa1c2e9cba
gnrc_tcp: rewrite API internal messaging
2020-07-04 09:20:43 +02:00
Martine Lenders
339e3faf21
Merge pull request #14400 from maribu/base64_tests
...
sys/base64: Fix, unit test cleanup, and benchmark
2020-07-02 13:40:56 +02:00
Marian Buschsieweke
3c7fd0cdc9
sys/base64: Use void pointer for buffers in API
...
This is a non-breaking change, as `unsigned char *` can implicitly be converted
to `void *`.
2020-07-02 11:10:06 +02:00
Maciej Jurczak
f8ac003bbf
base64: Fixed decode buffer size estimation
...
Fixed required result buffer size underestimation in base64_estimate_decode_size() function.
2020-07-02 11:10:05 +02:00
Leandro Lanzieri
192737948d
Merge pull request #12975 from miri64/posix/feat/select
...
posix: initial import of select() function (only support sockets for now)
2020-07-02 09:37:55 +02:00
Jean Pierre Dudey
7a991f8ecc
net/gnrc/ipv6/nib: fix ref to net_gnrc_ipv6_nib_nc_info
...
This fixes a bug with the link as newlines can't be inside of a link
on Doxygen documentation.
Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com>
2020-07-01 16:16:16 -05:00
Martine S. Lenders
6ba6740231
posix_select: initial import of select()
function
2020-07-01 18:10:26 +02:00
Martine Lenders
1245065afb
Merge pull request #14291 from brummer-simon/gnrc_tcp-move_rcv_buffer_handling
...
gnrc_tcp: rewrite recv buffer allocation/returning
2020-07-01 17:19:28 +02:00
Simon Brummer
9fe91f5c44
gnrc_tcp: rewrite recv buffer allocation/returning
2020-07-01 15:47:23 +02:00
799ee40ea7
Merge pull request #13866 from benpicco/pkg/fs_params
...
pkg/fs: set VFS params by fs, not by the application
2020-07-01 14:19:00 +02:00
e8d8fd2f32
Merge pull request #14404 from benpicco/sys/usb_board_reset_in_bootloader
...
sys/usb_board_reset: add usb_board_reset_in_bootloader definition
2020-07-01 13:49:59 +02:00
Martine S. Lenders
af24c539d0
posix_sockets: count available received messages asynchronously
...
Utilizing `sock_async`
2020-07-01 13:36:36 +02:00
Martine S. Lenders
791069acf1
posix_sockets: provide function to check if file descriptor is a socket
2020-07-01 13:36:36 +02:00
Martine S. Lenders
c7dc0bb8de
posix_sockets: use vfs_file_get() to resolve file descriptor
2020-07-01 13:36:36 +02:00
Martine S. Lenders
ef844d8863
vfs: provide function to get internal file information by fd
2020-07-01 13:36:25 +02:00
chrysn
a787875cf8
usb_board_reset: Split headers into public and private
...
The private parts need USB definitions (and are thus preferably used
from USB_H_USER_IS_RIOT_INTERNAL compilation units). Functions like
usb_board_reset_in_bootloader do not depend on USB headers for their
definitions and are fair game throughout the application even for
generic RIOT USB devices.
2020-07-01 13:22:25 +02:00
Benjamin Valentin
33ef4f2902
sys/usb_board_reset: add usb_board_reset_in_bootloader definition
...
Move the definition of usb_board_reset_in_bootloader() to a common
location.
2020-07-01 10:30:17 +02:00
Martine Lenders
95fa7fbb4f
Merge pull request #14403 from pokgak/fix-cord-ep-netif
...
cord_ep: allow not specify netif if only one interface exist
2020-06-30 23:00:27 +02:00
M Aiman Ismail
edc95679cd
cord_ep: allow not specify netif if only one interface exist
2020-06-30 22:36:23 +02:00
Francisco
960cca77b7
Merge pull request #13675 from benpicco/native_eof_exit
...
sys/shell: native: stop RIOT when the shell reads EOF
2020-06-30 15:29:52 +02:00
Francisco
e8389a5847
Merge pull request #12870 from benpicco/xtimer-doc-fix
...
sys/xtimer: fix documentation about XTIMER_BACKOFF
2020-06-30 15:07:09 +02:00
Benjamin Valentin
a6ca535955
sys/shell: native: stop RIOT when the shell reads EOF
...
Currently when the shell receives EOF on `native`, sending EOF
(ctrl + D) closes the stdin file descriptor, leading to all
consecutive reads to also return EOF.
The result is that `shell_run_forever()` will re-start the shell
forever in a loop, filling up the terminal with
> > > > > > > > > > > > > > > > > > > > > > …
until the user hits ctrl + C.
This is annoying.
Instead, cleanly shutdown RIOT when receiving EOF on native, which
should match the expected behaviour of most users.
2020-06-30 14:52:53 +02:00
d98ddfad9a
Merge pull request #13824 from fjmolinas/pr_openwsn
...
pkg/openwsn: re-integrate the network stack as a package
2020-06-30 14:08:10 +02:00
Francisco Molina
844ccfbeb3
pkg/OpenWSN: initial import
...
Co-authored-by: Peter Kietzmann <peter.kietzmann@haw-hamburg.de>
Co-authored-by: Jose Alamos <jose.alamos@haw-hamburg.de>
Co-authored-by: Michel Rottleuthner <michel.rottleuthner@haw-hamburg.de>
2020-06-30 13:08:36 +02:00
chrysn
85d7042732
usb Kconfig: Provide explicit defaults
...
See-Also: https://github.com/RIOT-OS/RIOT/pull/13382#discussion_r380506106
2020-06-30 10:51:42 +02:00
chrysn
fbd7b66f33
usb Kconfig: Remove conditional
...
The clause was left over from moving the lines into the main
configuration from an example config without understanding its
relevance.
2020-06-30 10:51:41 +02:00