Leandro Lanzieri
49ec28867c
gnrc/nib: Move GNRC_IPV6_NIB_CONF_ROUTER to 'CONFIG_' namespace
...
Also evaluate it using IS_ACTIVE macro.
2020-03-31 18:07:05 +02:00
Leandro Lanzieri
1acfe7ae19
gnrc/nib: Move GNRC_IPV6_NIB_CONF_6LN to 'CONFIG_' namespace
...
Also evaluate it using IS_ACTIVE macro.
2020-03-31 18:07:04 +02:00
Leandro Lanzieri
398bb6d025
gnrc/nib: Move GNRC_IPV6_NIB_CONF_6LR to 'CONFIG_' namespace
...
Also evaluate it using IS_ACTIVE
2020-03-31 18:07:03 +02:00
Leandro Lanzieri
40c78f1c75
gnrc/nib: Move GNRC_IPV6_NIB_CONF_6LBR to 'CONFIG_' namespace
...
Also evaluate it using IS_ACTIVE macro.
2020-03-31 18:07:03 +02:00
Benjamin Valentin
2867ab8b9b
sys/riotboot: add a warning about the size of riotboot_flashwrite_t
...
On e.g. samd5x FLASHPAGE_SIZE is 8k (4k on kinetis, stm32w, nrf52)
so placing this struct on the stack will almost always cause a stack
overflow.
2020-03-31 13:27:05 +02:00
Cenk Gündoğan
b1f728189c
net/gcoap: add note on proxy operation
2020-03-28 14:50:51 +01:00
Cenk Gündoğan
50900a1fbe
nanocoap: add convenience function for PROXY_URI
2020-03-28 14:50:51 +01:00
Cenk Gündoğan
97c5d2d82d
coap: add Proxy-* options
2020-03-27 22:06:42 +01:00
Martine S. Lenders
62d48d5bf3
gnrc_netif: document new *_create() out parameter as such
2020-03-26 14:37:44 +01:00
Martine Lenders
061eb88c05
Merge pull request #12994 from jia200x/pr/gnrc_netif_desc_alloc
...
gnrc_netif: implementation of dynamic GNRC_NETIF_NUMOF approach
2020-03-26 14:30:44 +01:00
Jose Alamos
44f7cb712c
gnrc_netif: add GNRC_NETIF_SINGLE macro
2020-03-26 14:19:02 +01:00
Martine Lenders
cba1a2da0c
Merge pull request #13666 from jue89/feature/evtimer_now_msec
...
net/gnrc/ipv6/nib: remove direct dependency to xtimer
2020-03-26 13:50:13 +01:00
Jose Alamos
e451570219
gnrc_netif: remove GNRC_NETIF_NUMOF macro
2020-03-26 11:12:23 +01:00
Jose Alamos
67ed9defbe
gnrc_netif_xxx_create: use external netif allocation
2020-03-26 11:12:23 +01:00
Juergen Fitschen
c42677609b
sys/ztimer: remove duplicate definition of _ztimer_now_extend()
2020-03-26 10:48:56 +01:00
Marian Buschsieweke
937361856d
Merge pull request #13702 from ccoors/feature/esp32-ws281x
...
drivers/ws281x: Add support for esp32
2020-03-25 21:39:40 +01:00
Christian Friedrich Coors
c0615ad726
sys/timex: Add NS_PER_SEC definition
2020-03-25 17:20:01 +01:00
benpicco
6ae0fd7c82
Merge pull request #13485 from miri64/gnrc_dhcpv6/enh/configure-context
...
gnrc_dhcpv6_client: configure prefix as compression context on 6LBRs
2020-03-25 16:48:11 +01:00
Cenk Gündoğan
5e42e26a6e
nanocoap: add const qualifier to pkt of coap_opt_get_opaque()
2020-03-25 13:38:21 +01:00
Martine Lenders
ba711c50bf
Merge pull request #13616 from miri64/sock/enh/recv_buf
...
sock: amend with zero-copy receive functions
2020-03-24 17:10:12 +01:00
Martine S. Lenders
2ed7a7345f
sock_udp: fix doc of sock objects
2020-03-24 14:02:36 +01:00
Martine S. Lenders
a7d468988d
sock: amend with zero-copy receive functions
...
This change amends the `sock` API by a set of functions to `sock` that
allow provisioning of stack-internal buffers to the caller on receive.
This allows to cover two use-cases
1. Zero-copy systems: if the stacks supported the buffer space provided
by these functions can be the same that was filled in the link-layer
2. asynchronous receive within a wrapping sock layer (e.g. `sock_dtls`
wrapping `sock_udp`): to receive packets of the lower level protocol
asynchronously, the wrapping implementation layer would currently
need to allocate its own buffer space, introducing a third buffer
space in addition to the one of the application and the network
stack. For a wrapping layer this is undesirable.
While there are security considerations exposing stack internal memory
space to the caller, I believe they are minor, as in the end the
application developer is the person in control of the node.
2020-03-24 14:02:36 +01:00
Leandro Lanzieri
877db8c00e
Merge pull request #13557 from gschorcht/doc/fix_url
...
doc: fix broken links
2020-03-24 13:08:18 +01:00
Juergen Fitschen
47b8439cd8
sys/evtimer: add helper for retrieving the current system time
2020-03-24 13:07:19 +01:00
Gunar Schorcht
62e55bb8c0
sys/net/lorawan: fix broken links
2020-03-24 10:39:49 +01:00
Gunar Schorcht
b1ad00eb11
sys/net/eui64: fix broken links
2020-03-24 10:39:49 +01:00
Gunar Schorcht
a4b21a46cb
sys/embUnit: fix broken links
2020-03-24 10:39:49 +01:00
Gunar Schorcht
10cdaa1bd6
sys/can: fix broken links
2020-03-24 10:39:49 +01:00
e12defd5a0
suit/transport/coap: Use nanocoap coap_tree_handler
2020-03-24 09:38:24 +01:00
1d5010e126
nanocoap: make separate tree handling function
...
This refactors nanocoap to seperate out the resource tree parsing. It
allows for calling the tree handler with custom resource trees. The
advantage is that a resource with COAP_MATCH_SUBTREE can parse a new
separate resource tree.
2020-03-23 15:08:53 +01:00
7d0c475113
Merge pull request #13486 from bergzand/pr/suit/ietf_v3
...
SUIT: Update to draft-ietf-v3
2020-03-20 14:44:29 +01:00
1d1d5b6f0d
examples/suit: Refactor to draft ietf-v3
...
Co-authored-by: Kaspar Schleiser <kaspar@schleiser.de>
2020-03-19 22:56:01 +01:00
413b91326f
tests/suit_v3_manifest: Add draft-ietf-v3 manifest parser test
...
Co-authored-by: Kaspar Schleiser <kaspar@schleiser.de>
2020-03-19 22:56:01 +01:00
14bdf8f46b
sys/suit: Add SUIT draft ietf-v3 firmware upgrade module
...
Co-authored-by: Kaspar Schleiser <kaspar@schleiser.de>
2020-03-18 14:13:12 +01:00
643187c1e4
sys: add usb_board_reset module
2020-03-18 10:43:05 +01:00
Jose Alamos
c2e491d2b7
gnrc_netif: change macros to inline functions
2020-03-17 10:54:30 +01:00
Jose Alamos
4393822b0f
gnrc_netif: add function to check if device requires 6Lo
2020-03-17 10:54:30 +01:00
Jose Alamos
6ace7b5472
gnrc_netif: use gnrc_netif_single where possible
2020-03-17 10:54:30 +01:00
Jose Alamos
121626b362
gnrc_netif: add function to check if single GNRC netif
2020-03-17 10:50:49 +01:00
Leandro Lanzieri
d281d4843f
Merge pull request #13628 from jia200x/pr/gnrc_rpl_macro
...
gnrc_rpl: add default value to GNRC_RPL_DEFAULT_NETIF
2020-03-13 15:47:13 +01:00
Ken Bannister
ec2aff4546
Merge pull request #13240 from kb2ma/gcoap/deprecate_add_qstring
...
net/coap: deprecate gcoap_add_qstring() and update uses
2020-03-13 08:04:50 -04:00
Jose Alamos
062643091c
gnrc_rpl: add default value to GNRC_RPL_DEFAULT_NETIF
2020-03-12 18:50:18 +01:00
benpicco
1212165222
Merge pull request #13584 from kb2ma/nanocoap/add_uquery_improvements
...
net/nanocoap: add uquery improvements
2020-03-12 15:18:07 +01:00
Robert Hartung
dc6665d5cf
Merge pull request #12717 from dylad/pr/bme680_pkg_driver
...
driver/bme680: add I2C/SPI driver for BME680 device
2020-03-12 14:00:40 +01:00
Ken Bannister
e6b20b4ce7
net/nanocoap: Fix return value doc for coap_opt_add_uqueryX()
2020-03-12 08:44:26 -04:00
Leandro Lanzieri
b3aa417d9f
Merge pull request #13605 from jia200x/pr/nib_fix_parenthesis
...
gnrc_ipv6_nib: remove parenthesis from boolean configs
2020-03-12 10:10:10 +01:00
Gunar Schorcht
558322bc6f
sys/phydat: add ohm as unit
2020-03-12 08:42:59 +01:00
Martine S. Lenders
411e320b0c
sock_async_event: update for async callback argument support
2020-03-11 16:54:12 +01:00
Martine S. Lenders
612e782b3c
sock_async: supply optional callback argument with callback setter
2020-03-11 16:54:11 +01:00
Martine S. Lenders
6e6e435c65
sock_async: add optional callback argument
2020-03-11 16:54:11 +01:00
Jose Alamos
c5cba0733f
gnrc_ipv6_nib: remove parenthesis from boolean configs
2020-03-10 12:30:12 +01:00
b45f4236de
sys/ztimer: make ztimer_overhead() return signed value (int32_t)
2020-03-10 12:23:33 +01:00
benpicco
6f7293d7c3
Merge pull request #13559 from aabadie/pr/sys/crypto_modules_rework
...
sys/crypto: define cipher using a module instead of CFLAGS
2020-03-09 19:41:27 +01:00
Aiman Ismail
aa3cbacceb
net/sock_dtls: do not put msg in mbox on timeout
2020-03-09 15:08:52 +01:00
Martine S. Lenders
06d1d79ffa
gnrc_dhcpv6_client: configure prefix as compression context on 6LBRs
2020-03-09 14:21:53 +01:00
Martine Lenders
c30f83ac3b
Merge pull request #13579 from jia200x/pr/gnrc_netif_send
...
gnrc_netif_send: add send function
2020-03-06 20:07:45 +01:00
f6c4e269b1
sys/crypto: define ciphers via pseudomodules
2020-03-06 19:49:58 +01:00
Jose Alamos
ca54366712
gnrc_netif: add send function
2020-03-06 15:22:43 +01:00
Ken Bannister
2fb2a3b260
Merge pull request #13022 from pokgak/pr/gcoap/gcoap_add_qstring_with_len
...
nanocoap: add coap_opt_add_uquery2() with parameter key value length
2020-03-06 06:09:35 -05:00
ed316309c8
Merge pull request #11874 from kaspar030/ztimer
...
sys/ztimer: initial import
2020-03-06 09:46:27 +01:00
Aiman Ismail
64f9658472
nanocoap: add coap_opt_add_uquery2()
2020-03-05 19:06:14 +01:00
Benjamin Valentin
d765098d72
sys/auto_init: allow delayed initialisation of gnrc_netif
...
Co-authored-by: Martine S. Lenders <m.lenders@fu-berlin.de>
2020-03-04 16:13:40 +01:00
dd218333c2
sys/ztimer: add xtimer_on_ztimer
...
This commit adds logic to make xtimer use ztimer_usec as backend
(instead of periph_timer). This allows ztimer_usec and xtimer to
coexist. It also allows xtimer to profit from eventually implemented
power mode blocking in ztimer's periph_timer backend.
2020-03-04 12:44:03 +01:00
616daff945
sys/ztimer: introduce xtimer wrapper
2020-03-04 12:44:02 +01:00
6dd79366bb
sys: add ztimer subsystem
...
Co-authored-by: Joakim Nohlgård <joakim.nohlgard@eistec.se>
2020-03-04 12:44:02 +01:00
Dylan Laduranty
ee8b837b51
Merge pull request #13512 from fjmolinas/pr_interactive_sync_disable
...
tests: handle cml interactive_sync disabling
2020-03-02 09:39:53 +01:00
Francisco Molina
091ab15912
sys/test_utils/interactive_sync: allow module disabling
...
If the header file is included test_utils_interactive_sync() will
be defined as an empty function when the module is not used, e.g.
added to DISABLE_MODULES in tests/*
2020-03-02 08:50:18 +01:00
Benjamin Valentin
2f6bf38d17
net/eui64: provide 32 bit access
...
Allow to read the eui64 as two 32 bit values.
2020-03-01 18:37:51 +01:00
benpicco
244c7da050
Merge pull request #13026 from brummer-simon/gnrc_tcp-prepare_for_sock_integration
...
gnrc_tcp: Prepare for sock integration.
2020-02-26 23:22:58 +01:00
Simon Brummer
10872d9a85
gnrc_tcp: Add Endpoints for connection specification
2020-02-26 21:24:06 +01:00
ef8daaf7be
suit: remove moran-v4 version of the parser
...
Co-authored-by: Kaspar Schleiser <kaspar@schleiser.de>
2020-02-26 14:54:16 +01:00
benpicco
6a0b399b7f
Merge pull request #13474 from gschorcht/sys/expect_reduce_avr_ram
...
sys/test_utils: reduce the RAM usage by `expect` on AVR
2020-02-26 14:20:08 +01:00
Gunar Schorcht
9c726e7eb5
sys: reduce RAM usage by expect
on AVR
2020-02-25 16:43:04 +01:00
benpicco
d044800300
Merge pull request #13450 from benpicco/dns-fixes
...
fix DNS resolution in ping6
2020-02-24 21:58:34 +01:00
benpicco
ad56ba8453
Merge pull request #13455 from miri64/sock_async/fix/include-sock_async_ctx.h
...
sock_async: include `sock_async_ctx.h` before sock-types
2020-02-24 19:09:33 +01:00
Benjamin Valentin
fa4447241f
sock_dns: make sock_dns_query() return the length of the address
...
The implementation already did that, now also reflect this in the
documentation.
2020-02-24 14:29:17 +01:00
Benjamin Valentin
1de14931b8
sock_dns: use the same buffer for request & reply
...
Saving RAM is more important than saving a few cycles
used by re-creating the request buffer in the error case.
Also reduce the size of the buffer to 128 bytes.
If we are just requesting the AAAA record it is unlikely
for the reply to take up the maximum size of 512 bytes.
We were already placing restrictions on the domain name length,
those are now actually a bit more relaxed (112 bytes instead of 64)
2020-02-24 14:29:17 +01:00
63f805c5b7
Merge pull request #13268 from kaspar030/add_expect_header
...
sys/test_utils: add expect() header
2020-02-24 13:34:16 +01:00
Martine S. Lenders
9b4dac7f3e
sock_async: include sock_async_ctx.h
before sock-types
...
This way, the sock-types can use the sock_async_ctx_t type in their
definition without including `sock_async_ctx.h` (potentially creating
further cyclic includes).
2020-02-24 12:33:38 +01:00
36bb7741ac
sys/test_utils: add "expect()"
2020-02-24 11:45:33 +01:00
Martine Lenders
cba056d560
Merge pull request #13386 from kb2ma/gcoap/sock_async
...
net/gcoap: use sock_async and events
2020-02-23 16:17:53 +01:00
benpicco
aa00191384
Merge pull request #13256 from MichelRottleuthner/pr_sps30
...
Add driver for SPS30 particulate matter sensor
2020-02-21 18:58:56 +01:00
benpicco
336bfe54a9
Merge pull request #13366 from bergzand/pr/littlefs2/add_pkg
...
pkg/littlefs2: Add package for LittleFS v2.x.y
2020-02-20 16:23:59 +01:00
Leandro Lanzieri
ec0e18b821
Merge pull request #12906 from nmeum/pr/remove_gnrc_tftp
...
gnrc_tftp: remove module
2020-02-20 15:19:23 +01:00
9b02c7b4ee
pkg/littlefs2: Add package for LittleFS v2.x.y
2020-02-20 14:51:45 +01:00
Michel Rottleuthner
36fca364f8
sys/phydat: add unit for count per cubic meter
2020-02-20 14:26:55 +01:00
640cbfe77e
Merge pull request #13405 from kaspar030/introduce_riotboot_slot_offset
...
sys/riotboot: provide riotboot_slot_offset()
2020-02-20 13:03:29 +01:00
Sören Tempel
0e2a620788
gnrc_tftp: remove module
...
Has been deprecated for awhile (01fc3d8f0b
).
2020-02-20 12:04:01 +01:00
benpicco
030e7ebc06
Merge pull request #13307 from miri64/dhcpv6-client-6lbr/feat/init
...
gnrc_dhcpv6_client_6lbr: initial import of a 6LBR DHCPv6 client
2020-02-20 11:00:35 +01:00
Martine Lenders
c6331bfc77
Merge pull request #13379 from cgundogan/pr/gnrc_rpl_p2p
...
gnrc_rpl_p2p: several compilation fixes
2020-02-20 10:25:55 +01:00
Martine S. Lenders
db463a3373
gnrc_dhcpv6_client_6lbr: initial import of a 6LBR DHCPv6 client
2020-02-19 17:37:47 +01:00
87fcd061a8
sys/riotboot: provide riotboot_slot_offset()
2020-02-19 10:04:52 +01:00
8c7ebbdc4f
suit: cleanup of TinyCBOR to NanoCBOR refactor
2020-02-18 11:26:40 +01:00
Ken Bannister
d6fa3c7c2f
net/gcoap: add timeout event/handler for server response
2020-02-16 09:17:48 -05:00
Ken Bannister
ea62734baf
net/gcoap: add sock_async event handling
...
Rework from earlier custom event/msg handling.
2020-02-16 09:17:48 -05:00
Cenk Gündoğan
4b58e5d41b
gnrc_rpl_p2p: fix cleanup timer usage
2020-02-14 11:41:30 +01:00
benpicco
da78d03e95
Merge pull request #13338 from chrysn-pull-requests/coap-no-deduplication
...
nanocoap: State handler idempotentcy requirement
2020-02-13 17:36:28 +01:00
Hauke Petersen
e06cbce940
sys/event: add event_wait_timeout64()
2020-02-13 16:18:32 +01:00
fc40b54cae
Merge pull request #13371 from haukepetersen/add_xtimer_settimeoutflag64
...
xtimer: add xtimer_set_timeout_flag64()
2020-02-13 16:16:45 +01:00
Hauke Petersen
58e381979f
xtimer: add xtimer_set_timeout_flag64()
2020-02-13 15:37:14 +01:00
Hauke Petersen
b92f5ccd15
xtimer: properly expose xtimer_usleep64()
2020-02-13 15:13:47 +01:00
c30df3cac9
Merge pull request #7572 from kaspar030/zptr
...
core: add pointer compression header
2020-02-11 15:25:24 +01:00
5dc32b14cc
sys: zptr: initial commit
...
Provides functionality to compress pointers from 32bit to 16bit if
possible.
2020-02-11 13:59:59 +01:00
chrysn
83c889320d
nanocoap: State handler idempotentcy requirement
...
Closes: https://github.com/RIOT-OS/RIOT/issues/12938
2020-02-11 11:12:08 +01:00
Martine S. Lenders
e94aa40bf5
gnrc_pktbuf: deprecate gnrc_pktbuf_replace_snip()
...
The function is unused and unneeded since 69d9ecc0d9
and
https://github.com/RIOT-OS/RIOT/issues/5089 calls to provide unittests.
2020-02-11 09:49:57 +01:00
Martine Lenders
ebb20f2d44
Merge pull request #13305 from miri64/gnrc_ipv6_ext_frag_stats/feat/initial
...
gnrc_ipv6_ext_frag: initial import of statistics module
2020-02-10 20:23:13 +01:00
benpicco
f997f42ade
Merge pull request #13304 from miri64/gnrc_sixlowpan_frag_stats/enh/count-avg-fragments
...
gnrc_sixlowpan_frag_stats: add average fragments per datagram statistic
2020-02-10 15:23:52 +01:00
Gunar Schorcht
3514eecf9d
Merge pull request #12474 from kaspar030/add_event_threads
...
sys: add shared event threads
2020-02-07 13:29:29 +01:00
e01ad86eb3
sys/event: add shared event threads
2020-02-07 12:17:56 +01:00
Martine S. Lenders
cf69e61289
gnrc_ipv6_ext_frag: initial import of statistics module
2020-02-06 13:48:42 +01:00
Martine S. Lenders
ed9f43ab3a
gnrc_sixlowpan_frag_stats: add average fragments per datagram statistic
2020-02-06 13:40:23 +01:00
Leandro Lanzieri
5e1ef498a7
Merge pull request #13245 from miri64/gnrc_sixlowpan_frag_rb/enh/doc-fix-kconfig
...
gnrc_sixlowpan_frag_rb: fix doc on DO_NOT_OVERRIDE
2020-02-03 13:54:37 +01:00
Martine Lenders
02c16479cf
Merge pull request #13244 from miri64/gnrc_ipv6_ext/enh/rbuf-do-not-override
...
gnrc_ipv6_ext_frag: add configuration option to keep oldest entry
2020-02-03 13:23:20 +01:00
Martine S. Lenders
90ed5bf4af
gnrc_sixlowpan_frag_rb: fix doc on DO_NOT_OVERRIDE
2020-02-03 12:48:19 +01:00
Martine S. Lenders
d99012561a
gnrc_ipv6_ext_frag: add configuration option to keep oldest entry
2020-02-03 12:44:15 +01:00
Martine S. Lenders
7e4078a6d1
net/ipv6/ext/rh.h: remove unneeded header includes
...
Only `<stdint.h>` is used by that header so all the other ones can go.
2020-01-31 18:01:34 +01:00
Cenk Gündoğan
0cf8bf1665
Merge pull request #12958 from leandrolanzieri/pr/kconfig_migrate/gnrc/ipv6_ext_hdr
...
Kconfig: Expose gnrc/ipv6/ext/frag configurations
2020-01-30 19:15:08 +01:00
Leandro Lanzieri
5602bd55ed
gnrc/ipv6/ext/frag: Move configurations to 'CONFIG_' namespace
...
Macros that changed:
GNRC_IPV6_EXT_FRAG_SEND_SIZE -> CONFIG_GNRC_IPV6_EXT_FRAG_SEND_SIZE
GNRC_IPV6_EXT_FRAG_RBUF_SIZE -> CONFIG_GNRC_IPV6_EXT_FRAG_RBUF_SIZE
GNRC_IPV6_EXT_FRAG_LIMITS_POOL_SIZE -> CONFIG_GNRC_IPV6_EXT_FRAG_LIMITS_POOL_SIZE
GNRC_IPV6_EXT_FRAG_RBUF_TIMEOUT_US -> CONFIG_GNRC_IPV6_EXT_FRAG_RBUF_TIMEOUT_US
2020-01-30 17:42:41 +01:00
Martine Lenders
8d749dc024
Merge pull request #13148 from chrysn-pull-requests/usb-default-vidpid
...
USB: Use default VID/PID for RIOT-included peripherals
2020-01-30 17:37:52 +01:00
chrysn
cca756da27
USB VID/PID: Add text to outline what may use the 7D00 PID
2020-01-30 15:04:26 +01:00
chrysn
763ce7a9bf
USB VID/PID: Move check inside usb.h include guards
...
As the whitelist define can be set per compilation unit in all
legitimate cases, the checks do not need to be run on every single usb.h
inclusion. This is done for two reaons:
* It is sufficient -- if any user C file includes usb.h, there's already
a good chance that the user is doing something USB related manualy.
(And conversely, the existing examples with boards that happen to pull
in CDC-ACM or CDC-ECM do not include usb.h from an example C file).
* Defining the USB_H_USER_IS_RIOT around legitimate uses of the header
by other headers would allow accidental sidestepping: If a user
includes a legitimate usb.h using header (say, board.h) and just
forgets to include usb.h on their own, their application that'd mess
with USB would still work as usb.h is transitively included, and the
check for custom includes does not trigger.
2020-01-30 15:04:26 +01:00
chrysn
f35ce9cd8e
USB VID/PID: Allow default VID/PID from inside RIOT code
...
A new define, USB_H_USER_IS_RIOT_INTERNAL, is defined that may only be
set from within RIOT's own compilation units that deem themselves
standard RIOT peripherals. If all usb.h users in a program match that
requirement, a default VID/PID pair is set.
Due to the new composite check, the individual checks for VID/PID being
set become moot and are removed.
2020-01-30 15:01:41 +01:00
Sebastian Meiling
a4c4c25b3b
Merge pull request #12866 from jia200x/pr/gnrc_lorawan_remove_netdev
...
net/gnrc_lorawan: remove netdev layer from MAC
2020-01-30 14:02:59 +01:00
Ken Bannister
6ab7fab40a
net/gcoap: deprecate gcoap_add_qstring()
...
Use Packet API function coap_opt_add_uquery() instead.
2020-01-30 05:41:39 -05:00
Ken Bannister
0ed4fe2da6
net/coap: move/rename function to add query option
2020-01-29 09:23:47 -05:00
Cenk Gündoğan
2fcd9e0456
Merge pull request #13225 from leandrolanzieri/pr/net/gcoap/fix_ref_to_variance
...
gcoap: Remove reference to COAP_ACK_VARIANCE in docs
2020-01-28 21:28:32 +01:00
Leandro Lanzieri
8250f4d198
net/gcoap: Remove reference to COAP_ACK_VARIANCE in docs
2020-01-28 20:14:46 +01:00
Cenk Gündoğan
c84d7d2623
Merge pull request #12887 from leandrolanzieri/pr/kconfig_migrate/gcoap
...
Kconfig: Expose Gcoap configurations
2020-01-28 18:58:29 +01:00
Leandro Lanzieri
bab6f4737c
net/gcoap: Move config macros to 'CONFIG_' namespace
...
Macros that changed:
GCOAP_MSG_QUEUE_SIZE -> CONFIG_GCOAP_MSG_QUEUE_SIZE
GCOAP_NO_AUTO_INIT -> CONFIG_GCOAP_NO_AUTO_INIT
GCOAP_NO_RETRANS_BACKOFF -> CONFIG_GCOAP_NO_RETRANS_BACKOFF
GCOAP_NON_TIMEOUT -> CONFIG_GCOAP_NON_TIMEOUT
GCOAP_OBS_CLIENTS_MAX -> CONFIG_GCOAP_OBS_CLIENTS_MAX
GCOAP_OBS_OPTIONS_BUF -> CONFIG_GCOAP_OBS_OPTIONS_BUF
GCOAP_OBS_REGISTRATIONS_MAX -> CONFIG_GCOAP_OBS_REGISTRATIONS_MAX
GCOAP_OBS_VALUE_WIDTH -> CONFIG_GCOAP_OBS_VALUE_WIDTH
GCOAP_PDU_BUF_SIZE -> CONFIG_GCOAP_PDU_BUF_SIZE
GCOAP_PORT -> CONFIG_GCOAP_PORT
GCOAP_RECV_TIMEOUT -> CONFIG_GCOAP_RECV_TIMEOUT
GCOAP_REQ_OPTIONS_BUF -> CONFIG_GCOAP_REQ_OPTIONS_BUF
GCOAP_REQ_WAITING_MAX -> CONFIG_GCOAP_REQ_WAITING_MAX
GCOAP_RESEND_BUFS_MAX -> CONFIG_GCOAP_RESEND_BUFS_MAX
GCOAP_RESP_OPTIONS_BUF -> CONFIG_GCOAP_RESP_OPTIONS_BUF
GCOAP_TOKENLEN -> CONFIG_GCOAP_TOKENLEN
2020-01-28 11:59:52 +01:00
Leandro Lanzieri
4e85241270
net/coap: Remove unused COAP_ACK_VARIANCE macro
2020-01-27 19:47:20 +01:00
Leandro Lanzieri
8c25d12ae5
net/coap: Represent ACK_RANDOM_FACTOR
multiplied by 1000
2020-01-27 19:47:20 +01:00
Jose Alamos
cc2fd97194
net/gnrc_lorawan: remove netdev abstraction from MAC layer
2020-01-27 10:10:24 +01:00
885bb84ce5
sys/xtimer: _xtimer_now64(): fix irq_disable() return value type
2020-01-22 12:46:17 +01:00
Marian Buschsieweke
dbb9fd0db9
Merge pull request #13137 from PeterKietzmann/pr_puf_opt_softreset
...
sys/puf_sram: counter based seed after soft reset
2020-01-21 13:20:11 +01:00
Leandro Lanzieri
881f17a816
Merge pull request #13123 from PeterKietzmann/pr_kconf_6lo
...
Kconfig: Expose gnrc/sixlowpan configurations
2020-01-20 17:41:52 +01:00
PeterKietzmann
9dd3219c3f
sys/puf_sram: counter based reseed after soft reset
2020-01-20 14:14:09 +01:00
Martine S. Lenders
744f078b3a
gnrc_nettype: deprecate iovec type
...
It is unused since 9fb2f541ba
and not
expected to be re-used in the future.
2020-01-20 13:39:24 +01:00
PeterKietzmann
df7a5d6df8
net/gnrc/sixlowpan/frag/rb:Move not override to 'CONFIG_' namespace
2020-01-17 18:09:19 +01:00
PeterKietzmann
55282a1b1d
net/gnrc/sixlowpan/frag/vrb:Move timeout macro to 'CONFIG_' namespace
2020-01-17 18:09:19 +01:00
PeterKietzmann
cc6bee4986
net/gnrc/sixlowpan/frag/vrb:Move size macro to 'CONFIG_' namespace
2020-01-17 18:09:19 +01:00
PeterKietzmann
a3f349c991
net/gnrc/sixlowpan/nd: remove duplicate definition
2020-01-17 18:09:19 +01:00
PeterKietzmann
7d2c9ef418
net/gnrc/sixlowpan/nd:Move ND time macro to 'CONFIG_' namespace
2020-01-17 18:09:19 +01:00
PeterKietzmann
582779a7a0
net/gnrc/sixlowpan/frag/rb:Move del. timer macro to 'CONFIG_' namespace
2020-01-17 18:09:19 +01:00
PeterKietzmann
811facfa15
net/gnrc/sixlowpan/frag/rb:Move timeout macro to 'CONFIG_' namespace
2020-01-17 18:09:19 +01:00
PeterKietzmann
9389d5b90f
net/gnrc/sixlowpan/frag/rb:Move size macro to 'CONFIG_' namespace
2020-01-17 18:09:19 +01:00
PeterKietzmann
89af238eec
net/gnrc/sixlowpan/frag/fb:Move size macro to 'CONFIG_' namespace
2020-01-17 18:09:19 +01:00
PeterKietzmann
b5ea3122e7
net/gnrc/sixlowpan:Move queue size macro to 'CONFIG_' namespace
2020-01-17 18:09:19 +01:00
Martine Lenders
97a71bc8a6
Merge pull request #13129 from PeterKietzmann/pr_sixlowpan_aggr_override
...
gnrc/sixlowpan: add deprecation note for GNRC_SIXLOWPAN_FRAG_RBUF_AGGRESSIVE_OVERRIDE
2020-01-16 15:57:03 +01:00
PeterKietzmann
c7b6dc587c
gnrc/sixlowpan: deprecate GNRC_SIXLOWPAN_FRAG_RBUF_AGGRESSIVE_OVERRIDE
2020-01-16 13:59:16 +01:00
Sebastian Meiling
48fbd446fe
Merge pull request #8796 from miri64/dhcpv6c-pd/feat/initial
...
dhcpv6: Initial implementation of a client (with IA_PD support)
2020-01-16 13:32:51 +01:00
Martine Lenders
1048d67c76
dhcpv6: provide initial client implementation
...
This implements a client for DHCPv6 IA_PD (Identity Association for
Prefix Delegation). Goal was to have a IETF-compliant alternative to
UHCP. The implementation was based on RFC 8415.
2020-01-16 12:36:03 +01:00
Martine Lenders
89903fa096
dhcpv6: initial import of protocol defintions
...
Imports all relevant constants into a generic header.
2020-01-16 12:34:16 +01:00
fc45c2cc83
Merge pull request #12848 from miri64/gnrc_sixlowpan_frag_rb/fix/interval-fixes
...
gnrc_sixlowpan_frag_vrb: fix issues with interval marker inherited from base
2020-01-15 20:57:49 +01:00
Martine Lenders
5bb404a1c7
Merge pull request #12837 from kb2ma/gcoap/remove_gcoap_req_send2
...
net/gcoap: remove gcoap_req_send2()
2020-01-15 14:45:29 +01:00
Francisco
43d2ca4771
Merge pull request #12602 from miri64/sock_async_event/feat/initial
...
sock_async: initial import of event-based implementation
2020-01-15 14:32:05 +01:00
Martine Lenders
e46ad92cd3
sock_async_event: initial import of event-based implementation
2020-01-15 09:56:11 +01:00
Martine Lenders
350b33b023
Merge pull request #12936 from leandrolanzieri/pr/kconfig_migrate/usb
...
Kconfig: Expose USB configurations
2020-01-14 12:39:30 +01:00
Leandro Lanzieri
a1836d36a4
Kconfig: Expose USB peripheral configurations
2020-01-14 10:34:53 +01:00
Leandro Lanzieri
15bd4897c1
usb: Move configuration macros to 'CONFIG_' namespace
...
Macros that changed:
USB_CONFIG_VID -> CONFIG_USB_VID
USB_CONFIG_PID -> CONFIG_USB_PID
USB_CONFIG_MANUF_STR -> CONFIG_USB_MANUF_STR
USB_CONFIG_PRODUCT_STR -> CONFIG_USB_PRODUCT_STR
USB_CONFIG_CONFIGURATION_STR -> CONFIG_USB_CONFIGURATION_STR
USB_CONFIG_PRODUCT_BCDVERSION -> CONFIG_USB_PRODUCT_BCDVERSION
USB_CONFIG_SPEC_BCDVERSION -> CONFIG_USB_SPEC_BCDVERSION
USB_CONFIG_SELF_POWERED -> CONFIG_USB_SELF_POWERED
USB_CONFIG_MAX_POWER -> CONFIG_USB_MAX_POWER
USB_CONFIG_DEFAULT_LANGID -> CONFIG_USB_DEFAULT_LANGID
2020-01-14 10:34:53 +01:00
Martine Lenders
48221bb018
Merge pull request #12838 from kb2ma/gcoap/deprecate_gcoap_finish
...
net/gcoap: deprecate gcoap_finish()
2020-01-14 10:20:44 +01:00
Ken Bannister
57cd900970
net/gcoap: deprecate macros used only by gcoap_finish()
2020-01-13 10:14:02 -05:00
Ken Bannister
6c2495bedb
net/gcoap: deprecate gcoap_finish()
2020-01-13 10:14:02 -05:00
Martine Lenders
cd3f1b89da
Merge pull request #13107 from leandrolanzieri/pr/sock/async_fix_types
...
sock/async: Fix forward declaration of sock_tcp_queue_t
2020-01-13 14:46:50 +01:00
Leandro Lanzieri
b5c3e32af6
Merge pull request #13108 from MrKevinWeiss/pr/fix/gnrcctcdoc
...
doc/gnrc/ipv6: Update documentation group for gnrc
2020-01-13 14:02:16 +01:00
Leandro Lanzieri
8e6f6ee460
Merge pull request #13065 from PeterKietzmann/pr_kconf_netif
...
Kconfig: Expose gnrc/netif configurations
2020-01-13 13:25:17 +01:00
MrKevinWeiss
1e1bf6ed98
doc/gnrc/ipv6: Update documentation group for gnrc
...
Since the GNRC_IPV6 is part of GNRC it should be a part of the gnrc compile time configuration group.
This adds information on the group to specify it is gnrc and changes the group from config to net_gnrc_conf
2020-01-13 12:34:26 +01:00
PeterKietzmann
fb71ccc098
net/gnrc/netif:GNRC_NETIF_MIN_WAIT_AFTER_SEND_US to 'CONFIG_' namespace
2020-01-13 12:28:37 +01:00
PeterKietzmann
9e83d12bc0
net/gnrc/netif: Move GNRC_NETIF_IPV6_ADDRS_NUMOF to 'CONFIG_' namespace
2020-01-13 12:28:37 +01:00
PeterKietzmann
724d58b074
net/gnrc/netif: Move GNRC_NETIF_MSG_QUEUE_SIZE to 'CONFIG_' namespace
2020-01-13 12:28:37 +01:00
PeterKietzmann
b28a586702
net/gnrc/netif: Move GNRC_NETIF_DEFAULT_HL to 'CONFIG_' namespace
2020-01-13 12:28:37 +01:00
Leandro Lanzieri
e7ce6914c5
sock/async: Fix forward declaration of sock_tcp_queue_t
2020-01-13 12:19:00 +01:00
MichelRottleuthner
53cb3b087c
Merge pull request #9530 from Hyungsin/forupstream_xtimer
...
sys: xtimer concurrency/robustness improvement
2020-01-13 08:24:15 +01:00
76cfe2b84c
Merge pull request #13095 from fjmolinas/pr_ccm_doc
...
sys/include/crypto/modes/ccm: specify implem limits
2020-01-12 18:53:50 +01:00
Francisco Molina
0e4640276c
sys/include/crypto/modes/ccm: specify implem limits
2020-01-12 17:57:27 +01:00
benpicco
5f1b09bd2f
Merge pull request #12727 from benpicco/color_util
...
sys/color: add color_rgb_set_brightness() and color_rgb_shift()
2020-01-10 23:27:45 +01:00
Hyungsin
387344775b
sys: xtimer concurrency/robustness improvement
2020-01-10 10:06:16 -08:00
Leandro Lanzieri
7463543e34
Merge pull request #13066 from PeterKietzmann/pr_kconf_ipv6
...
Kconfig: Expose gnrc/ipv6 configurations
2020-01-10 14:51:23 +01:00
b0d6f5743b
suit/v4: display a progress bar while fetching the image
2020-01-09 11:31:24 +01:00
Francisco
4c4cb8a14f
Merge pull request #12362 from mtausig/ccm_aadlen
...
Fix CCM mode when length of AAD is > 24
2020-01-07 22:26:24 +01:00
Mathias Tausig
3382a089a8
sys/crypto: Check block size for CCM operations
2020-01-07 21:22:09 +01:00
PeterKietzmann
3f0a19a9bc
net/gnrc/ipv6: Move config macros to 'CONFIG_' namespace
2020-01-07 15:36:04 +01:00
Martine S. Lenders
3896145c31
sock: ignore -Wtypedef-redefinition
for LLVM where needed
...
net/sock/async/types.h included by net/sock.h needs to re-typedef the
the sock types to prevent cyclic includes.
2020-01-07 10:13:02 +01:00
Martine S. Lenders
43b1c5c74c
sock_async: fix cyclic dependency with sock_types.h
...
Typically a stack needs to add the callback for a sock as a member of
its respective `sock` type so `sock_types.h` needs to include
`net/sock/async.h` at the moment. As those however include
`net/sock/<prot>.h`, which in turn include `sock_types.h`, we create a
cyclic dependency.
This fix resolves this cyclic dependency, by putting the callback
definitions in its own header that then in turn can be also included
by `sock_types.h`.
2020-01-07 10:13:01 +01:00
Francisco
dcc5299682
Merge pull request #10667 from miri64/gnrc_sixloenc/enh/6lo-config
...
gnrc_netif: make 6LoENC dynamically configurable
2020-01-06 13:19:24 +01:00
Francisco
d4c3476669
Merge pull request #12944 from leandrolanzieri/pr/kconfig_migrate/net/sock_util
...
Kconfig: Expose net/sock/util configurations
2020-01-03 11:41:20 +01:00
PeterKietzmann
091d55a0be
sys/puf_sram: extend documentation
2020-01-02 13:22:35 +01:00
Martine Lenders
d03d2b409e
net: add ARP hardware type defintions
...
These are required for DHCPv6 to identify the type of a link-layer
address (for DUID creation).
2020-01-02 11:56:25 +01:00
Martine Lenders
441ca528da
timex: add US_PER_CS converter
...
DHCPv6 operates on centiseconds (hundredth of a second) for some time
values, so for interaction with `xtimer` I require this converter.
2020-01-02 11:56:25 +01:00
Leandro Lanzieri
449da7602d
gnrc/lorawan: Express timer drift in per mille instead of percentage
2019-12-20 14:12:43 +01:00
José Alamos
7d4082a6a3
Merge pull request #12922 from leandrolanzieri/pr/kconfig_migrate/gnrc/ipv6_blacklisting
...
Kconfig: Expose gnrc/ipv6/blacklist configurations
2019-12-20 11:32:46 +01:00
Martine S. Lenders
e1ae44b536
gnrc_sixlowpan_frag_stats: actualize pseudo-module
...
Having the definitions sit in the `net/gnrc/sixlowpan/frag.h` header
does not make much sense, when using Selective Fragment Forwarding
(and the fragmentation buffer already includes a
`net/gnrc/sixlowpan/frag/stats.h` header), so they are moved to their
own header. Since with this change it makes more sense to have the
statistics stored in their own sub-module, the pseudo-module is also
actualized.
2019-12-18 15:45:03 +01:00
Benjamin Valentin
e4a33ca413
sys/checksum: add crc8 implementation
...
This moves the crc8 implementation of the sht3x driver to common code.
2019-12-13 14:50:32 +01:00
Leandro Lanzieri
c74fa5367c
net/sock/util: Move configuration macros to 'CONFIG_' namespace
...
Macros that changed:
SOCK_SCHEME_MAXLEN -> CONFIG_SOCK_SCHEME_MAXLEN
SOCK_HOSTPORT_MAXLEN -> CONFIG_SOCK_HOSTPORT_MAXLEN
SOCK_URLPATH_MAXLEN -> CONFIG_SOCK_URLPATH_MAXLEN
2019-12-13 12:04:54 +01:00
Leandro Lanzieri
56e61dac47
net/gnrc/ipv6_blacklist: Move config macros to 'CONFIG_' namespace
...
Macros that changed:
GNRC_IPV6_BLACKLIST_SIZE -> CONFIG_GNRC_IPV6_BLACKLIST_SIZE
2019-12-11 10:39:16 +01:00
Martine Lenders
d926810e0b
Merge pull request #12893 from leandrolanzieri/pr/kconfig_migrate/gnrc/ipv6_whitelisting
...
Kconfig: Expose gnrc/ipv6/whitelist configurations
2019-12-10 18:32:34 +01:00
José Alamos
2027efa9f4
Merge pull request #12894 from leandrolanzieri/pr/gnrc_doc_config_group
...
net/gnrc: Group compile configuration Doxygen groups and add GNRC LoRaWAN
2019-12-09 18:20:35 +01:00
418d00d0ea
Merge pull request #9283 from gebart/pr/frac
...
sys/frac: Integer fractions
2019-12-09 09:09:10 +01:00
Leandro Lanzieri
15098a8fc2
gnrc/lorawan: Add configurations to GNRC's Doxygen configurations group
2019-12-06 15:19:18 +01:00
Leandro Lanzieri
de2fbeb112
net/gnrc/ipv6_whitelist: Move config macros to 'CONFIG_' namespace
...
Macros that changed:
GNRC_IPV6_WHITELIST_SIZE -> CONFIG_GNRC_IPV6_WHITELIST_SIZE
2019-12-06 13:57:52 +01:00
Leandro Lanzieri
4ebf34de23
net/gnrc: Move compile configurations to 'net_gnrc_conf' group
2019-12-06 12:23:34 +01:00
Joakim Nohlgård
e4e860a20a
frac: Integer fraction scaling library
2019-12-06 09:36:33 +01:00
c7a534e42a
Merge pull request #12878 from haukepetersen/add_fmt_isnumber
...
sys/fmt: add fmt_is_number()
2019-12-05 20:32:47 +01:00
Hauke Petersen
ab3669294b
sys/fmt: add fmt_is_number()
2019-12-05 15:39:24 +01:00
8ae7201962
Merge pull request #12550 from aabadie/pr/sys/progress_bar
...
sys/progress_bar: add module for managing a progress bar in stdout
2019-12-05 15:03:26 +01:00
Hauke Petersen
d9229af9d9
sys/fmt: move _is_digit and _is_upper to public API
2019-12-05 14:10:49 +01:00
Leandro Lanzieri
0673fce3c4
usbus/cdc/acm: Add configs to compile time configuration Doxygen group
2019-12-04 20:08:02 +01:00
Leandro Lanzieri
f48bd7f9f3
usbus: Add configs to compile time configuration Doxygen group
2019-12-04 20:08:02 +01:00
Leandro Lanzieri
731f27378b
usb: Add configs to compile time configuration Doxygen group
2019-12-04 20:08:02 +01:00
Leandro Lanzieri
d835c52a4b
usb: Fix VID/PID macros documentation
2019-12-04 20:08:02 +01:00
Jose Alamos
8999528390
net/gnrc_lorawan: add MIB for setting RX2 datarate
2019-12-03 14:48:29 +01:00
Jose Alamos
1e9bb7c175
net/gnrc_lorawan: add MIB for setting L2 address
2019-12-03 14:27:56 +01:00
Jose Alamos
99dbcecc3a
net/gnrc_lorawan: remove netdev SAP interface
2019-12-03 14:08:35 +01:00
9f1b84b51d
sys/progress_bar: add module for configurable progress bars
2019-12-02 16:48:16 +01:00
Juan Carrano
bea30c3f89
sys/ubjson: remove module.
...
The ubjson module has a number of quality defects and is unsafe.
Considering CBOR is popular, standarized and supported in RIOT and that
the ubjson implementation is a home-grown one whose API will likely be
unfamiliar to new users, I propose to delete it.
This removal, of course, dows not have to be NOW. We can deprecate it for
one or two releases before.
What's wrong with this module?
- Unsafe: the parsing is done recursively. This is embedded in the API, so it
is not possible to fix it without changing the API. A document with too much
nesting can cause a stack overflow.
- Does not validate writing: it is possible to produce invalid output. From
the docs:
> The library won't complain if you write multiple values that are not
> inside an array or object. The result will just not be properly serialized.
- Poorly tested. As shown by #11702 , #11703 the tests were not even detecting
that a False was stored as True.
- In line with the previous remark, see
68dc5b0d6e/tests/unittests/tests-ubjson/tests-ubjson.c (L66-L77)
Why is the following code in the unit tests??
```c
irq_disable();
sched_set_status(data->main_thread, STATUS_PENDING);
```
- #2175 is still unfixed after 3.5 years.
- Code quality. The code has multiline macros that assign variables and
return. See c332514875/sys/ubjson/ubjson-write.c (L34-L41)
Can we mark it as deprecated this release and sweep it in the following one?
2019-12-01 23:44:39 +01:00
Martine S. Lenders
54a8599170
gnrc_sixlowpan_frag_vrb: call base_rm() with gnrc_sixlowpan_frag_rb
...
`gnrc_sixlowpan_frag_rb_base_rm()` cleans up the intervals which is part
of `gnrc_sixlowpan_frag_rb`, not `gnrc_sixlowpan_frag`, so when the
`gnrc_sixlowpan_frag` is not compiled in, but `gnrc_sixlowpan_frag_rb`,
the intervals allocated in the reassembly buffer and inherited by the
virtual reassembly buffer are never released.
2019-11-29 17:58:02 +01:00
Francisco
b88e2ecb6d
Merge pull request #12471 from aabadie/pr/sys/suit_shell
...
sys/suit: sys/shell: examples/suit_update: add shell command for triggering suit updates
2019-11-29 13:32:23 +01:00
Leandro Lanzieri
7746ee0aa1
net/netopt: Fix NETOPT_CHANNEL_PAGE documentation.
2019-11-29 09:34:38 +01:00
2ff3d4cd8d
sys/shell: add suit shell command
...
This command allows for triggering an update from the device itself
2019-11-28 19:15:34 +01:00
560ee3bac9
suit: add helper function for triggering updates
2019-11-28 19:08:28 +01:00
Ken Bannister
a33c8b1130
net/gcoap: remove gcoap_req_send2()
2019-11-28 11:32:40 -05:00
Hauke Petersen
3fd8357071
net/gcoap: allow to pass user context to requests
2019-11-28 12:50:24 +01:00
Hauke Petersen
383f395af3
net/gcoap: pass memo to resp_handler directly
2019-11-28 12:48:37 +01:00
Leandro Lanzieri
2733ef45d7
Merge pull request #12798 from kb2ma/gcoap/init_delay
...
net/gcoap: add macro to delay initialization of gcoap
2019-11-28 05:10:43 +01:00
Ken Bannister
e873e5814a
net/gcoap: add macro to delay initialization of gcoap
2019-11-27 17:56:55 -05:00
MichelRottleuthner
bf676d4728
Merge pull request #11022 from jia200x/pr/gnrc_lorawan
...
gnrc_lorawan: add support for GNRC based LoRaWAN stack
2019-11-27 09:25:20 +01:00
Jose Alamos
e03f7278bc
gnrc_netif.h: add lorawan component
2019-11-26 21:52:05 +01:00
Jose Alamos
a70b1858c4
netopt: add NETOPTs required for gnrc_lorawan
2019-11-26 21:52:05 +01:00
Jose Alamos
e8bf26f7f3
gnrc_nettype: add GNRC_NETTYPE_LORAWAN type
2019-11-26 21:52:05 +01:00
Jose Alamos
845944e092
gnrc_netif_lorawan: add headers
2019-11-26 21:52:05 +01:00
Jose Alamos
4192cd5578
gnrc_lorawan: add public headers
2019-11-26 21:52:05 +01:00
Benjamin Valentin
6d5704307f
sys/color: add color_rgb_set_brightness()
...
Add a function to set the brightness level of a RGB value from 0-255.
2019-11-24 23:27:05 +01:00
Benjamin Valentin
19e8d02715
sys/color: add color_rgb_shift()
...
Add a function to quickly shift a RGB color up or down.
2019-11-24 23:27:05 +01:00
61db4d9724
sys/include: fix typos
2019-11-23 22:39:37 +01:00
Francois Berder
4a31f94cfc
many typo fixes
...
Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2019-11-23 22:39:07 +01:00
benpicco
d86ca37ed9
Merge pull request #12759 from miri64/bitfield/fix/bitorder
...
bitfield: unify order
2019-11-22 22:37:39 +01:00
Francisco Molina
fe180daa3b
sys/include/net/gnrc/gomach.h: fix cpp preprocessorErrorDirective
...
Preprocesor fails to evaluate the if condicion on L91-92 because
RTT_FREQUENCY is not defined, and therefore a division by 0 occurs.
TO avoid this replicate the RTT_FREQUENCY undefined warning.
2019-11-21 11:58:07 +01:00
Martine Lenders
a6623f834f
bitfield: unify order
...
Currently the bitfield type mixes up the order of bits: While the byte
order is big-endian (most significant byte first), the bit order of each
single byte within the bitfield is little-endian (most significant bit
last). While this isn't a problem for most applications of the bitfield
type it becomes one when sending the bitfield over the network (as done
e.g. in the [ACKs of Selective Fragment Recovery][SFR-ACKs]).
This change unifies byte order and bit order to both be most
significant bX first.
[SFR-ACKs]: https://tools.ietf.org/html/draft-ietf-6lo-fragment-recovery-07
2019-11-20 18:53:11 +01:00
Martine S. Lenders
18ad1e7154
netif: fix outdated information
...
In 77a7aed6e6
the API moved from an
identifier-based approach to a pointer based approach. The documentation
does not reflect this yet.
2019-11-18 13:52:46 +01:00
Leandro Lanzieri
4d4f6ae1d6
net/ipv6: Return string pointer when splitting IPv6 interface.
...
Right now 'ipv6_addr_split_iface' assumes that the interface specifier
will always be a number (based on GNRC way of identifying interfaces),
but this may not be always the case.In order to be able to use the
Network Interface API, interfaces should be referred by their name.
This changes 'ipv6_addr_split_iface' so it returns a pointer to the
string that specifies the interface.
2019-11-15 14:02:50 +01:00
Hauke Petersen
a7d951a0d7
net/ble.h: add custom NDN support service UUID
2019-11-13 11:28:01 +01:00
Martine Lenders
d33548243a
Merge pull request #12698 from miri64/gnrc_sixlowpan_frag_vrb/fix/empty-with-frag
...
gnrc_sixlowpan_frag_vrb: set src_len to 0 on remove
2019-11-12 18:42:10 +01:00
Martine Lenders
02295ce5c7
Merge pull request #12593 from miri64/gnrc_sixlowpan_frag_rb/enh/deletion-timer
...
gnrc_sixlowpan_frag_rb: allow for deletion timer after completion
2019-11-12 17:54:15 +01:00
Martine S. Lenders
e4d95c568b
gnrc_sixlowpan_frag_vrb: set src_len to 0 on remove
...
45f7966
made the `src_len` field the "emptiness signifier" for the VRB.
However, when `gnrc_sixlowpan_frag` is compiled in, the remove function
`gnrc_sixlowpan_frag_vrb_rm()` does not set the `src_len` to zero,
resulting in already deleted entry to be recognized as non-empty.
2019-11-12 17:13:45 +01:00
Martine S. Lenders
40138fdce8
gnrc_sixlowpan_frag_rb: allow for deletion timer after completion
...
This allows to set a timer between the completion of a datagram in the
reassembly buffer and the deletion of the corresponding reassembly
buffer entry. This allows to ignore potentially late incoming link-layer
duplicates of fragments of the datagram that then will have the
reassembly buffer entry be blocked.
This was noted in this [discussion] for classic 6LoWPAN reassembly (and
minimal fragment forwarding) and is recommended in the current
[selective fragment recovery draft][SFR draft].
[discussion]: https://mailarchive.ietf.org/arch/msg/6lo/Ez0tzZDqawVn6AFhYzAFWUOtJns
[SFR draft]: https://tools.ietf.org/html/draft-ietf-6lo-fragment-recovery-07#section-6
2019-11-12 17:06:52 +01:00
benpicco
341d23dded
Merge pull request #12504 from bergzand/pr/usbus/descr_terminology
...
usbus: Unify terminology to use 'descriptor' everywhere
2019-11-12 11:41:10 +01:00
3db4678384
usbus: Unify terminology to use 'descriptor' everywhere
2019-11-12 10:29:19 +01:00
benpicco
9ca9f07c04
Merge pull request #12592 from benpicco/luid-fix
...
sys/luid: add luid_get_eui48() / luid_get_eui64()
2019-11-07 18:34:37 +01:00
benpicco
c1edee074a
Merge pull request #12661 from benpicco/xtimer_fix_doc
...
sys/xtimer: fix generation of documentation
2019-11-07 14:27:58 +01:00
Martine Lenders
a132b2b413
Merge pull request #12220 from miri64/gnrc_sixlowpan_frag/feat/srf-config
...
gnrc_sixlowpan_frag: initial import of SRF parameters
2019-11-07 14:13:15 +01:00
Benjamin Valentin
6add264f6a
sys/xtimer: fix generation of documentation
...
cd1ce6b98d
accidentally disabled generating documentation for
`xtimer_msg_*()` functions.
Always define those functions when building the documentation.
2019-11-07 13:34:27 +01:00