Martine Lenders
4a51d1b433
Merge pull request #6697 from francois-berder-imgtec/awalwm2m
...
posix: sockets: Small fixes for listen and recvfrom functions
2017-03-11 19:22:35 +01:00
Joseph Noir
27297bb640
doc: fix and update cpp11 compat doxygen
2017-03-10 14:56:48 +01:00
Oleg Hahm
8ec5bcad89
doc: ipv6: fix broken doxygen
2017-03-10 14:56:28 +01:00
Oleg Hahm
d523c33015
doc: gnrc: fix doxygen and add missing doc
2017-03-10 14:56:28 +01:00
Oleg Hahm
3bc0cfd2a7
doc: color: fix doxygen
2017-03-10 14:56:28 +01:00
Oleg Hahm
9225ede2b9
doc: hashes: fix API docs
2017-03-10 14:56:28 +01:00
Oleg Hahm
e2914bd351
doc: random: document float PRNG macro
2017-03-10 14:56:28 +01:00
Oleg Hahm
e420c7ad9e
doc: xtimer: added missing documentation
2017-03-10 14:56:28 +01:00
Oleg Hahm
d48330acbb
doc: posix: fix doxygen complaints
2017-03-10 14:56:28 +01:00
Joakim Nohlgård
887cc72365
Merge pull request #5616 from gebart/pr/vfs
...
vfs: file system abstraction
2017-03-09 09:44:56 +01:00
Joakim Nohlgård
0371769e72
devfs: Dynamic file system for device nodes
2017-03-07 17:59:59 +01:00
Joakim Nohlgård
fdd129db68
uart_stdio: Bind uart_stdio to vfs fds for stdin/out/err
2017-03-07 17:59:58 +01:00
Joakim Nohlgård
a1faeb9ca1
newlib: Use vfs for file I/O syscalls
2017-03-07 17:59:57 +01:00
Joakim Nohlgård
dcc37329df
sys/vfs: A virtual file system (VFS) layer for RIOT
...
The VFS layer provides file system abstractions to allow using a unified
interface to access files from mounted file systems.
2017-03-07 17:59:57 +01:00
Joakim Nohlgård
89ba41c79e
sys/posix: Add sys/statvfs.h
2017-03-07 17:59:57 +01:00
Francois Berder
27dec749e8
posix: sockets: Fix return value of recvfrom and sendto
...
_bind_connect already sets errno and returns -1 or 0.
Signed-off-by: Francois Berder <francois.berder@imgtec.com>
2017-03-07 16:42:21 +00:00
Martine Lenders
60fda890a6
Merge pull request #6704 from OlegHahm/posix_socket_missing_parens
...
posix: missing closing parenthesis
2017-03-07 16:50:18 +01:00
Cenk Gündoğan
83a69c0cb2
random: doc: warn about global PRNG state
2017-03-07 12:15:11 +01:00
Francois Berder
8d2ec19be6
posix: sockets: Fix timeout regression of recvfrom
...
Commit de41971aab
sets the default
timeout to 0. This change should not have been part of the commit.
Signed-off-by: Francois Berder <francois.berder@imgtec.com>
2017-03-07 11:07:16 +00:00
Francois Berder
8f839fbc31
posix: sockets: address was not set in recvfrom
...
The address is an optional parameter of recvfrom. If it is
not null, recvfrom must store the address of the sender.
However this was only allowed if res was equal to 0, which
is wrong since res contains the number of bytes received
or -1.
This commit ensures that the address is set only if no
previous errors happened before.
Signed-off-by: Francois Berder <francois.berder@imgtec.com>
2017-03-07 11:06:01 +00:00
Joakim Nohlgård
03d9f0f3d8
sys/posix: Add fcntl.h
2017-03-07 10:21:53 +01:00
Oleg Hahm
6022760fc6
posix: missing closing parenthesis
2017-03-06 22:37:28 +01:00
Francois Berder
2936a69a1b
posix: sockets: Fix return value of listen function
...
If an error happens, listen was returning 1 instead of -1.
Signed-off-by: Francois Berder <francois.berder@imgtec.com>
2017-03-06 13:26:51 +00:00
Martine Lenders
7748dc8ce3
Merge pull request #6695 from francois-berder-imgtec/awalwm2m
...
posix_sockets: Various fixes in posix network implementation
2017-03-06 13:39:28 +01:00
Francois Berder
a5003e8311
posix: in: Fix sockaddr_in6 structure
...
The sin6_family member was an int. This caused the structure to
take 32 bytes which was greater than sockaddr_storage size (28
bytes).
Using the type sa_family_t for sin6_family member fixes this
issue.
Signed-off-by: Francois Berder <francois.berder@imgtec.com>
2017-03-03 16:49:54 +00:00
Francois Berder
de41971aab
posix: sockets: Fix return value of sendto and recvfrom
...
The return value of these functions was not always correct
in case of errors: they were not returning -1 and setting
errno.
Signed-off-by: Francois Berder <francois.berder@imgtec.com>
2017-03-03 15:52:22 +00:00
Joakim Nohlgård
d57ec0e3f2
Merge pull request #6689 from mali/fix_6631
...
doc/saul: add cross link between SAUL and SAUL registry
2017-03-03 05:54:19 +01:00
Laurent Navet
0d09d2d34b
doc/saul: add cross link between SAUL and SAUL registry
2017-03-02 22:35:50 +01:00
BytesGalore
dacc3cba9f
Merge pull request #6283 from OTAkeys/pr/hmac_iterative_calc
...
hashes/sha256: add iterative hmac calc. functions
2017-03-01 17:14:11 +01:00
Hermann Lelong
f2ef9db988
hashes/sha256: add iterative hmac calc. functions
...
Add init, update, and final functions to do HMAC
calculation using blocks, instead of one shot.
Unit tests: use the PRF-6 test vector to test the case
where data is splitted in 3 different blocks.
2017-03-01 15:51:21 +01:00
Sebastian Meiling
f6022a283d
Merge pull request #6541 from brummer-simon/gnrc_tcp-cleanup
...
gnrc_tcp: cleanup
2017-03-01 09:34:49 +01:00
Martine Lenders
ae0d0a2634
Merge pull request #6623 from smlng/pr/net/add_static_ipv6_lladdr
...
add static IPv6 lladdr for tests
2017-02-28 22:37:40 +01:00
911ae53d3e
Merge pull request #6665 from aabadie/driver_veml6070
...
drivers/veml6070: add implementation for UV sensor + saul adaptation
2017-02-28 20:12:25 +01:00
smlng
85d189a21d
gnrc, ipv6: add documentation on MACRO GNRC_IPV6_STATIC_LLADDR
2017-02-28 20:09:40 +01:00
smlng
3c0a2f6953
gnrc, ipv6: add static link local ipv6 address
2017-02-28 20:09:40 +01:00
Hauke Petersen
bb71986ecf
net: added emCute - introducing MQTT-SN support
2017-02-28 16:58:29 +01:00
4474af885a
sys/auto_init: add saul support for veml6070 sensor
2017-02-28 13:20:21 +01:00
Hauke Petersen
79a113d1ba
sys/drivers: renamed uuid module to luid
2017-02-27 11:01:20 +01:00
Simon Brummer
1ae3b51224
gnrc_tcp: cleanup: removed unnecessary includes
2017-02-26 17:31:23 +01:00
Hauke Petersen
8e3975fa90
sys/auto_init: remove gpioint initialization
2017-02-22 17:51:45 +01:00
Simon Brummer
fd007d5307
gnrc_tcp: cleanup: fixed outdated comments
2017-02-20 21:58:05 +01:00
Martine Lenders
4b5952e0ad
Merge pull request #6622 from gebart/pr/cppcheck-fixes
...
cppcheck fixes 1
2017-02-17 16:11:11 +01:00
Peter Kietzmann
6ef3abec5c
Merge pull request #5570 from aabadie/drivers_tsl2561
...
drivers/tsl2561: initial support
2017-02-17 10:06:46 +01:00
Joakim Nohlgård
575b8ea340
sys/arduino: Make SerialPort constructor explicit
2017-02-17 08:02:36 +01:00
Joakim Nohlgård
0686538218
newlib: Place newlib includes before compiler includes
2017-02-16 16:28:36 +01:00
Martine Lenders
0858a3ea8c
Merge pull request #6618 from haukepetersen/opt_tcs37727_saulplusinit
...
drivers/tcs37727: SAUL support + misc fixes
2017-02-16 16:03:10 +01:00
Peter Kietzmann
02f03beb5c
Merge pull request #6591 from haukepetersen/rm_ltc4150
...
drivers: remove outdated ltc4150 driver
2017-02-16 15:11:12 +01:00
Hauke Petersen
470f2de771
drivers/tcs37727: SAUL support + misc fixes
...
- added default parameters file
- let init() function use param struct
- named return values
- simplified init function
- sensor now active after init was called
- simplified return values
2017-02-16 14:46:50 +01:00
Martine Lenders
c5eca9f1ca
gnrc_netdev2: add missing doc on GNRC_NETDEV2_MAC_PRIO
2017-02-15 12:28:56 +01:00
Hauke Petersen
05c4e314c9
net/gnrc: remove deprecated nomac
2017-02-15 10:07:34 +01:00