Gaëtan Harter
d0f22b787c
Merge pull request #8112 from cladmi/pr/crypto/input_len
...
crypto/ccm: fix input_len checking with length_encoding
2018-05-09 18:56:34 +02:00
Gaëtan Harter
fa33eacd1f
crypto/ccm: fix _fits_in_nbytes function
...
Function is broken with num_bytes >= 4.
Could happen when storing input_len with len_encoding >= 4.
It can take values from 2 to 8, so make it work for cases it would overflow.
2018-05-07 15:08:00 +02:00
Gaëtan Harter
ee311a331b
crypto/ccm: refactor input_len check in a function
...
Refactorg checking that length can be stored in a number of bytes to a
subfunction.
2018-05-07 15:08:00 +02:00
Wentao Shang
89023b3499
crypto/ccm: fix input_len check
...
Maximum input_len depends only on length_encoding and not auth_data_len.
The current length_max value was also wrong.
RFC3610 page 2
3. The message m, consisting of a string of l(m) octets where 0 <=
l(m) < 2^(8L). The length restriction ensures that l(m) can be
encoded in a field of L octets.
2018-05-07 15:08:00 +02:00
Martine Lenders
8a46cf611e
gcoap: make message queue size configurable
2018-05-06 16:41:43 +02:00
9020767c2d
Merge pull request #9071 from cladmi/pr/make/riottools/arduino
...
sys/arduino: use RIOTTOOLS variable
2018-05-04 23:10:07 +02:00
Martine Lenders
3d821ee195
gnrc_rpl: remove route before updating it
...
The "new" forwarding table does not update an old route but just adds
another as long as it is not *exactly* the same. However, the RPL
adaptation missed to remove the old route so RPL got easily confused
about where it actually needed to send packets.
2018-05-04 17:46:02 +02:00
Gaëtan Harter
14ac80e15a
sys/arduino: use RIOTTOOLS variable
...
Follow up to #9067 and part of #8821
2018-05-04 11:16:48 +02:00
f9c75d0df7
Merge pull request #8915 from ZetaR60/RIOT_ads101x
...
drivers/ads101x: support for ADCs
2018-05-03 08:31:03 +02:00
b81b12de4e
cbor: Move header to cbor subdirectory
...
Prevents conflicts when multiple modules/packages provide a `cbor.h`
header.
2018-05-01 11:12:39 +02:00
Joakim Nohlgård
9c85ce1916
Merge pull request #8733 from gebart/pr/matstat
...
matstat: Integer mathematical statistics library
2018-04-28 09:37:02 +02:00
Joakim Nohlgård
6927260973
sys/matstat: Integer mathematical statistics library
2018-04-28 08:03:35 +02:00
0a18bc9e97
Merge pull request #9027 from bergzand/pr/nanocoap/req_ent_incomp
...
nanocoap: add request entity incomplete response code
2018-04-26 11:05:29 +02:00
51f06d5127
nanocoap: Add request entity incomplete code
2018-04-26 10:50:08 +02:00
4def1fa5fd
Merge pull request #8992 from Josar/evtimer_3
...
evtimer: optimized adding
2018-04-26 10:00:35 +02:00
Josarn
111f021eb3
evtimer: optimized adding
2018-04-25 17:58:54 +02:00
Martine Lenders
dc41f49229
cbor: add deprecation note
2018-04-25 16:46:17 +02:00
5251e140e6
Merge pull request #8991 from Hyungsin/forupstream_pulse_counter_fix
...
sys/auto_init: fix syntax error on auto_init_pulse_counter.c
2018-04-23 15:52:12 +02:00
Sebastian Meiling
4f97fc76fd
Merge pull request #8894 from beduino-project/fix-gnrc_ipv6_blacklist-build
...
gnrc: fix build of gnrc_ipv6_blacklist when ENABLE_DEBUG is disabled
2018-04-23 14:26:53 +02:00
e1f6a5afd3
net/gcoap: increase stack size by sizeof(coap_pkt_t)
2018-04-22 23:15:16 +02:00
734944a56b
Merge pull request #8986 from haukepetersen/opt_event_allowmultipleposts
...
sys/event: allow calling event_post multiple times
2018-04-20 10:59:14 +02:00
Hyungsin
770b74636b
sys/auto_init: fix syntax error on auto_init_pulse_counter.c
2018-04-19 19:17:02 -07:00
Hauke Petersen
46888a1eaf
sys/event: allow calling event_post multiple times
2018-04-19 16:41:13 +02:00
Hauke Petersen
cf7fb4b886
net/rdcli: fix doxygen groups for RD client code
2018-04-19 16:27:59 +02:00
Martine Lenders
07eb208bc6
Merge pull request #8963 from Josar/pr/eventTimer_2
...
evtimer: ticks vs ms
2018-04-17 10:53:27 +02:00
f18f25c5c2
Merge pull request #8577 from gebart/pr/analog_util-refactor
...
sys/analog_util: Refactor, add test
2018-04-17 10:40:53 +02:00
8475844213
sys/net/uhcpc: add missing stdio.h include
2018-04-16 23:06:15 +02:00
f62818ea7b
sys/auto_init/io1_xplained: fix gpios index
2018-04-16 15:57:36 +02:00
Josarn
515027b9a5
evtimer: ticks vs ms
2018-04-16 15:13:12 +02:00
Joakim Nohlgård
57f6081960
sys/analog_util: Refactor adc_map, fix compilation
...
Change the API to use int32_t instead of int, to allow for greater
flexibility on 8- and 16-bit platforms. Removed limitation on input
arguments that min < max. Times where it can be useful to have min > max
is when measuring a sensor where a higher measured voltage means a lower
physical value. For example a thermistor can be connected so that the
measured voltage goes down when the temperature goes up.
2018-04-16 13:53:49 +02:00
Joakim Nohlgård
11b668fd6d
sys/analog_util: Add missing include stdint.h
2018-04-16 13:05:20 +02:00
635e72db23
Merge pull request #8788 from kaspar030/nanocoap_add_serverside_block1
...
nanocoap: add serverside block1 support
2018-04-16 12:49:06 +02:00
4897222e7e
nanocoap: add server-side block1 support
2018-04-16 12:31:56 +02:00
Matthew Blue
f5658cd89a
drivers/ads101x: auto_init support
2018-04-13 11:38:50 -04:00
Martine Lenders
dbccf06c5e
Merge pull request #8575 from miri64/shell/fix/6ctx
...
shell: adapt 6ctx command for NIB
2018-04-13 17:12:41 +02:00
6b01f4d388
Merge pull request #7263 from haukepetersen/opt_fmt_s16dfp_pos
...
sys/fmt: extended fmt_s16_dfp to handle scales
2018-04-13 09:54:08 +02:00
Martine Lenders
316becef79
Merge pull request #8858 from Josar/eventTimer
...
sys/evtimer: ticks vs us
2018-04-13 08:31:23 +02:00
Gaëtan Harter
ed4932362d
Revert "posix/osx: fix type conflict on OSX native"
...
This reverts commit dcebfb11bc
.
2018-04-12 17:48:27 +02:00
Gaëtan Harter
ea52528171
Revert "posix/osx: fix missing AF_LINK on OSX native"
...
This reverts commit b5554bcc1f
.
2018-04-12 17:48:21 +02:00
6ee4aceef1
Merge pull request #8936 from haukepetersen/opt_rdclisimple_addrconf
...
net/rdcli_simple: specify RD address as string
2018-04-12 15:33:33 +02:00
Martine Lenders
3be4b51209
Merge pull request #8867 from miri64/gnrc_ipv6/fix/possible-null-ptr-deref
...
gnrc_ipv6: fix possible NULL pointer dereference
2018-04-12 14:26:22 +02:00
Martine Lenders
7974b12c11
Merge pull request #8797 from zhuoshuguo/gomach_add_dutycycle_display_command
...
gnrc_gomach: add duty-cycle display shell command.
2018-04-12 14:25:02 +02:00
Hauke Petersen
2e6ccfa13f
net/rdcli_simple_standalone: fix error handling
2018-04-12 14:00:32 +02:00
Hauke Petersen
bd25cf5902
net/rdcli_simple: parse RD address from string
...
this makes the configuration of the RD server much simpler, as it
does not require the user to 'binary-code' the RD server's address
anymore.
2018-04-12 14:00:32 +02:00
Hauke Petersen
faab006631
net/rdcli_simple: improved doc and error handling
2018-04-12 13:48:09 +02:00
d64d38b391
Merge pull request #8909 from miri64/doc/enh/ipv6-rfc
...
doc: update IPv6 RFC references
2018-04-12 12:11:23 +02:00
shuguo
4e7ff0df28
gnrc_gomach: enabling duty-cycle printing
2018-04-12 11:46:40 +02:00
shuguo
ed4a80db00
gnrc_mac: add MAC duty-cycle record macro
2018-04-12 11:44:30 +02:00
d2db1ba2c3
Merge pull request #8568 from miri64/gnrc_ipv6_nib/fix/abro-ignore-only-on-6lr
...
gnrc_ipv6_nib: only discard RAs without ABROs on 6LR
2018-04-11 22:32:33 +02:00
Josarn
6f75dff1de
evtimer: bug ms vs ticks resolved
2018-04-11 17:11:26 +02:00