Hauke Petersen
4c08e77d00
net/nanocoap: improve option handling
...
- add generic string put and get functions
- add location path and location query options
- add dedicated functions for getting and setting
URI query, URI path, location query, and location path
options
2018-08-30 10:31:03 +02:00
0cfdaab246
Merge pull request #9842 from jia200x/pr/doc_math
...
doc: add `math` group to Doxygen
2018-08-27 10:34:09 +02:00
Jose Alamos
70420197ed
sys/seq: change ingroup directive
2018-08-24 18:14:03 +02:00
Jose Alamos
58295ab757
sys/matstat: change ingroup directive
2018-08-24 18:14:03 +02:00
Jose Alamos
d87199420c
sys/div.h: change ingroup directive
2018-08-24 18:14:03 +02:00
Jose Alamos
497dcb950c
doc: add sys_math group
2018-08-24 18:08:17 +02:00
Joakim Nohlgård
6d6a6efac7
gnrc_netif: Check return value of netdev init during thread start
2018-08-24 12:11:12 +02:00
Hauke Petersen
c2184f3454
boards/cpu/drivers/sys: use generic stdio_ if
2018-08-22 10:54:25 +02:00
Hauke Petersen
9bd2363643
sys/stdio: s/rtt_stdio/stdio_rtt/
2018-08-22 10:54:25 +02:00
Hauke Petersen
d55616a7f5
sys/stdio: s/uart_stdio/stdio_uart/
2018-08-22 10:54:25 +02:00
Hauke Petersen
717e84f7b2
sys/stdio: factor out STDIO abstraction
2018-08-22 10:54:25 +02:00
Jose Alamos
f2ff06c9d4
posix/pthread_rwlock: fix unsigned variable comparison
2018-08-21 13:58:39 +02:00
Toon Stegen
3a69e0fa98
sys/fmt: remove useless assignment
2018-08-20 16:19:30 +02:00
Toon Stegen
9f90f31291
sys/fmt: add function for converting hex byte
2018-08-20 16:19:30 +02:00
Martine Lenders
a9d0f20c7e
Merge pull request #8626 from miri64/gnrc_sixlowpan_iphc/enh/clean-up-nhc
...
gnrc_sixlowpan_iphc: cleanup NHC encoding
2018-08-17 10:13:34 +02:00
Martine Lenders
0a9793c49b
gnrc_sixlowpan_iphc: cleanup NHC encoding
2018-08-16 16:55:28 +02:00
Joakim Nohlgård
3cc088689e
6lo: Speling correction in comment
2018-08-14 10:08:52 +02:00
Joakim Nohlgård
58281e9135
6lo: Set more data flag on all but last frag
2018-08-14 10:08:17 +02:00
Cenk Gündoğan
ba6d386c5e
Merge pull request #9756 from smlng/pr/ccnlite/versionbump
...
pkg: update ccn-lite and adapt shell commands
2018-08-13 11:03:11 +02:00
Joakim Nohlgård
a247d8bfa5
gnrc_netif_ieee802154: set Frame Pending bit sometimes
...
Set frame pending bit in IEEE 802.15.4 FCF when
GNRC_NETIF_HDR_FLAGS_MORE_DATA is set on the netif header on outbound
frames.
2018-08-13 09:27:18 +02:00
Joakim Nohlgård
29e4a1ba3c
gnrc_netif: Introduce GNRC_NETIF_HDR_FLAGS_MORE_DATA
2018-08-13 09:25:32 +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
513e3eca2f
Merge pull request #9522 from miri64/gnrc_ipv6_nib/enh/slaac-fallback
...
gnrc_ipv6_nib: fallback to SLAAC if ARO is ignored by upstream
2018-08-10 08:21:31 +02:00
Martine Lenders
4f87883ab8
gnrc_ipv6_nib: fallback to SLAAC if ARO is ignored by upstream
...
Linux doesn't have ARO support at the moment so this is a workaround to
try to speak 6Lo-ND while still being able to do DAD with a border
router that doesn't.
2018-08-09 10:56:36 +02:00
Ken Bannister
3f3df74bcd
Merge pull request #7237 from Ell-i/feature-gcoap-extra-indirection
...
net/gcoap: Make references to coap_resource_t all const in gcoap
2018-08-07 23:52:59 -04:00
Gaëtan Harter
a7241384be
Merge pull request #9719 from miri64/gnrc_ipv6_nib/enh/emit-conf
...
gnrc_ipv6_nib: make automatic NDP packet emission (NS/RS) configurable
2018-08-07 17:55:00 +02:00
Martine Lenders
ad173831db
Merge pull request #9721 from smlng/pr/gnrc_udp/assert
...
gnrc_udp: assert ports not zero
2018-08-06 16:59:55 +02:00
smlng
d4e8c57621
gnrc_netif: generalise address search functions
...
Reduce code duplication by combining internal helper functions
that either loop over interface addresses or multicast groups.
2018-08-06 16:28:48 +02:00
smlng
7cb41ba829
gnrc_netif: cleanup debug output
...
Correct typos and wording in debug output.
2018-08-06 16:28:48 +02:00
smlng
8e3953cd6c
gnrc_netif: cleanup address matching
...
Cleanup of internal helper functions for IPv6 address matching.
2018-08-06 16:28:48 +02:00
smlng
fd718dfc74
gnrc_udp: assert ports not zero
...
UDP port 0 is reserved for system usage, e.g., to tell the OS to
set a random source port. Hence, neither source nor destination
port should be 0 when transmitting. This PR adds proper asserts.
2018-08-06 16:09:22 +02:00
Martine Lenders
9720cd857d
gnrc_ipv6_nib: include SLAAC debug addr_str into #ifdef
2018-08-06 14:51:34 +02:00
Martine Lenders
bdb1e80e0a
gnrc_ipv6_nib: make RS emission configurable
2018-08-06 14:51:18 +02:00
smlng
f35d15d429
doc: add missing defgroup for auto_init_saul
2018-08-02 15:52:58 +02:00
Michael Andersen
e354824bcf
drivers/mma7760: Add initial support
2018-08-02 15:52:58 +02:00
Martine Lenders
f946314837
gnrc_ipv6: refactor to remove superfluous temporary variable
...
Since no release in this function is required anyways, we can just use
`payload` to check the return value directly.
2018-08-02 15:20:59 +02:00
Martine Lenders
cb4f6a96a8
gnrc_ipv6: correctly reset from temporary variable
...
While `tmp` in the loop for write-protection for the check-sum
calculation is used to check the return value of
`gnrc_pktbuf_start_write()`, it was never overwriting `payload` causing
the original snip to be used in the following iteration `prev` when
duplicated, and destroying the sanity of `ipv6`.
2018-08-02 15:17:40 +02:00
Martine Lenders
72e9b1f623
gnrc_ipv6: remove superfluous release
...
The packet handed to `_fill_ipv6_hdr()` is already released in the
caller (in the current version this is only `_save_fill_ipv6_hdr()`).
2018-08-02 15:16:08 +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
Pekka Nikander
8f10d65ad5
net/gcoap: Make references to coap_resource_t const in gcoap
...
A CoAP resource is a primary object between the application
and CoAP library. The Library needs the paths, methods,
and handlers from it, so that it can call the right handler.
However, it never needs to change any of them.
The application also needs the resources. The application
may want to declare the resources as const, since it may
want to store them in flash.
2018-07-30 09:00:21 +03:00
Gaëtan Harter
f996e1ca78
Merge pull request #9627 from cladmi/pr/sc_can/uninitialized
...
shell/sc_can: fix uninitialized warning
2018-07-27 12:34:19 +02:00
Cenk Gündoğan
f03e52d157
Merge pull request #9484 from miri64/gnrc_sixlowpan_iphc/enh/i8511-recv
...
gnrc_sixlowpan_iphc: refactor reception for #8511
2018-07-26 07:58:52 +02:00
Martine Lenders
69d9ecc0d9
gnrc_sixlowpan_iphc: refactor reception for #8511
...
This refactors reception/decoding part of `gnrc_sixlowpan_iphc` to the
more layered approach modeled in #8511 . Since the reception part is
already complicated enough I decided to divide send and receive up into
separate changes.
2018-07-25 18:15:09 +02:00
Martine Lenders
9a88cc8004
gnrc_sixlowpan: remove assertion on multiple_by_size function
...
During the review of #9485 [we found out][1] that an assertion in this
function was invalid. However, the documentation on this assertion
wasn't removed on that. This fixes that.
[1] https://github.com/RIOT-OS/RIOT/pull/9485#issuecomment-407794280
2018-07-25 18:00:30 +02:00
Cenk Gündoğan
7fef5e030a
Merge pull request #9485 from miri64/gnrc_sixlowpan_iphc/enh/i8511-send
...
gnrc_sixlowpan_iphc: refactor sending for #8511
2018-07-25 17:57:59 +02:00
Martine Lenders
80322cbd7d
gnrc_sixlowpan_iphc: refactor sending for #8511
...
This refactors sending/encoding part of `gnrc_sixlowpan_iphc` to the
more layered approach modeled in #8511 . Since the reception part is
already was pretty complicated to refactor, I decided to divide send
and receive up into separate changes.
2018-07-25 17:35:59 +02:00
e006165b50
sys/auto_init: update isl29020 with new API
2018-07-25 12:01:39 +02:00
Matthew Blue
bc9b3ecaae
*/ads101x: copyright notice update
2018-07-25 12:01:39 +02:00
93fc27b93b
sys/auto_init: update mag3110 auto_init
2018-07-25 12:01:39 +02:00
af647bfb53
sys/auto_init: update tsl2561 auto_init
2018-07-25 12:01:39 +02:00