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
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
Peter Kietzmann
892a37351a
Merge pull request #10946 from brummer-simon/gnrc_tcp-fix_syn_rcvd_packetloss_deadlock
...
gnrc_tcp: syn_rcvd pkt loss fix
2019-02-12 13:51:51 +01:00
Martine Lenders
877217663e
gnrc_ipv6_nib: add clarification to comment in cache-out
...
When working on the previous commit I was unsure if a
garbage-collectible entry should remain in the list, so I added this
comment so I don't have to wonder about this in the future ;-).
2019-02-12 12:06:45 +01:00
Martine Lenders
7fcc2ab5d6
gnrc_ipv6_nib: fix iteration conditions for cache-out
2019-02-12 12:06:04 +01:00
Cenk Gündoğan
ea7f7c2340
Merge pull request #10978 from miri64/gnrc_ipv6_nib/fix/release-when-full
...
gnrc_ipv6_nib: release packet when NC entry can't be added
2019-02-12 10:43:32 +01:00
Marian Buschsieweke
194d340a64
net/sixlowpan: Fixed calculation of fragment size
...
Fragment size calculation previously failed for devices that are able to
transmit bigger layer 2 PDUs that 802.15.4 devices. This commit fixes the issue.
2019-02-12 09:45:31 +01:00
8eb02b6cd1
Merge pull request #10975 from miri64/gnrc_ipv6_nib/fix/rm-nib-clean
...
gnrc_ipv6_nib/nc: remove from _next_removable on remove
2019-02-11 17:39:29 +01:00
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
fd3f806e32
gnrc_ipv6_nib: release packet when NC entry can't be added
...
When the neighbor cache is full, the packet trying to resolve a
neighbor is not released.
This change fixes that.
2019-02-08 21:53:46 +01:00
Martine Lenders
660440c1c2
gnrc_ipv6_nib/nc: remove from _next_removable on remove
...
The `_next_removable` list manages the cache-out of the neighbor cache.
However, when a neighbor cache entry is removed, it is not removed
from that list, which may lead to a segmentation fault when that list is
accessed, since the whole entry (including its list pointer) is zeroed
after removal.
With this change the entry is removed from that list accordingly before
the zeroing happens.
2019-02-08 16:45:47 +01:00
Marian Buschsieweke
c700d0439e
sys/ps: Fixed stringification
...
Added missing string for STATUS_COND_BLOCKED, so that the shell command "ps"
no longer crashes when a thread has this state.
2019-02-07 21:35:48 +01:00
Peter Kietzmann
56bf778156
Merge pull request #10750 from keestux/add-driver-sht2x
...
drivers: add support for SHT2x (I2C temp and humidity sensor)
2019-02-06 17:25:50 +01:00
cb457941db
gnrc: nib: fix DOXYGE -> DOXYGEN
2019-02-06 13:01:40 +01:00
Kees Bakker
50ec5130d6
drivers: add support for SHT2x (I2C temp and humidity sensor)
...
Several parts were inspired by a driver written by:
George Psimenos (gp7g14@soton.ac.uk )
Steffen Robertz (steffen.robertz@rwth-aachen.de )
2019-02-05 22:17:30 +01:00