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
2fce7c7dcb
sys/auto_init: fix crash with io1_xplained driver
2018-03-09 07:08:44 +01:00
902d8946a4
sys/auto_init: cleanup si70xx auto_init
2018-03-08 17:09:40 +01:00
44b6b1251c
sys/auto_init: update io1_xplained auto_init
2018-03-08 16:55:16 +01:00
5c7cc50698
sys/auto_init/saul: add saul adaptation
2018-03-08 14:07:28 +01:00
d0b34af788
sys/auto_init: update dht auto_init
2018-03-08 12:53:00 +01:00
Martine Lenders
90356143fc
Merge pull request #8669 from aabadie/pr/drivers/params/adcxx1c
...
drivers/adcxx1c: apply unified params definition scheme
2018-03-07 15:24:59 +01:00
Martine Lenders
a9e30e1844
Merge pull request #8689 from aabadie/pr/drivers/params/lsm6dsl
...
drivers/lsm6dsl: apply unified params definition scheme
2018-03-07 15:24:43 +01:00
Martine Lenders
cafc33ce92
Merge pull request #8695 from aabadie/pr/drivers/params/mpu9150
...
sys/auto_init: cleanup in mpu9150 auto_init
2018-03-07 15:04:37 +01:00
Martine Lenders
c7acf82d62
Merge pull request #8685 from aabadie/pr/drivers/params/mpl3115a2
...
drivers/mpl3115a2: apply unified params definition scheme
2018-03-07 14:58:22 +01:00
Martine Lenders
d7e7c68485
Merge pull request #8684 from aabadie/pr/drivers/params/mma8x5x
...
drivers/mm8x5x: apply unified params definition scheme
2018-03-07 14:53:44 +01:00
Martine Lenders
9ee91a6dd9
Merge pull request #8682 from aabadie/pr/drivers/params/tmp006
...
drivers/tmp006: apply unified params definition scheme
2018-03-07 14:47:06 +01:00
Martine Lenders
674777ffc0
Merge pull request #8679 from aabadie/pr/drivers/params/jc42
...
drivers/jc42: apply unified params definition scheme
2018-03-07 14:36:36 +01:00
Martine Lenders
e45c06b381
Merge pull request #8678 from aabadie/pr/drivers/params/hdc1000
...
drivers/hdc1000: apply unified params definition scheme
2018-03-07 14:31:30 +01:00
Martine Lenders
e2089fce7f
Merge pull request #8676 from aabadie/pr/drivers/params/veml6070
...
drivers/veml6070: apply unified params definition scheme
2018-03-07 14:18:51 +01:00
Martine Lenders
f7d3532b5c
Merge pull request #8674 from aabadie/pr/drivers/params/grove_ledbar
...
drivers/grove_ledbar: apply unified params definition scheme
2018-03-07 14:07:54 +01:00
Martine Lenders
6907954134
Merge pull request #8672 from aabadie/pr/drivers/params/bmp180
...
drivers/bmp180: apply unified params definition scheme
2018-03-07 13:59:43 +01:00
Martine Lenders
ade38468a1
Merge pull request #8671 from aabadie/pr/drivers/params/adxl345
...
drivers/adxl345: apply unified params definition scheme
2018-03-07 13:48:14 +01:00
d025de32ed
Merge pull request #8351 from kaspar030/introduce_iolists
...
net: Introduce iolists
2018-03-07 09:56:13 +01:00
Martine Lenders
0b928b797a
Merge pull request #7881 from mtausig/feature/sha3
...
Add support for SHA-3 hash function
2018-03-06 17:34:05 +01:00
Mathias Tausig
44723c9745
hashes: SHA256 documentation updated
...
Fixed typo
2018-03-06 16:18:31 +01:00
Mathias Tausig
ce099c6517
hashes:sha3: Remove unused functions from Keccak code
...
Remove unused SHAKE functions
Removed unused SHA3-224
2018-03-06 16:18:26 +01:00
Mathias Tausig
91a473a8d9
hashes:sha3: Alterations to Keccak code
...
Changed integer typedefs to portable stdint types
Added Endianness define
2018-03-06 16:18:23 +01:00
Mathias Tausig
792137f88d
hashes:sha3: Integrate SHA-3 into RIOT API
...
Add init/update/final interface
Add interface functions for direct SHA3
Add unit tests for SHA-3
Document functions and types
Reduced var scope in Keccak code
Add CCO Copyright notice to Keccak code
2018-03-06 16:18:18 +01:00
Mathias Tausig
a44a313e8f
hashes:sha3: Import Keccak code from Keccak Code Package
2018-03-06 16:17:46 +01:00
1faa845d8e
sys/net: iolist updates
2018-03-06 14:00:32 +01:00
2f179f26bb
sys/net/gnrc/netif: adapt to netdev with iolist
2018-03-06 14:00:31 +01:00
c935a07513
sys/net/gnrc/pkt: match pktsnip struct start with iolist_t
2018-03-06 14:00:31 +01:00
dbbdf3f664
sys: introduce iolist
2018-03-06 14:00:31 +01:00
b343ff8ac9
Merge pull request #8470 from miri64/gnrc_sock/enh/set-remote-netif-implicitly
...
gnrc_sock: set remote network interface implicitly
2018-03-06 12:27:00 +01:00
Martine Lenders
15d405f597
gnrc_sock: add more cppcheck suppressions
2018-03-06 12:20:56 +01:00
Martine Lenders
0b8a467e98
Merge pull request #8728 from cgundogan/pr/ccnl_fix
...
pkg: ccn-lite: minor changes to integrate latest ccn-lite features
2018-03-05 21:52:17 +01:00
Cenk Gündoğan
92b761df2f
pkg: ccn-lite: minor changes to integrate latest ccn-lite features
2018-03-05 21:25:26 +01:00
Martine Lenders
98e45c3d55
gnrc_sock: set remote network interface implicitly
...
When there is only one interface we are simplifying a lot for the users
if the interface is set implicitly.
2018-03-05 17:01:36 +01:00
Vincent Dupont
dcc4a5ae9f
Merge pull request #8273 from OTAkeys/pr/spiffs-multi-partitions
...
pkg/spiffs: add multi-partitions support
2018-03-02 14:15:47 +01:00
Samantha Wojtowicz
ced65bbf5b
pkg/spiffs: add multi-partitions support
...
Two new fileds added in spiffs descriptor:
- base_addr: base address of the partition
- part_block_count: number of sectors in the partition
If part_block_count is 0, the whole underlying MTD is used
2018-03-02 13:45:17 +01:00
Cenk Gündoğan
18005666ac
Merge pull request #8512 from miri64/gnrc_sixlowpan/enh/gnrc-dispatch
...
gnrc_sixlowpan: Introduce 6Lo GNRC dispatch sub-layer
2018-03-01 15:03:03 +01:00
Martine Lenders
67d7aeab7e
gnrc_sixlowpan: Introduce 6Lo GNRC dispatch sub-layer
...
This abstracts the sending and receiving of 6Lo packets to the new
6Lo sub-layer model introduced in #8511 and exemplifies it as well.
2018-03-01 14:15:07 +01:00
2090189bac
sys/auto_init: update mma8x5x auto_init
2018-03-01 13:57:24 +01:00
5c4e402de8
sys/auto_init: update tmp006 auto_init
2018-03-01 13:55:16 +01:00
9f120f2ad6
sys/auto_init: update grove_ledbar auto_init
2018-03-01 13:42:06 +01:00
5e07118aed
sys/auto_init: update adxl345 auto_init
2018-03-01 13:40:01 +01:00
8654da5be7
sys/auto_init: update adcxx1c auto_init
2018-03-01 13:34:06 +01:00
Cenk Gündoğan
3bbc1d7e22
Merge pull request #8625 from miri64/gnrc_rpl/enh/leaf-non-routers
...
gnrc_rpl: allow for non-router operation (as leaf)
2018-03-01 10:28:49 +01:00
d071ed5c85
sys/auto_init: cleanup in mpu9150 auto_init
2018-02-28 17:48:11 +01:00
1ad8717a94
sys/auto_init: update lsm6dsl auto_init
2018-02-28 17:46:33 +01:00
bc4798ae45
sys/auto_init: update mpl3115a2 auto_init
2018-02-28 17:14:04 +01:00
c2946c4326
sys/auto_init: update veml6070 auto_init
2018-02-28 16:53:48 +01:00
b70b531834
sys/auto_init: update jc42 auto_init
2018-02-28 16:47:38 +01:00
652d5631d6
sys/auto_init: update hdc1000 auto_init
2018-02-28 16:46:21 +01:00
892242f4d7
sys/auto_init: update bmp180 auto_init
2018-02-28 16:19:54 +01:00
Martine Lenders
19e7058ce3
Merge pull request #8657 from OTAkeys/pr/fix_isrpipe_doc_ms
...
isrpipe: fix timeout unit in api documentation
2018-02-28 11:50:48 +01:00
Martine Lenders
2cab4292d5
Merge pull request #8587 from gebart/pr/phydat-min-max
...
sys/phydat: Introduce PHYDAT_MIN, PHYDAT_MAX
2018-02-28 11:33:39 +01:00
Vincent Dupont
cbe3269078
isrpipe: fix timeout unit in doc
2018-02-28 10:02:03 +01:00
Joakim Nohlgård
fa8690e584
sys/phydat: Add space between value and unit
2018-02-28 08:34:34 +01:00
Joakim Nohlgård
7f89435dc7
sys/phydat: Introduce PHYDAT_MIN, PHYDAT_MAX
2018-02-28 08:33:01 +01:00
Sam Kumar
f20c11d08c
sys/rtt_stdio: reserve file descriptors for stdin, stdout, and stderr
...
This makes sure that stdio works as expected when sys/rtt_stdio and sys/vfs
are used at the same time.
2018-02-27 18:16:24 -08:00
Martine Lenders
8c632b1bf7
Merge pull request #8536 from daniel-k/fix/gnrc_src_addr_selection
...
gnrc/netif: fix source address selection for non-matching prefixes
2018-02-27 19:02:54 +01:00
Pieter Willemsen
599dbd3bcd
crypto/cbc: add return values to documentation
2018-02-27 09:56:54 +01:00
6698bfd35a
Merge pull request #8595 from bergzand/pr/saul-ppm
...
SAUL/phydat: parts per million support
2018-02-27 08:12:18 +01:00
Joakim Nohlgård
74fb26ad58
Merge pull request #8586 from gebart/pr/phydat-prefix
...
sys/phydat: rename phydat_scale_to_str -> phydat_prefix_from_scale
2018-02-27 06:59:55 +01:00
Joakim Nohlgård
56f44729d7
sys/phydat: rename phydat_scale_to_str -> phydat_prefix_from_scale
...
Correct some outdated documentation and make the name represent what the
function does today.
2018-02-26 15:41:36 +01:00
Martine Lenders
9c84cd90b8
gnrc_rpl: allow for non-router operation (as leaf)
2018-02-23 14:26:15 +01:00
Martine Lenders
f5b65abb30
Merge pull request #8622 from miri64/gnrc_netreg/fix/revert-8517-partly
...
gnrc_netreg: Revert #8517 partly
2018-02-23 12:29:26 +01:00
df16e7d5af
phydat: Add parts per million unit
2018-02-23 11:39:09 +01:00
de75eb8111
Merge pull request #8620 from smlng/fix/sys/can
...
sys/can: fix compiler warning due to usage of potentially uninitialized variables
2018-02-22 22:04:47 +01:00
Martine Lenders
2316d336da
gnrc: keep speed optimizations of c2b403f4
2018-02-22 20:40:59 +01:00
Martine Lenders
467e9548cf
gnrc_netreg: optimize gnrc_netreg_num() to use _netreg_lookup()
2018-02-22 20:39:23 +01:00
Martine Lenders
dbda759b40
Revert "gnrc/netreg: remove usages of gnrc_netreg_num"
...
This reverts commit c2b403f4ad
.
2018-02-22 20:30:03 +01:00
Martine Lenders
49f80b7cf1
Revert "gnrc/netreg: remove gnrc_netreg_num"
...
This reverts commit c178ea8798
.
2018-02-22 20:28:32 +01:00
Ken Bannister
d7004ebcd8
Merge pull request #8513 from kaspar030/nanocoap_add_context_to_resources
...
nanocoap: add context pointer to resources
2018-02-22 18:30:43 +00:00
smlng
18bccb55e3
sys/can: reduce scope of variable
2018-02-22 19:13:39 +01:00
smlng
b46b24b34f
sys/can: init variables before usage
2018-02-22 19:12:41 +01:00
5efd9599e0
sys/benchmark: remove BENCHMARK_SETUP()
2018-02-20 10:10:13 +01:00
Martine Lenders
26ad044e12
Merge pull request #8563 from miri64/gnrc_ipv6_nib/fix/6lo-tentative
...
gnrc_ipv6_nib_6ln: do not mark non-link-local addresses directly VALID
2018-02-19 15:28:08 +01:00
Martine Lenders
e11550042c
gnrc_ipv6_nib_6ln: only register addresses not VALID yet
...
With the previous fix, we only have to register addresses that are not
VALID yet on reception of router advertisements. This removes the need
for the hacky `GNRC_NETIF_FLAGS_6LO_ADDRS_REG` flag that was only
introduced to prevent unnecessary re-registration.
2018-02-19 14:39:29 +01:00
Martine Lenders
8c8b6f9494
gnrc_ipv6_nib_6ln: do not mark non-link-local directly VALID
...
The whole address registration looses its point if all addresses are
marked valid from the get-go. With this fix non-link-local addresses
are first marked TENTATIVE and only after successful registration
marked as VALID. Link-local addresses are assumed to always be VALID.
2018-02-19 14:38:27 +01:00
Semjon Kerner
22c49e99b5
sys/auto_init/saul: provide saul adaption for bmx055
2018-02-19 14:28:16 +01:00
Joakim Nohlgård
73c11a366c
Merge pull request #8430 from smlng/gcc7/ignore_fallthroughs
...
make: ignore fallthroughs errors with GCC 7.x
2018-02-19 11:04:16 +01:00
Joakim Nohlgård
a25c059f1f
Merge pull request #8368 from smlng/examples/fix_posix
...
posix: fix pthread and socket example
2018-02-19 10:58:02 +01:00
Joakim Nohlgård
354499d397
Merge pull request #8588 from rxwb/fix_saul_reg_rm
...
sys/saul_reg: Fix saul_reg_rm return value when removing first element
2018-02-19 10:38:14 +01:00
e2b6d6b89a
Merge pull request #8584 from miri64/gnrc_sock/fix/err-report-ptr
...
gnrc_sock: make sock compilable with gnrc_neterr
2018-02-19 09:51:09 +01:00
f59e8247b0
Merge pull request #8040 from haukepetersen/add_bench_periphgpiototest
...
tests/periph_gpio: added benchmark capabilities
2018-02-19 09:48:39 +01:00
Martine Lenders
f0c401c36d
Merge pull request #8580 from kb2ma/gcoap/sock_send_result
...
net/gcoap: fix sock send return type
2018-02-18 13:43:31 +01:00
Ronald Weber
a5a52980ba
sys/saul_reg: Fix saul_reg_rm for first element
2018-02-18 11:30:46 +01:00
Martine Lenders
2621a57362
gnrc_sock: make sock compilable with gnrc_neterr
...
gnrc_sock currently does not compile with `gnrc_neterr` included, since
both `msg_try_receive()` and `msg_try_send()` expect a *pointer* to a
`msg_t`, not a `msg_t`.
To test, just compile an application using `gnrc_sock` (e.g.
`examples/gcoap`) with `USEMODULE+=gnrc_neterr`.
2018-02-17 13:53:38 +01:00
Ken Bannister
81ecd37a5e
net/gcoap: fix sock send return type
2018-02-17 06:20:38 -05:00
Martine Lenders
ed0fbbb2a3
shell: adapt 6ctx command for NIB
...
This somehow was left by the wayside when we moved from the old ND to
the NIB. Also piggybacks some fixes.
2018-02-16 12:22:56 +01:00
Martine Lenders
1156721eaf
gnrc_sixlowpan_nd: add missing header
...
`gnrc_pktsnip_t` is used in `net/gnrc/sixlowpan/nd.h` but it is not
included. There were no compile errors yet, since this file is always
included with some other GNRC headers, but it might not in the future.
2018-02-16 12:16:56 +01:00
Martine Lenders
328408bd21
gnrc_ipv6_nib: only activate MULTIHOP_P6C for 6LR and up
...
Non-routing 6LN can ignore the ABRO, so we can deactivate multihop
prefix and 6LoWPAN distribution altogether (since hosts do not have a
downstream hop).
2018-02-16 11:42:04 +01:00
Martine Lenders
3a8695bd0c
gnrc_ipv6_nib: only discard RAs without ABROs on 6LR
...
[RFC6775] only talks of *routers* processing router advertisements,
with regards of discarding them if they do not contain an ABRO.
Additionally, this change makes configuration of tests setups a lot
easier, where one note is a router distributing a prefix and the other
is a host to be configured with the RA. Just do the following on the
router:
```
> ifconfig <if> add <GUA>
> ifconfig <if> rtr_adv
```
e voilà! In current master both nodes would have needed to be compiled
with `GNRC_IPV6_NIB_CONF_MULTIHOP_P6C=0`.
[RFC6775]: https://tools.ietf.org/html/rfc6775#section-8.1.3
2018-02-15 14:40:33 +01:00
Martine Lenders
756edfd7a5
Merge pull request #8565 from bergzand/pr/event/doc/fix-timeout-unit
...
event: fix additional unit in doc for event_timeout_set()
2018-02-14 21:08:29 +01:00
266ba4b968
event: fix additional unit in doc for event_timeout_set()
2018-02-14 20:21:41 +01:00
Martine Lenders
519c4f3bdd
event: fix unit in doc for event_timeout_set()
2018-02-14 18:37:57 +01:00
Martine Lenders
d458abfa0e
ieee802154: Make 2 default channel page for sub GHz
2018-02-14 08:20:09 +01:00
Joakim Nohlgård
be14d2eace
sys/vfs: Exclude stdio file numbers from auto allocation
...
Fixes #8309 (https://github.com/RIOT-OS/RIOT/issues/8309 )
2018-02-13 18:05:28 +01:00
Joakim Nohlgård
490e7c87e0
sys/vfs: Check suggested fd is valid
...
Avoids out of bounds array access on _vfs_open_files if vfs_bind is
called with an invalid (positive) fd number
2018-02-12 08:45:19 +01:00
Vincent Dupont
dfbbc0aa9f
Merge pull request #8315 from OTAkeys/pr/vfs_format
...
vfs: add format in vfs API
2018-02-09 14:48:56 +01:00
Vincent Dupont
d5bce2440b
vfs: do not umount fs which is not mounted
2018-02-09 14:29:46 +01:00
Vincent Dupont
2eca6d25fd
vfs: add format function in vfs api
2018-02-09 14:29:45 +01:00
Joakim Nohlgård
2cc07f7f05
Merge pull request #7390 from tobhe/random
...
random: add random_bytes() function
2018-02-09 10:33:46 +01:00
Daniel Krebs
cbc9121ad4
gnrc/netif: fix source address selection for non-matching prefixes
...
According to RFC 6724 ch. 5 rule 8, the source address candidate with
the longest matching prefix has to be selected. The current
implementation discards source addresses that have no matching prefix
(`match = 0`) which is perfectly fine for any global address.
2018-02-08 13:46:46 +01:00
Jose Alamos
66cab7762a
doc: fix event_t attribute in documentation
2018-02-08 09:59:16 +01:00
Joakim Nohlgård
9fe024b87e
fmt: Adjust stack allocated buffer, add comments
...
Adjusted buffer size for u64 case to fit the largest 64 bit decimal
number, added comments on all decimal buffers to explain which number
will fit.
2018-02-07 10:21:22 +01:00
Martine Lenders
47bbeb8969
Merge pull request #8517 from smlng/enh/gnrc/netreg
...
gnrc_netreg: some optimisations
2018-02-07 08:22:44 +01:00
Joakim Nohlgård
30ad56d133
Merge pull request #8522 from gebart/pr/fmt_s64_dec
...
sys/fmt: Add fmt_s64_dec, print_s64_dec
2018-02-07 07:55:42 +01:00
smlng
c178ea8798
gnrc/netreg: remove gnrc_netreg_num
2018-02-06 21:41:19 +01:00
smlng
c2b403f4ad
gnrc/netreg: remove usages of gnrc_netreg_num
2018-02-06 21:39:58 +01:00
smlng
573b6dc98a
gnrc/netreg: optimize lookup and getnext
2018-02-06 21:37:39 +01:00
4ec8f4c2fc
sys: instead of cpp-style, use C-style comments
2018-02-06 16:59:58 +01:00