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

11720 Commits

Author SHA1 Message Date
Martine Lenders
278f046d1d fixup! sock: Introduction of new application layer API
Don't use netif parameter for static IP end-point initializers
2016-08-20 02:35:47 +02:00
Martine Lenders
a4fd05c6f6 fixup! sock: Introduction of new application layer API
Fix wrongly typedef'd endpoint
2016-08-20 02:33:32 +02:00
Martine Lenders
bb7736ac97 fixup! sock: Introduction of new application layer API 2016-08-19 17:43:42 +02:00
Martine Lenders
b24d9de9ae fixup! sock: Introduction of new application layer API 2016-08-19 17:36:58 +02:00
Martine Lenders
01b0975072 fixup! sock: Introduction of new application layer API 2016-08-19 16:52:06 +02:00
Martine Lenders
6f06deff40 fixup! sock: Introduction of new application layer API 2016-08-19 16:17:35 +02:00
Martine Lenders
44af8765af fixup! sock: Introduction of new application layer API 2016-08-19 15:33:00 +02:00
Martine Lenders
b71c2f334a fixup! sock: Introduction of new application layer API 2016-08-19 15:27:15 +02:00
Martine Lenders
7ef177a8cb sock: Introduction of new application layer API
This introduces a new alternative and better API to `conn`. It differs in the
following aspects:

* a common address type for both IPv4 and IPv6 addresses is introduced
* communication end-points are abstracted as end-point types `sock_x_ep_t`,
  containing the address, its family, its port (if required for protocol) and
  the interface identifier.
* All functions require some kind of state. Sending of datagrams to the same
  source or replying to incoming datagrams is thus simplified
* TCP connection establishment was overall reworked: connected sockets and
  listening sockets are now two distinct types. An accept on a listening socket
  than yields a connected socket
2016-08-18 12:25:41 +02:00
Peter Kietzmann
39ecc12d9d Merge pull request #5712 from LudwigKnuepfer/pr/fix-2209
doc: un-exclude board's periph_conf.h in Doxygen
2016-08-12 08:44:16 +02:00
Ludwig Knüpfer
4c3c0d9571 Merge pull request #5710 from gebart/pr/kinetis-i2c-debug-msgs
cpu/kinetis_common: Add debugging messages to i2c driver
2016-08-11 08:25:24 +02:00
Joakim Nohlgård
8947a3c49c cpu/kinetis_common: Add debugging messages to i2c driver 2016-08-10 19:40:39 +02:00
Peter Kietzmann
178930eb2c Merge pull request #5718 from miri64/lwip/fix/addr-order
lwip: initialize link-local address correctly
2016-08-09 18:58:25 +02:00
Peter Kietzmann
5c8236217e Merge pull request #5720 from lebrush/stm32f4-uncrustify-periph_cpu
cpu/stm32f4: uncrustify periph_cpu
2016-08-09 11:06:27 +02:00
Martine Lenders
cf11a0dab7 Merge pull request #5485 from jfischer-phytec-iot/pr@add-opt-netdev
add testmode and cca mode option to netdev
2016-08-05 15:51:56 +02:00
Martine Lenders
f1b519de70 Merge pull request #5713 from basilfx/bugfix/msp430_linker
boards: msp430: garbage collect dead code when linking.
2016-08-05 14:19:58 +02:00
Martine Lenders
16cae9771f Merge pull request #5613 from OTAkeys/pr/async_read_cb_args
cpu/native: add args to async_read callback
2016-08-05 14:17:18 +02:00
Martine Lenders
8dac0787bb Merge pull request #5655 from haukepetersen/add_due_saulmapping
boards/arduino-due: export LED via SAUL
2016-08-05 14:15:46 +02:00
Martine Lenders
75319628ba Merge pull request #5637 from cladmi/ethos_tcp
dist: ethos: add tcp socket support
2016-08-05 14:14:53 +02:00
Martine Lenders
e055a644fa Merge pull request #5175 from antoinefaure/entry_point_gdb
cpu: cortex_common: Add entry point in ldscript to tell gdb where to start
2016-08-05 14:13:03 +02:00
Martine Lenders
49521dcfd9 Merge pull request #5495 from miri64/netdev2/enh/type-changes
netdev2: some parameter type changes
2016-08-05 14:10:13 +02:00
Martine Lenders
d587046462 Merge pull request #5551 from miri64/gnrc_ipv6/enh/copy-flags
gnrc_ipv6: copy user flags from old netif headers
2016-08-05 14:09:31 +02:00
Martine Lenders
0f73a40421 RELEASE 2016.07 2016-08-04 20:07:09 +02:00
Victor Arino
411f7c9585 cpu/stm32f4: uncrustify periph_cpu 2016-08-03 15:04:32 +02:00
Martine Lenders
bd2429f299 cpu: drivers: adapt devices for netdev2 parameter type change 2016-08-03 12:30:51 +02:00
Martine Lenders
e710164f09 netdev2: function parameter type changes
`len` and `count` are both values that should never go `< 0`, so instead of
having to test this (in theory) every time the function is called (regardless
of by assert or if its unnecessary code), I propose to change it to `size_t`.

As a bonus I made the type of recv's buf parameter generic - no reason for it to
be a char and it might lead to unnecessary static casting requirements
2016-08-03 09:51:18 +02:00
Ludwig Knüpfer
25e8146f9a Merge pull request #5716 from gebart/pr/chronos-stdio-warnings
chronos: Fix stdio warnings
2016-08-03 08:10:03 +02:00
Martine Lenders
cc6b123758 lwip: initialize link-local address correctly
lwIP does some weird byte-swapping in netif_create_ip6_linklocal_address()
with non-ethernet-addresses, so I rather initialize it like in GNRC, so it is
compatible to both GNRC and emb6.
2016-08-02 16:33:35 +02:00
kYc0o
ac4cc0849e Merge pull request #5703 from wentaoshang/fix-sha256
hashes: support unaligned memory access in be32enc_vect
2016-08-02 15:54:10 +02:00
Peter Kietzmann
5fe215d63b Merge pull request #5705 from keestux/fix-cpu-samd21-i2c
cpu/samd21/periph/i2c: power off did enable instead of disable
2016-08-02 09:27:06 +02:00
Joakim Nohlgård
1ea462643f chronos: Fix stdio warnings 2016-08-02 09:19:29 +02:00
Bas Stottelaar
7cf1c46d2e boards: msp430-common: remove dead code when linking. 2016-08-01 18:35:21 +02:00
Wentao Shang
600c8f626d hashes/sha256: support unaligned memory access in be32enc_vect 2016-07-31 18:58:13 -07:00
kYc0o
355e6b19b5 Merge pull request #5711 from gebart/pr/gpio-doxygen
periph/gpio: Clean up Doxygen text
2016-07-31 13:07:29 +02:00
Ludwig Knüpfer
b87bc37b89 doc: un-exclude board's periph_conf.h in Doxygen 2016-07-30 09:07:08 +02:00
Joakim Nohlgård
bc9e5b218b periph/gpio: Clean up Doxygen text 2016-07-30 08:06:19 +02:00
kYc0o
1b3012bcc6 Merge pull request #5612 from gebart/pr/xtimer-periodic-wakeup
xtimer: Refactor xtimer_usleep_until and rename to xtimer_periodic_wakeup
2016-07-29 13:44:26 +02:00
Joakim Nohlgård
c0ad83c167 tests: Update xtimer_usleep_until usage to xtimer_periodic_wakeup 2016-07-29 13:05:02 +02:00
Joakim Nohlgård
71501de4c6 tests/xtimer_periodic_wakeup: Copy and adapt from xtimer_usleep_until 2016-07-29 13:05:02 +02:00
Joakim Nohlgård
4449ba4933 xtimer: Refactor xtimer_usleep_until and rename to xtimer_periodic_wakeup
Rewrote conditions for improved readability, and removed magic number 512
2016-07-29 13:05:02 +02:00
Kees Bakker
ac3683b09f cpu/samd21:i2c: the wait for SYNCBUSY must come after enable or disable
The power on/off code is refactored somewhat.
2016-07-28 22:01:12 +02:00
Kees Bakker
64cc7c63c8 cpu/samd21/periph/i2c: power off did enable instead of disable 2016-07-28 21:33:28 +02:00
Gaëtan Harter
a52c781339 dist: ethos: add tcp socket support
Add ethos support to use a tcp socket instead of a TTY.
Use 'tcp:host' as serial argument.
Port can be given in place of the baudrate argument.

Default port is 20000 which is used in on IoT-LAB.
2016-07-28 21:28:21 +02:00
kYc0o
6dfec48629 Merge pull request #2897 from kaspar030/fix_openocd_flash_return_code
openocd: return error if flashing went wrong
2016-07-27 18:11:45 +02:00
kYc0o
5a79b5c0de Merge pull request #5700 from BytesGalore/test_nhdp_changed_print_info
tests/nhdp: changed printf to puts
2016-07-27 17:52:01 +02:00
kYc0o
eeb543d6cd Merge pull request #5701 from kaspar030/fix_test_msg_send_receive
tests: msg_send_receive: fix "sent ptr goes out of scope" bug
2016-07-27 17:44:40 +02:00
8601285b13 openocd: return error if flashing went wrong 2016-07-27 17:42:06 +02:00
e8927388d3 tests: msg_send_receive: fix "sent ptr goes out of scope" bug 2016-07-27 17:08:14 +02:00
BytesGalore
8986d2cb85 tests/nhdp: changed printf to puts 2016-07-27 16:45:36 +02:00
Peter Kietzmann
5c373776b3 Merge pull request #5679 from aabadie/fix_type_bmp180
drivers/bmp180: implementation cleanup
2016-07-27 10:06:46 +02:00