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

5130 Commits

Author SHA1 Message Date
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
Hauke Petersen
637fbff456 net/nanocoap: fix indention of doxy comments 2018-04-11 14:06:42 +02:00
012c016b74
Merge pull request #8772 from kaspar030/rework_nanocoap_option_handling
net/nanocoap: rework option handling
2018-04-10 21:11:18 +02:00
dee793d29f nanocoap: rework option handling 2018-04-10 20:58:06 +02:00
Martine Lenders
23bdc80e22 doc: update IPv6 RFC references
RFC 2460 was obsoleted by RFC 8200. This PR changes the references
around, so we don't reference an obsoleted RFC ;-).

Also I'm moving these references from the old-style HTML-like format
to the newer-style Markdown-like format.
2018-04-10 15:40:18 +02:00
Gaëtan Harter
747b11d90e
Merge pull request #7651 from tobhe/memarray
Generic memory block allocator
2018-04-10 15:22:40 +02:00
tobhe
509f40a81c memarray: add fixed-size memory block allocator 2018-04-10 14:37:29 +02:00
Martine Lenders
629a19dc87
Merge pull request #8871 from miri64/gnrc_netif/fix/unspec-addr
gnrc_netif: check if input for address search is ::
2018-04-10 14:35:07 +02:00
Hauke Petersen
adf807d79c net/rdcli_common: improve doc for SUFFIX_LEN option 2018-04-10 11:36:28 +02:00
Hauke Petersen
7dd897c6d7 net/rdcli_common: fix EP name generation 2018-04-10 10:55:03 +02:00
Martine Lenders
3fea1eaa30
Merge pull request #8888 from miri64/doc/fix/sys_util
doc: remove sys_util references
2018-04-09 16:52:23 +02:00
fb2beb43c8
Merge pull request #8875 from Josar/pr/xtimer64
sys/include/xtimer: Added xtimer_set64()
2018-04-09 16:19:44 +02:00
b117638fd0
Merge pull request #8886 from gebart/pr/xtimer-shift-6
xtimer: Add XTIMER_SHIFT = 6 automatic option
2018-04-09 16:12:26 +02:00
4b210bb1e6
Merge pull request #7406 from haukepetersen/add_rdcli_simple
net: added CoAP RD client for simple node registration
2018-04-09 13:25:50 +02:00
PeterKietzmann
86c319aea7 pkg/ccn-lite:enable CS dump and rename shell command 2018-04-09 10:38:32 +02:00
Hauke Petersen
108284670c net: added RD client for simplified registration 2018-04-09 10:37:10 +02:00
Hauke Petersen
f12d85d032 net/rdcli: added common rdcli module 2018-04-09 10:37:10 +02:00
Martine Lenders
3c93ebc86e
Merge pull request #7699 from nmeum/gcoap-method-not-allowed
gcoap: return Method Not Allowed if appropriate
2018-04-06 15:35:05 +02:00
Sören Tempel
93f65043ce gnrc: fix build of gnrc_ipv6_blacklist when ENABLE_DEBUG is disabled
Without this commit it doesn't build because addr_str isn't defined when
ENABLE_DEBUG is not set.

This issue was introduced in: c001e14f9d
2018-04-06 14:48:32 +02:00
Hauke Petersen
a7c3aad8ea sys/phydat: adapt to fmt_s16_dfp changes 2018-04-06 12:10:18 +02:00
Hauke Petersen
78df885fc7 sys/fmt: use also positive scaling for s32_dfp 2018-04-06 11:58:43 +02:00
Martine Lenders
787fa37465 netopt: move NETOPT_BLE_CTX to new netopt doc style
Documentation of the option types was clarified in #8655. I only noticed
after merging #8884, that `NETOPT_BLE_CTX` was not documented using
that new style. So I deliver the change myself to make it quicker.
2018-04-06 11:32:41 +02:00
Hauke Petersen
6efb06f108 sys/auto_init: added initialization for Skald 2018-04-06 11:18:53 +02:00
Hauke Petersen
49bd85d00a sys/net: added Skald
Skald is a very small and simple, TX-only BLE stack that supports
sending advertisements only. It is useful for building all kinds
of BLE beacons with very minimal memory footprints.
2018-04-06 11:18:53 +02:00
Hauke Petersen
77499905e4 sys/net: added generic Eddystone defines 2018-04-06 11:18:53 +02:00
Hauke Petersen
3b6c8f25de sys/net: added generic BLE defines 2018-04-06 11:18:53 +02:00
Hauke Petersen
4e715e8221 drivers/netdev: added BLE adaption for netdev 2018-04-06 11:18:53 +02:00
Martine Lenders
9efbfcd3ae doc: remove sys_util references
This removes all references of the `sys_util` documentation group which
does not exist. Due to it being referenced by some module
documentations there were some cases where the rendered doc was broken:

* `div` did not appear in the list of modules
* `iolist` appeared on top level of the module tree
2018-04-05 14:39:59 +02:00
Joakim Nohlgård
0befe39333 xtimer: Add XTIMER_SHIFT = 6 automatic option 2018-04-05 12:21:42 +02:00
PeterKietzmann
8172e5782d sys/random: remove printf in xorshift 2018-04-05 12:06:12 +02:00
Josarn
bb7acca31e sys/include/xtimer: Added xtimer_set64() 2018-04-04 16:58:59 +02:00
16ff8a51bd
Merge pull request #8795 from gebart/pr/newlib-rm-lnosys
newlib: link without -lnosys
2018-04-04 10:51:09 +02:00
Robin Nehls
ad5617fb83 gnrc_ipv6: discard non-NONXT packets with 0 payload length
If the payload length is zero and the next header field is not set to
NONXT, GNRC will interpret the current header as the payload because the
first snip is always interpreted as the payload. This can lead to loops
and or crashes.
2018-04-03 18:34:48 +02:00
Martine Lenders
53c30eef4b gnrc_netif: check if input for address search is :: 2018-04-03 17:38:26 +02:00
Robin Nehls
326be16b90 gnrc_ipv6: fix possible NULL pointer dereference
When the payload length of an encapsulated IPv6 packet is 0, the
`_receive` function of IPv6 can be given a NULL pointer, causing the
IPv6 header checker to crash because of a NULL pointer dereference.
2018-04-03 14:46:12 +02:00
Ken Bannister
c23d85ab3a
Merge pull request #8854 from kb2ma/gcoap/internalize_gcoap_state
net/gcoap: Internalize definition of state struct
2018-03-31 12:15:00 +01:00
Ken Bannister
3da9145018 net/gcoap: Internalize definition of state struct 2018-03-31 06:46:05 -04:00
Ken Bannister
118b14a199
Merge pull request #8843 from llueder/gcoap_doc
net/gcoap: improve documentation
2018-03-30 10:25:57 +01:00
Lasse Lueder
a456c19898 net/gcoap: improve documentation
add hint to alphabetical ordering of resources
2018-03-29 20:50:12 +02:00
Joakim Nohlgård
cf8b370517 netopt: Clarify documentation 2018-03-29 19:49:06 +02:00
Sebastian Meiling
38b8be0d09
Merge pull request #8836 from miri64/gnrc_netreg/fix/netapi-pid-init-with-callbacks
gnrc_netreg: fix static PID initialize for gnrc_netapi_callbacks
2018-03-27 19:37:48 +02:00
Gaëtan Harter
21a9958323
Merge pull request #8822 from aabadie/pr/make_curly
make: replace curly braces with parenthesis
2018-03-27 15:44:36 +02:00
Martine Lenders
31711a8560 gnrc_netreg: fix static PID initialize for gnrc_netapi_callbacks 2018-03-26 15:00:57 +02:00
Joakim Nohlgård
2125a438b4 sys/phydat: Align numbers, remove index if dim == 1 2018-03-23 14:51:08 +01:00
61f1b941ce make: replace curly braces with parenthesis 2018-03-22 20:43:15 +01:00
Martine Lenders
690c36b3cf
Merge pull request #8652 from cladmi/pr/remove_nativeincludes
native: remove non required NATIVEINCLUDES
2018-03-22 15:57:38 +00:00
Joakim Nohlgård
3e2214d29c sys/phydat: Fix Doxygen group for phydat_str.c 2018-03-22 15:21:01 +01:00
Joakim Nohlgård
63f49f22d8 sys/phydat: Add phydat_fit
Fits larger values into the 16 bit integers used by phydat and update
scale accordingly.
2018-03-22 15:21:01 +01:00
Gaëtan Harter
b5554bcc1f posix/osx: fix missing AF_LINK on OSX native
netdev_tap.c uses AF_LINK when compiled on OSX native.

Preparation to remove NATIVEINCLUDES.
2018-03-20 17:50:57 +01:00
Gaëtan Harter
dcebfb11bc posix/osx: fix type conflict on OSX native
In another header file, `socklen_t` is defined to `__darwin_socklen_t` which is
an `uint32_t` and it conflicts.

Preparation to remove NATIVEINCLUDES.
2018-03-20 17:50:47 +01:00
Hauke Petersen
a63f92a7a6 net/gcoap: allow to not define a response handler 2018-03-19 11:56:58 +01:00
Martine Lenders
ce807173ff
Merge pull request #8601 from bergzand/pr/netopt-link-status
netopt/drivers: Add phy link status output
2018-03-18 15:25:01 +00:00
9d61314c09
shell/netif: Add link status to interface status output 2018-03-18 15:32:40 +01:00
831e7635de
netopt: Add link status option 2018-03-18 15:32:36 +01:00
Joakim Nohlgård
01970e9644 sys/newlib_syscalls_default: Add _gettimeofday_r stub 2018-03-18 10:04:51 +01:00
Francisco Acosta
f80c1b0e9a sys/random/tinymt32: remove unused static function 2018-03-16 16:24:05 +01:00
Martine Lenders
79d0521f0f
Merge pull request #8582 from gebart/pr/phydat-str-space
sys/phydat: Add space between value and unit
2018-03-15 16:21:24 +01:00
Martine Lenders
ada292ae18
Merge pull request #8759 from aabadie/pr/drivers/params/si70xx
sys/auto_init: cleanup si70xx auto_init
2018-03-15 14:38:48 +01:00
Martine Lenders
f5334e49d7
Merge pull request #7674 from gebart/pr/at86rf212b-default-page-2
at86rf2xx: Set page 2 by default on AT86RF212B
2018-03-15 13:24:21 +01:00
Joakim Nohlgård
8873a7102e
Merge pull request #8615 from gebart/pr/fatfs-paths
pkg/fatfs: Refactor path handling, minor fixes
2018-03-15 09:21:48 +01:00
caabc15395 sys/random: provide generic random_bytes() 2018-03-14 18:17:27 +01:00
Joakim Nohlgård
0bc2c1b2a9 fs/fatfs: Editorial changes in Doxygen comments 2018-03-14 11:57:34 +01:00
Joakim Nohlgård
4ce675e181 fs/fatfs: Adjust FATFS_MAX_VOL_STR_LEN to avoid overflows
Prevents compile time warnings about truncation of the format string for
fs_idx > 9
2018-03-14 11:56:52 +01:00
Joakim Nohlgård
0251f54e66 pkg/fatfs: Remove unused FATFS_DIR_SIZE, FATFS_FILE_SIZE 2018-03-14 11:56:51 +01:00