1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

2076 Commits

Author SHA1 Message Date
Peter Kietzmann
63fd8bc89b
Merge pull request #7577 from miri64/gnrc_netif2/feat/ieee802154-dup-bcast
gnrc_netif_ieee802154: drop duplicate broadcast packets (optionally)
2019-02-11 09:42:06 +01:00
Martine Lenders
985d98073f gnrc_netif_ieee802154: drop duplicate broadcast packets (optionally) 2019-02-04 16:19:48 +01:00
Kevin "Bear Puncher" Weiss
7dc243e3cc
Merge pull request #10220 from bergzand/pr/crypto/chacha20poly1305
chacha20poly1305: Initial implementation of AEAD cipher.
2019-02-04 12:52:24 +01:00
1990e1629a
crypto: Add chacha20poly1305 AEAD algorithm 2019-02-04 09:29:26 +01:00
smlng
6d0384f068 netstats: collect layer 2 netstats in gnrc_netif
This the first step in moving the collection of layer 2 netstats from
the low level driver to a central location, ie. gnrc_netif, to avoid
code duplication.
2019-02-01 10:35:03 +02:00
Sebastian Meiling
805efb69c5
Merge pull request #10458 from MichelRottleuthner/pr_driver_sds011
add driver for SDS011 active laser dust sensor
2019-01-31 15:54:09 +02:00
Michel Rottleuthner
61dc1920d3 sys/phydat: add unit for mass concentration (g/m^3) 2019-01-30 13:15:17 +01:00
Cenk Gündoğan
b3843daeb8
Merge pull request #10817 from miri64/gnrc_netif/enh/i10723
gnrc_ipv6_nib: use generated EUI-64 for ARO build and check
2019-01-29 22:49:41 +01:00
Martine Lenders
16e7fc8336 gnrc_netif: introduce L2 address to EUI-64 conversion 2019-01-29 21:52:53 +01:00
Martine Lenders
9468342e44 eui48: wrap eui48_to_ipv6_iid() around eui48_to_eui64() 2019-01-29 21:52:53 +01:00
Martine Lenders
963b405312 eui48: introduce eui48_to_eui64() function 2019-01-29 21:52:53 +01:00
Ken Bannister
f4a4f24197 net/gcoap: update module doc for coap_opt_finish 2019-01-28 13:05:50 -05:00
Marian Buschsieweke
cc0e6dc779
sys/phydat: Added unit Coulomb 2019-01-28 13:33:16 +01:00
Ken Bannister
93da7372fd net/gcoap: use coap_opt_finish within gcoap 2019-01-27 08:56:26 -05:00
Ken Bannister
a6b49a178d net/nanocoap: add inline function for Content-Format 2019-01-27 08:56:26 -05:00
Martine Lenders
bdd2d52fd5
Merge pull request #10797 from kaspar030/add_unaligned
sys: add unaligned.h (header for alignment safe value-from-pointer functions)
2019-01-26 13:09:20 +01:00
c85d33f305 sys/include/unaligned: initial commit 2019-01-25 22:22:45 +01:00
cee830bd97
Merge pull request #10868 from jia200x/pr/pkg_loramac_calibration
pkg/semtech-loramac: add timer calibration
2019-01-25 15:55:03 +01:00
Jose Alamos
6c1c420164 loramac: add macros for default timer calibration values 2019-01-25 14:18:06 +01:00
Sebastian Meiling
a65fede8c4
Merge pull request #10855 from kb2ma/nanocoap/simple_reply_safety
net/nanocoap: verify simple reply buffer
2019-01-24 12:08:31 +01:00
Sebastian Meiling
43d772ce63
Merge pull request #10847 from jia200x/pr/fix_netreg_macros
net/netreg: fix static netreg init macros
2019-01-24 12:05:30 +01:00
Jose Alamos
65e985d649 net/netreg: fix static netreg init macros 2019-01-24 11:44:17 +01:00
danpetry
6e21c92418
Merge pull request #10796 from leandrolanzieri/pr/sys/base64_size_macros
sys/base64: Add size estimation functions
2019-01-24 11:43:13 +01:00
Gunar Schorcht
d90d546053
Merge pull request #10824 from miri64/gnrc_ipv6_nib/fix/br-slaac
gnrc_ipv6_nib: activate SLAAC on border router
2019-01-24 11:20:36 +01:00
Leandro Lanzieri
c5cd71fb72 sys/base64: Add size estimation macros 2019-01-24 08:35:22 +01:00
Ken Bannister
e1bebed512 net/nanocoap: make reply doc more specific 2019-01-23 16:36:20 -05:00
Martine Lenders
55c0694da6
Merge pull request #10841 from miri64/gnrc_sixlowpan/enh/doc-i8511
gnrc_sixlowpan: document submodules according to #8511
2019-01-22 15:50:31 +01:00
Martine Lenders
20e92dfe5e
Merge pull request #8942 from zhuoshuguo/gnrc_lwmac/enable-dutycycle-print
gnrc_lwmac: enable radio duty-cycle printing.
2019-01-22 14:59:51 +01:00
shuguo
4a4e552cca gnrc_lwmac: enable duty-cycle printing. 2019-01-22 21:24:00 +08:00
Sebastian Meiling
9d3f1107c9
Merge pull request #10791 from kb2ma/gcoap/options_buf_macros_config
net/gcoap: make options buf macros configurable
2019-01-22 14:20:33 +01:00
Martine Lenders
b2d724cc60 gnrc_sixlowpan: document submodules according to #8511 2019-01-22 14:15:13 +01:00
Martine Lenders
d3f8739a1e
Merge pull request #5949 from zhuoshuguo/add_timeout_module_to_gnrc_mac
gnrc_mac: add timeout module.
2019-01-22 10:34:30 +01:00
zhuoshuguo
79e5586d0c gnrc_mac: add timeout module.
Co-Authored-By: zhuoshuguo <zhuosgzju@gmail.com>
2019-01-21 22:46:10 +08:00
Martine Lenders
002494f789 gnrc_ipv6_nib: activate SLAAC on border router 2019-01-19 11:15:38 +01:00
Martine Lenders
7e4d13c2be eui48: fix type alignment 2019-01-18 17:03:33 +01:00
Ken Bannister
0e1c3ebe50 net/gcoap: make options buf macros configurable 2019-01-16 12:41:06 -05:00
Martine Lenders
55b9757044 gnrc_netif: centralize function to init IPv6 MTU 2019-01-16 15:52:54 +01:00
Martine Lenders
ea9bbd72b8 gnrc_netif: centralize function to get l2addr NETOPT 2019-01-16 15:52:54 +01:00
Martine Lenders
8f763535ac gnrc_netif: centralize S/TLLAO length to address length function
The function to infer the link-layer address length from the length of
a S/TLLAO is very dependent on the IPv6 over X specification and thus
should be grouped with the other IP over X functions.
2019-01-16 15:52:53 +01:00
Martine Lenders
465631f83c gnrc_netif: doc-group device-type based functions 2019-01-15 11:51:21 +01:00
Cenk Gündoğan
6a4c764c95
Merge pull request #10569 from miri64/gnrc_netif/enh/rm-get-NETOPT_IPV6_IID
gnrc_netif: make _get_iid() just wrapper around _iid_from_addr()
2019-01-14 14:09:34 +01:00
Martine Lenders
7ae90564d9 gnrc_netif: make _get_iid() just wrapper around _iid_from_addr()
This way the IID generation gets much simplified and code duplication
is avoided since it removes GNRC's requirement for NETOPT_IPV6_IID.
2019-01-14 13:42:58 +01:00
Martine Lenders
8ad5e44cba sock_dns: remove some magic numbers 2019-01-10 18:07:29 +01:00
Martine Lenders
242bb55c24
Merge pull request #10719 from miri64/gnrc_netif/enh/add-l2addr-to-doc
gnrc_netif: add l2addr members to doc
2019-01-07 15:43:10 +01:00
Sebastian Meiling
53a887ce14
Merge pull request #10703 from kb2ma/coap/code_macros
net/coap: improve message code macros
2019-01-07 14:31:18 +01:00
Martine Lenders
48ac0ea902 gnrc_netif: add l2addr members to doc
The `l2addr` and `l2addr_len` members of the `gnrc_netif_t` struct did
not show up in the rendered documentation.
2019-01-07 13:05:02 +01:00
Cenk Gündoğan
aa2de01b56
Merge pull request #10665 from miri64/gnrc_sixloenc/feat/initial
gnrc_sixloenc: introduce pseudo-module to send 6Lo frames over Ethernet
2019-01-07 11:58:33 +01:00
Martine Lenders
10f534854c gnrc_sixlowpan: make title of NETAPI section more specific 2019-01-07 10:30:47 +01:00
Martine Lenders
0c51a67631 gnrc_ipv6: make title of NETAPI section more specific 2019-01-07 10:30:33 +01:00
Sebastian Meiling
26ea289ce0
Merge pull request #10583 from miri64/gnrc_ipv6/enh/doc
gnrc_ipv6: make gnrc_netapi documentation more detailed
2019-01-07 09:14:39 +01:00
Ken Bannister
62f4946772 net/coap: improve message code macros 2019-01-04 19:43:18 -05:00
Martine Lenders
45b95e86cd gnrc_nettype: provide ethertype to nettype for 6LoEnc 2019-01-04 13:31:03 +01:00
Martine Lenders
dda7131374 ethertype: define 6LoWPAN encapsulation ethertype 2019-01-04 13:29:47 +01:00
b77c802f9b
Merge pull request #10666 from miri64/netopt/new/6lo
netopt: provide option to (de-)activate 6Lo
2019-01-03 18:50:31 +01:00
Martine Lenders
f475f1cc18
Merge pull request #10678 from kb2ma/nanocoap/doc_config_group
net/nanocoap: allow user to configure macros
2019-01-03 17:06:39 +01:00
Martine Lenders
365cac1749
Merge pull request #10677 from kb2ma/coap/doc_config_group
net/coap: allow user to configure message retry macros
2019-01-03 17:04:19 +01:00
Martine Lenders
59366022ca netopt: provide option to (de-)activate 6Lo 2019-01-03 16:21:52 +01:00
Martine Lenders
019c1aba16
Merge pull request #10676 from kb2ma/gcoap/doc_config_group
net/gcoap: add config macros to config doc group
2019-01-03 15:59:27 +01:00
0d4b55e0c8
Merge pull request #10654 from keestux/driver-rn2xx3-rx1delay
loramac: change rxdelay1 to millisec, was seconds
2019-01-03 11:24:17 +01:00
0ca4703dde
Merge pull request #10687 from kb2ma/nanocoap/remove_macro
net/nanocoap: remove obsolete macro
2019-01-03 11:00:52 +01:00
José Alamos
f14d46d935
Merge pull request #10242 from miri64/gnrc_ipv6_ext_rh/enh/icmpv6_error_msg
gnrc_ipv6_ext_rh: add ICMPv6 error message sending
2019-01-03 10:35:54 +01:00
Ken Bannister
5e9a2c0925 net/nanocoap: allow user to configure macros 2019-01-02 13:12:05 -05:00
Ken Bannister
5f8e993faf net/coap: reference RFC for configurability 2019-01-02 12:54:12 -05:00
Ken Bannister
663bb5bb3d net/coap: use separate name for macro doc 2019-01-02 12:54:12 -05:00
Ken Bannister
94660f4db7 net/coap: allow user to configure message retry macros 2019-01-02 12:54:12 -05:00
Ken Bannister
c17cf650ca net/nanocoap: remove obsolete macro 2018-12-31 07:17:29 -05:00
Ken Bannister
03d4230d3a net/gcoap: specify range for token length 2018-12-31 06:13:55 -05:00
Martine Lenders
c6150d3b35 gnrc_ipv6: make gnrc_netapi documentation more detailed 2018-12-30 19:24:24 +01:00
Ken Bannister
beae37cf18 net/gcoap: retitle documentation group
Avoids confusion with generic CoAP and capitalization retains order
in documentation.
2018-12-30 10:45:35 -05:00
Ken Bannister
3467994896 net/gcoap: add config macros to config doc group 2018-12-30 10:45:35 -05:00
Lotte Steenbrink
b6b4fed26d
Merge pull request #10659 from miri64/gnrc_sixlowpan/enh/netapi-doc
gnrc_sixlowpan: amend gnrc_netapi introduction
2018-12-27 23:21:20 +01:00
Martine Lenders
def3aa9b65
Merge pull request #10629 from miri64/gnrc_netif/cleanup/mac-flags
gnrc_netif: remove superfluous GNRC_NETIF_FLAGS_MAC_*
2018-12-27 19:56:00 +01:00
Martine Lenders
dd55c792c5
Merge pull request #10574 from haukepetersen/add_bluetil_ad
net/ble: add generic advertisement data (AD) processing helper
2018-12-27 19:30:43 +01:00
Martine Lenders
b5ba43b517 gnrc_sixlowpan: amend gnrc_netapi introduction 2018-12-27 14:06:35 +01:00
Kees Bakker
fd446f516d loramac: change rxdelay1 to millisec, was seconds
The RN2xx3 device has this parameter in milliseconds. So far, there is no
other device driver using loramac.h

Notice that RN2xx3 only has a get command for rxdelay2, not a set command.
Nevertheless, that parameter was changed to milliseconds as well.
2018-12-24 19:31:55 +01:00
Lotte Steenbrink
c46f95817d sys/include/net/icmpv6.h: fix two small typos 2018-12-24 14:34:50 +01:00
Sebastian Meiling
139b5dba3c
Merge pull request #10501 from kb2ma/gcoap/req_path_null
net/gcoap: allow NULL path in gcoap_req_init()
2018-12-21 14:36:04 +01:00
Sebastian Meiling
fa38f05574
Merge pull request #10642 from kb2ma/nanocoap/fix_nanocoap_sock_includes
net/nanocoap: fix includes for nanocoap sock
2018-12-20 08:38:03 +01:00
Ken Bannister
bd457aee2b net/nanocoap: fix includes for nanocoap sock 2018-12-20 00:37:18 -05:00
Emmanuel Baccelli
3a3c23df36
Merge pull request #10065 from kYc0o/pr/riotboot
bootloader: add riotboot minimal bootloader
2018-12-18 20:27:11 +01:00
Martine Lenders
0a5ef011e1 gnrc_ipv6_ext_rh: add ICMPv6 error message sending 2018-12-18 19:46:27 +01:00
Martine Lenders
13e66ce3f2
Merge pull request #10238 from miri64/gnrc_ipv6_ext/cleanup/merge-handle-rh
gnrc_ipv6_ext: merge _handle_rh and gnrc_ipv6_ext_rh_process
2018-12-18 19:39:16 +01:00
Francisco Acosta
2df0abfd70 sys/riotboot: add riotboot_slot module
This module adds some helper function to manage slots
created with a riotboot_hdr header.

Co-authored-by: Kaspar Schleiser <kaspar@schleiser.de>
2018-12-18 19:31:34 +01:00
Martine Lenders
8701c0f80a gnrc_ipv6_ext: merge _handle_rh and gnrc_ipv6_ext_rh_process
It's a lot cleaner and makes more sense if we merge those two.
2018-12-18 19:03:40 +01:00
Martine Lenders
affb385be6
Merge pull request #10623 from jia200x/pr/lora_conf
lora: add lora and loramac config macros to config doc group
2018-12-18 14:51:49 +01:00
Martine Lenders
06c13bdd70 gnrc_netif: remove superfluous GNRC_NETIF_FLAGS_MAC_*
They are also defined in `net/gnrc/netif/mac.h` and those are the ones
used by the current `gnrc_mac` implementations.
2018-12-18 14:47:24 +01:00
Martine Lenders
bddbe93976 gnrc_netif: remove premature doc group close
This adds `GNRC_NETIF_FLAGS_RAWMODE` to the `net_gnrc_netif_flags_t`
group.
2018-12-18 14:45:51 +01:00
Martine Lenders
d4fd6076c4
Merge pull request #10626 from jia200x/pr/ieee802154_conf
ieee802154: add config macros to config doc group
2018-12-18 14:22:51 +01:00
Jose Alamos
3e3321445f lora.h: move brief tag outside of ifndef block 2018-12-18 13:23:36 +01:00
Jose Alamos
022e1f57b8 loramac: add config macros to config doc group 2018-12-18 13:23:36 +01:00
Jose Alamos
39821c93b0 lora.h: fix doxygen brief tag 2018-12-18 13:23:36 +01:00
Jose Alamos
0759ad85a6 lora: add config macros to config doc group 2018-12-18 13:23:36 +01:00
Jose Alamos
a95bea6cf1 ieee802154: add brief tag to configuration macros 2018-12-18 13:22:21 +01:00
Jose Alamos
f50a239f8e ieee802154: add config macros to config doc group 2018-12-18 13:22:21 +01:00
José Alamos
0dd711cb9f
Merge pull request #10616 from miri64/gnrc_netif/enh/config-group
gnrc_netif: add config macros to config doc group
2018-12-18 11:05:29 +01:00
José Alamos
1c82f7804b
Merge pull request #10617 from miri64/gnrc_ipv6/enh/config-group
gnrc_ipv6: add config macros to config doc group
2018-12-17 13:55:28 +01:00
Sebastian Meiling
496daa0b9f
Merge pull request #10582 from miri64/gnrc_sixlowpan/enh/doc-update
gnrc_sixlowpan: update documentation
2018-12-17 13:32:11 +01:00
Martine Lenders
864ce4fed2 gnrc_ipv6_ext: rename nh to protnum for clarity 2018-12-15 18:21:48 +01:00
Martine Lenders
bbcb3161ea gnrc_ipv6_ext: make single header demux function private
The function is now only called by `gnrc_ipv6_ext_process_hopopt()` and
`gnrc_ipv6_ext_process_all()`, both are part of the `gnrc_ipv6_ext`
module.
2018-12-14 19:07:16 +01:00
Martine Lenders
0580fa5852 gnrc_ipv6: dispatch ext. headers to external interested parties
This way e.g. a raw socket listening for an extension headers protocol
number also get's it.
2018-12-14 19:07:16 +01:00