ccc09d9ed4
Merge pull request #11023 from miri64/gnrc_netif_ieee802154/enh/propagate-pend-frames
...
gnrc_netif_ieee802154: propagate pend. frame flag to stack
2019-03-15 12:51:50 +01:00
Martine Lenders
946b06e4f0
gnrc_netif: increase message queue size
...
Since the netif threads are in general a more heavy lifters than the
rest of the GNRC there queue size should be increased.
2019-03-15 12:08:43 +01:00
71204d1d70
Merge pull request #9830 from bergzand/pr/usb/usbdev
...
usbdev: Introducing a generic USB device driver API
2019-03-14 22:48:47 +01:00
30c8d97092
usbopt: Add usb control operation enum
...
Add usbopt, a number of defines to control USB peripheral device
settings. Options are split into settings for USB devices and USB
endpoints.
2019-03-14 21:40:05 +01:00
f52d0c7c53
usb: Add defines for USB peripheral devices
2019-03-14 21:39:57 +01:00
Ken Bannister
34e880499e
examples/cord_ep: use coap_opt_finish()
2019-03-13 00:24:29 -04:00
Ken Bannister
682c1e9a7d
examples/cord_epsim: use coap_opt_finish()
2019-03-13 00:24:29 -04:00
297efdd5b2
Merge pull request #10892 from kb2ma/gcoap/use_opt_finish
...
net/gcoap: Replace use of gcoap_finish() with coap_opt_finish()
2019-03-12 22:16:32 +01:00
891580aba7
sys/auto_init: add support for periph_temperature
2019-03-08 21:14:22 +01:00
Marian Buschsieweke
8dbd3b24d1
Merge pull request #11124 from miri64/gnrc_sixlowpan/fix/debug-pri
...
gnrc_sixlowpan: don't use PRIx8
2019-03-08 10:25:27 +01:00
Martine Lenders
449d4559a7
gnrc_sixlowpan_frag: replace printf with DEBUG
2019-03-07 18:17:07 +01:00
Martine Lenders
f6d3290507
gnrc_sixlowpan: don't use PRIx8
...
With newlib nano-specs the debug output without this change will be
6lo: dispatch 0hx ... is not supported
With this PR this will provide a correct output, e.g.
6lo: dispatch 0x3f ... is not supported
2019-03-07 12:45:27 +01:00
Hauke Petersen
368ab65d8a
sys/random: cleanup includes
2019-03-07 10:22:10 +01:00
MrKevinWeiss
c36cf5743f
tests/shell: Add app_metadata to shell tests
...
Adds app_metadata to the shell test
This both serves as a simple test to see if the module is available
and doesn't crash as well as an example
2019-03-06 13:07:57 +01:00
MrKevinWeiss
7a220d16a8
sys/shell: Add shell command for app_metadata
...
This make an easily accessable shell command to print app_metadata
2019-03-05 16:10:06 +01:00
MrKevinWeiss
fc80ae7724
sys/app_metadata: Add app_metadata module
...
This allows a access to application metadata such as BOARD, CPU, etc.
It prints the contents to the stdio in a standard json form
2019-03-05 16:10:06 +01:00
Semjon Kerner
20728c2528
sys/auto_init: add auto_init for nrf52 ieee802.15.4 driver
2019-03-04 13:21:47 +01:00
Semjon Kerner
c2a40be458
drivers/netdev_ieee802154: add mac header filter
2019-03-04 13:21:43 +01:00
Martine Lenders
dd1bad25df
Merge pull request #11071 from kb2ma/nanocoap/fix_server_abort
...
net/nanocoap: don't abort server on recv error
2019-02-26 21:35:05 +01:00
Ken Bannister
05195ec4a1
net/nanocoap: don't abort server on recv error
2019-02-26 12:35:49 -05:00
Martine Lenders
7d8f6abd45
gnrc_netif: check all required options on initialization
...
With `DEVELHELP` activated all required options required by GNRC are
now checked at interface initialization, so that developers of new
link-layer protocols or device drivers notice as soon as possible that
something is missing.
2019-02-26 16:45:21 +01:00
Martine Lenders
0f1bfad15b
gnrc_netif: provide addr_len_from_l2ao for nordic_softdevice_ble
2019-02-26 15:43:39 +01:00
Martine Lenders
13030d5a35
gnrc_netif: expose message queue size configurable
2019-02-26 13:26:20 +01:00
Juan I Carrano
7e0891ebe5
Merge pull request #10989 from maribu/thread_stats
...
core: Use enum for thread states
2019-02-22 17:17:19 +01:00
Martine Lenders
727a843ce4
Merge pull request #10905 from maribu/packet_size_l2_pdu
...
net: NETOPT_MAX_{PACKET_SIZE -> PDU_SIZE}
2019-02-22 15:23:00 +01:00
Martine Lenders
998b9ed0d4
gnrc_netif_hdr: make in parameters const
2019-02-21 12:43:08 +01:00
Hauke Petersen
64489e8b44
sys/random: add hwrng as seed source (if available)
2019-02-19 18:09:40 +01:00
Hauke Petersen
8a135d3a43
sys/random: add guard for periph/cpuid include
2019-02-19 18:09:40 +01:00
Hauke Petersen
e070d5a694
sys/random: fix indention in doxygen header
2019-02-19 18:09:40 +01:00
Marian Buschsieweke
aaacd16248
sys/shell: NETOPT_MAX_{PACKET_SIZE -> PDU_SIZE}
...
Updated the ifconfig shell command to use NETOPT_MAX_PDU_SIZE instead of the
deprecated NETOPT_MAX_PACKET_SIZE
2019-02-18 20:18:48 +01:00
Marian Buschsieweke
4672368d5a
sys/net: NETOPT_MAX_{PACKET_SIZE -> PDU_SIZE}
...
Updated code to use NETOPT_MAX_PDU_SIZE instead of deprecated
NETOPT_MAX_PACKET_SIZE.
2019-02-18 20:15:08 +01:00
Marian Buschsieweke
5ba72df5aa
net: NETOPT_MAX_{PACKET_SIZE -> PDU_SIZE}
...
Renamed NETOPT_MAX_PACKET_SIZE into NETOPT_MAX_PDU_SIZE and updated the
documentation. NETOPT_MAX_PACKET_SIZE is introduced as preprocessor alias
for NETOPT_MAX_PDU_SIZE to remain backward compatible and is marked as
deprecated.
2019-02-18 20:15:05 +01:00
ac775b8ae5
Merge pull request #9181 from haukepetersen/opt_event_independencefromthread
...
sys/event: make event queue independent from thread
2019-02-16 13:50:14 +01:00
Peter Kietzmann
902a6d619a
Merge pull request #10919 from leandrolanzieri/drivers/ad7746
...
drivers: Add AD7746 capacitance sensor driver
2019-02-15 16:23:25 +01:00
Martine Lenders
eac066a1e5
gnrc_netif_ieee802154: propagate pend. frame flag to stack
...
This way we can re-use the flag e.g. for forwarding
2019-02-15 14:46:43 +01:00
Leandro Lanzieri
a13ab5ee08
drivers/ad7746: Add SAUL integration
2019-02-15 13:37:45 +01:00
Leandro Lanzieri
afeb5c1e04
sys/phydat: Add capacitance unit (F)
2019-02-15 13:37:45 +01:00
Martine Lenders
8da4957cdd
Merge pull request #11015 from miri64/gnrc_sixlowpan_frag/enh/rm-pid
...
gnrc_sixlowpan_frag: remove redundant PID member
2019-02-15 12:48:27 +01:00
Martine Lenders
0954fabdc7
gnrc_sixlowpan_frag: make datagram size uint16_t for send
...
It can't get bigger, so it doesn't make sense to waste another 2 byte
on it.
2019-02-15 11:23:46 +01:00
Martine Lenders
b27f12bc1f
gnrc_sixlowpan_frag: remove redundant PID member
...
The interface ID is actually also provided in `pkt` so providing it in
the `gnrc_sixlowpan_msg_frag_t` struct is redundant.
2019-02-15 11:23:18 +01:00
José Alamos
d5b39319f6
Merge pull request #11014 from jia200x/pr/pktbuf_mark_doc
...
net/gnrc/pktbuf.h: add note in gnrc_pktbuf_mark
2019-02-14 17:14:55 +01:00
Jose Alamos
f7ac0c57e9
net/gnrc/pktbuf.h: add note in gnrc_pktbuf_mark
2019-02-14 15:09:03 +01:00
Marian Buschsieweke
4c3e92f183
core: Made thread state an enum
...
- Introduced enum type `thread_state_t` to replace preprocessor macros
- Moved thread states to `sched.h` for two reasons:
a) Because of the interdependencies of `sched.h` and `thread.h` keeping it in
`thread.h` would result in ugly code.
b) Theses thread states are defined from the schedulers point of view, so it
actually makes senses to have it defined there
2019-02-13 13:31:52 +01:00
Cenk Gündoğan
3fd13b9a85
Merge pull request #10985 from miri64/gnrc_ipv6_nib/fix/delayed-na
...
gnrc_ipv6_nib: fix preparation of delayed NA
2019-02-12 20:47:42 +01:00
Gaëtan Harter
8e4b11cdd0
Merge pull request #10369 from miri64/gnrc_ipv6_nib/fix/arsm-16-bit
...
gnrc_ipv6_nib/arsm: ensure proper int width in backoff calculation
2019-02-12 17:54:52 +01:00
Martine Lenders
82001cfd79
gnrc_ipv6_nib: expose non-randomized part of NS-backoff calculation
...
This was primarily done so the backoff can be tested
2019-02-12 17:01:14 +01:00
Martine Lenders
1f4d57d608
gnrc_ipv6_nib/arsm: ensure proper int width in backoff calculation
...
Otherwise, the result might flow over on 8/16-bit platforms
2019-02-12 17:01:14 +01:00
Juan I Carrano
f344bb20c5
Merge pull request #10630 from jcarrano/shell-flush-echo
...
sys/shell: ensure character is flushed when echoing.
2019-02-12 15:19:17 +01:00
Martine Lenders
aa953a40ea
gnrc_ipv6_nib: fix preparation of delayed NA
...
Currently the constructed NA for a delayed NA case is neither used nor
released nor does it get an IPv6 header to be used properly. This fixes
that case.
2019-02-12 14:12:59 +01:00
Cenk Gündoğan
fa48e662a7
Merge pull request #10998 from miri64/gnrc_ipv6_nib/fix/cache-out-loop-iteration
...
gnrc_ipv6_nib: fix iteration conditions for cache-out
2019-02-12 14:10:15 +01:00