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

4202 Commits

Author SHA1 Message Date
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
Victor Arino
0e06458f53 sys/sema: re-test value after owning mutex 2017-03-06 18:03:27 +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
Oleg Hahm
0d3833a88a net: cleanup ng_ remnants 2017-03-02 14:19:25 +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
zhuoshuguo
07bd84c914 gnrc_mac: add support for multicast pkt. 2017-02-18 13:15:31 +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
Hauke Petersen
0567b5598a Merge pull request #6570 from miri64/gnrc_zep/cleanup/rm
gnrc_zep: remove gnrc_zep
2017-02-15 10:02:37 +01:00
Martine Lenders
04823b9192 ps: add state name for STATUS_MBOX_BLOCKED 2017-02-14 16:02:27 +01:00
Hauke Petersen
6e6a14f449 drivers: remove outdated ltc4150 driver 2017-02-13 14:08:34 +01:00
Neil Jones
4d7b7a8641 sys: od: Fix build on MIPS gcc. 2017-02-09 12:26:50 +00:00
Neil Jones
e3c8386d12 sys: fmt: include stdio.h for mips. 2017-02-09 12:25:52 +00:00
Joakim Nohlgård
094107863f Merge pull request #5688 from gebart/pr/atomics-refactor
core: Provide all C11 atomic operations
2017-02-09 09:00:16 +01:00
Joakim Nohlgård
f055137e02 sys/posix: Add missing Doxygen comment on spinlock flag member 2017-02-08 16:23:51 +01:00
Joakim Nohlgård
597db0358d sys/posix/pthread: Use C11 atomic instead of atomic.h 2017-02-08 16:23:49 +01:00
Joakim Nohlgård
7376419350 gnrc/pktbuf: remove unused #include "atomic.h" 2017-02-08 16:23:47 +01:00
Martine Lenders
5b026c5753 netdev2: unify doc 2017-02-07 21:37:52 +01:00
Martine Lenders
5e983db605 gnrc_zep: remove gnrc_zep
This ZEP implementation is based on `gnrc_netdev`, it is complicated to
use, I'm not even sure anyone used it except me or if it is working
still. See #6121 for a better port of ZEP.
2017-02-07 17:41:28 +01:00
Peter Kietzmann
5bf4882592 Merge pull request #6453 from smlng/pr/5469-bis
drivers/kw2xrf: adapt to netdev2
2017-02-07 15:58:54 +01:00
Lotte Steenbrink
b28abc2d35 Merge pull request #6562 from miri64/sock/doc/ref-fix
doc: net: replace doc references of conn with sock
2017-02-07 15:13:54 +01:00
PeterKietzmann
e617d74fa8 drivers/kw2xrf: update default params on init 2017-02-07 15:08:14 +01:00
smlng
887f499eca drivers/kw2xrf: adapt to new SPI interface
- add docu for structs, defines and functions
    - exclude drivers/kw2xrf/include/overwrites.h (vendor header)
    - add missing header guards
2017-02-07 15:08:05 +01:00
Johann Fischer
cf32ff7f19 drivers/kw2xrf: adapt for the netdev2 interface
Adapt the kw2xrf driver for the netdev2 interface.
This patch also adds overwrites.h, the header provides overwrite
values for the kw2xrf PHY.
2017-02-07 15:07:33 +01:00
smlng
5b2b7674d8 gnrc/pktdump: add tcp_hdr_print 2017-02-07 13:42:41 +01:00
smlng
43de60daf0 net: add tcp_hdr_print 2017-02-07 13:42:41 +01:00
Martine Lenders
4f5d046622 doc: net: replace doc references of conn with sock 2017-02-07 13:32:20 +01:00
Peter Kietzmann
4403cc931a Merge pull request #6523 from haukepetersen/opt_dht_autoinit
drivers/dht: updated auto-init + some enhancements
2017-02-07 11:57:10 +01:00
Martine Lenders
37f6eb63f8 udp: fix formatter of checksum in udp_hdr_print() 2017-02-07 10:09:51 +01:00
Martine Lenders
b272e904fd icmpv6: fix formatter of checksum in icmpv6_hdr_print() 2017-02-07 10:09:46 +01:00
Hauke Petersen
3afc3eb10b drivers/dht: updated auto-init + some enhancements
- unified auto-init to use same style as other SAUl devices
- make use of named return values
- added some asserts
2017-02-07 09:59:23 +01:00
Simon Brummer
d4c477aa01 gnrc_tcp: cleanup: correct copyright updates and corrected doxygen comments 2017-02-06 18:26:45 +01:00
Martine Lenders
beaa214b83 Merge pull request #6551 from miri64/fmt/enh/print_byte_hex
fmt: add print_byte_hex() helper
2017-02-06 12:08:22 +01:00
Simon Brummer
7e7b832219 gnrc_tcp: cleanup: Enforce coding convention 2017-02-04 10:19:59 +01:00
Martine Lenders
dbfbfb0f23 Merge pull request #6546 from smlng/pr/sys/fix_uuid
sys/uuid: fix signedness warning
2017-02-03 17:31:29 +01:00
Martine Lenders
0cd2b746cc fmt: add print_byte_hex() helper 2017-02-03 15:16:53 +01:00
Peter Kietzmann
04f6e15fbd Merge pull request #6518 from haukepetersen/opt_autoinit_radios
sys/auto_init: optimized for at86rf and mrf24j40
2017-02-03 14:57:53 +01:00
Peter Kietzmann
a265e6ddea Merge pull request #6530 from miri64/gnrc_netdev/doc/fix-groups
gnrc_netdev2: fix grouping of sub-headers in doc
2017-02-03 13:33:57 +01:00
smlng
ef154aaaba sys/uuid: fix signedness warning 2017-02-02 16:43:12 +01:00
Simon Brummer
4857f16ee8 gnrc_tcp: cleanup: Restrict lines to 100 char boundries 2017-02-02 08:29:29 +01:00
Simon Brummer
a8b8b64036 gnrc_tcp: cleanup: update doxygen headers 2017-02-02 08:29:29 +01:00
Simon Brummer
62c0efb20a gnrc_tcp: cleanup: removed trailing underscores from include guards 2017-02-02 08:29:29 +01:00
Simon Brummer
bc0bf3bc4f gnrc_tcp: cleanup: removed internal fsm structs from public headers 2017-02-02 08:29:29 +01:00
Simon Brummer
67ed2a0ad8 gnrc_tcp: cleanup: internal/common.h added 2017-02-02 08:29:29 +01:00
zhuoshuguo
b8428d3e95 gnrc_netdev2: fix gnrc_netdev2_set_tx_feedback assert. 2017-02-01 15:24:15 +01:00
Martine Lenders
794be95395 Merge pull request #6531 from brummer-simon/gnrc_tcp-improvement-option_handling
gnrc_tcp: Improved Option Handling
2017-02-01 12:17:10 +01:00
Simon Brummer
e25fd0dd46 gnrc_tcp: Improved Option Handling 2017-02-01 08:28:59 +01:00
Joakim Nohlgård
9a3589dcfe Merge pull request #6479 from haukepetersen/fix_lis3dh_mulle
drivers/lis3dh: fixed bug and simplified init()
2017-01-31 19:48:52 +01:00
Sebastian Meiling
b81e6b8898 Merge pull request #6511 from smlng/pr/tcp/mode_hdr_file
tcp: move header file and adapt includes
2017-01-31 19:25:41 +01:00
smlng
540fb53ac0 tcp: move header file and adapt includes 2017-01-31 19:14:54 +01:00
Martine Lenders
46e74229c0 gnrc_netdev2: fix grouping of sub-headers in doc 2017-01-31 18:47:56 +01:00
25ce12f3ef drivers/tsl2561: initial implementation + saul support 2017-01-31 17:49:16 +01:00
smlng
7fdd473271 pktdump: add icmpv6 print 2017-01-30 15:24:14 +01:00
Hauke Petersen
56c70fcfee sys/auto_init/netif: optimized for mrf24j40 2017-01-30 15:11:28 +01:00
Hauke Petersen
b8e0a51096 sys/auto_init/at86rf: optimized at86rf2xx sequence 2017-01-30 15:10:27 +01:00
Cenk Gündoğan
562cee9bdb Make: newlib: use sh instead of exec/fork 2017-01-27 12:07:59 +01:00
Hauke Petersen
ed2bb9d3f8 drivers/lis3dh: fixed bug and simplified init()
- changed to SPI_MODE_0
- made init() function use the params struct as parameter
2017-01-26 10:12:44 +01:00
672da2c457 drivers/mrf24j40: initial mrf24j40 support 2017-01-26 10:05:20 +01:00
Hauke Petersen
24ceb954ea drivers/sdcard_spi: adapted to SPI interface changes 2017-01-25 16:46:46 +01:00
Hauke Petersen
3d80b9c581 drivers/lis3dh: adapted to SPI API changes 2017-01-25 16:46:46 +01:00
Martine Lenders
5ea160e6fe Merge pull request #6004 from miri64/posix/enh/use-sock-for-sockets
posix_sockets: port to sock
2017-01-24 17:40:01 +01:00
Cenk Gündoğan
616d7a216a Merge pull request #6455 from miri64/gnrc_ndp/fix/tentative
gnrc_ndp: do not add new neighbors as TENTATIVE on 6LR
2017-01-24 16:41:30 +01:00
Martine Lenders
1ccdc4643f posix_sockets: port to sock 2017-01-24 15:17:15 +01:00
Hauke Petersen
5d8f686cf6 Merge pull request #6031 from MichelRottleuthner/sdcard_spi_testing
add driver for sd-cards (using spi)
2017-01-24 14:18:11 +01:00
Hauke Petersen
10c46866d2 Merge pull request #5987 from aabadie/arduino_sketch_on_arduino
sys/arduino: make arduino sketch works on avr based boards
2017-01-24 14:10:18 +01:00
d1db946188 Merge pull request #6344 from haukepetersen/opt_pm_misc
pm: misc cleanup and fixes
2017-01-24 14:07:36 +01:00
Martine Lenders
2fd69653af gnrc_ndp: do not add new neighbors as TENTATIVE on 6LR 2017-01-23 14:02:26 +01:00
Sebastian Meiling
7f7329ea71 Merge pull request #4744 from brummer-simon/devel-gnrc_tcp
gnrc_tcp: initial implementation
2017-01-23 09:32:34 +01:00
Simon Brummer
abd307b89d gnrc_tcp : initial implementation 2017-01-22 09:27:58 +01:00
Martine Lenders
85d8397464 Merge pull request #6117 from kb2ma/gcoap/sock
gcoap: rebase networking on sock
2017-01-21 10:40:13 +01:00
Ken Bannister
342c3f2ed3 gcoap: Remove coap.h include file, which is no longer used.
Also change references in dependencies to the net/gcoap.h include.
2017-01-20 22:00:25 -05:00
Ken Bannister
af1eca907f gcoap: Rebase messaging on sock API 2017-01-20 22:00:25 -05:00
Ken Bannister
fa815993ae gcoap: Move from gnrc directory up to net directory 2017-01-20 16:14:13 -05:00
Kees Bakker
a0a76d66d2 drivers: Add driver for BME280 2017-01-20 20:26:43 +01:00
Michel Rottleuthner
ac2ae7cb56 drivers: added driver for accessing sd_cards over spi 2017-01-20 18:11:26 +01:00