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

3826 Commits

Author SHA1 Message Date
b3a061e0ab sys: remove config module 2016-08-27 07:57:09 +02:00
Martine Lenders
73861e2c15 fixup! sock: Introduction of new application layer API
Fix some typos
2016-08-25 17:55:11 +02:00
smlng
c1fe8d5d9d gnrc_rpl: fix prefix length 2016-08-25 16:35:17 +02:00
Martine Lenders
ce205afc57 fixup! sock: Introduction of new application layer API
sock_ip: Provide proto parameter to send in case sock == NULL.
2016-08-25 16:02:47 +02:00
Martine Lenders
2c5fbab3ff Merge pull request #5525 from miri64/gnrc/enh/dispatch-send
gnrc: use gnrc_netapi_dispatch_send() instead of manual iteration
2016-08-25 14:21:19 +02:00
Martine Lenders
002be06c79 fixup! sock: Introduction of new application layer API
sock_tcp: more error code specifications and fixes
2016-08-25 11:37:01 +02:00
Martine Lenders
777c8f77b6 fixup! sock: Introduction of new application layer API
Add `-ECONNABORT` return for sock_tcp_read and sock_tcp_write.
2016-08-24 19:25:14 +02:00
Martine Lenders
26ee7248d5 fixup! sock: Introduction of new application layer API
Fix inheritence of _sock_tl_ep.
2016-08-23 00:36:39 +02:00
Martine Lenders
877cad9d66 fixup! sock: Introduction of new application layer API
Simplify static intializers.
2016-08-22 22:28:19 +02:00
Martine Lenders
1f74eae424 fixup! sock: Introduction of new application layer API
Fix some typedefs
2016-08-22 17:03:52 +02:00
Martine Lenders
a41bc13767 fixup! sock: Introduction of new application layer API
Reword confusing out-parameter doc in create functions
2016-08-20 02:39:58 +02:00
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
Oleg Hahm
d705cf864b shell ccn-lite: check for max ifcount 2016-08-18 16:24:39 +02:00
Oleg Hahm
813a6fa86c pkg ccn-lite: update documentation and prototype 2016-08-18 16:24:39 +02:00
Martine Lenders
bd230d3b63 gnrc_ipv6: gnrc_icmpv6: use dispatch_receive helper function 2016-08-18 13:25:07 +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
Martine Lenders
b869102450 gnrc_udp: consider netif header in send dispatch 2016-08-15 19:33:50 +02:00
Martine Lenders
af180ef2f1 gnrc_udp: add missing duplitation step 2016-08-15 17:23:19 +02:00
Martine Lenders
72d177074b gnrc: use gnrc_netapi_dispatch_send() instead of manual iteration 2016-08-12 14:06:58 +02:00
Joakim Nohlgård
afb6cb4507 sys/newlib: Add __attribute__((used)) to _fini
No ROM cost, only fixes a linker error with non-nano newlib and LTO enabled.
2016-08-10 16:19:30 +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
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
bd2429f299 cpu: drivers: adapt devices for netdev2 parameter type change 2016-08-03 12:30:51 +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
Wentao Shang
600c8f626d hashes/sha256: support unaligned memory access in be32enc_vect 2016-07-31 18:58:13 -07: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
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
Johann Fischer
d111f1f465 netopt.c: extend _netopt_strmap 2016-07-27 00:15:27 +02:00
Johann Fischer
bfe6301572 sys/include/net/netopt.h: fix whitespace 2016-07-27 00:15:27 +02:00
Johann Fischer
14f0d1ce89 netopt.h: add new options to set the CCA and test modes
This patch adds two new options to netopt. NETOPT_CCA_MODE to set
the CCA mode corresponding to the respective PHY standard and
NETOPT_RF_TESTMODE to set the test mode for the radio.
2016-07-27 00:15:27 +02:00
Martine Lenders
f844008a12 gnrc_netif_hdr: print flags 2016-07-26 21:06:36 +02:00
Martine Lenders
6d72cdb595 gnrc_ipv6: copy user flags from old netif headers
Upper layers might want to utilize the flags (e.g. to tell 6LoWPAN to elide
UDP checksums). This change allows for this by copying non-addressing related
flags to the address resolution generated netif header from the user generated
netif header.
2016-07-26 21:06:36 +02:00
Martine Lenders
3feb38611b Revert "shell: set NULL pointer for data pakets with zero-length payload"
This reverts commit 1ae7bc23d8.
2016-07-26 19:57:25 +02:00
BytesGalore
68d9f07eee hashes/sha1: changed data-parameter types to void* 2016-07-26 10:03:58 +02:00
kYc0o
cf3ee67780 Merge pull request #5669 from miri64/gnrc/doc/thesis
gnrc: provide my master thesis in documentation
2016-07-25 17:05:06 +02:00
Martine Lenders
d9f759d1fd gnrc: provide my thesis in documentation 2016-07-25 15:11:24 +02:00
Bas Stottelaar
0902ccb2e0 drivers: si70xx: adapt for SAUL 2016-07-22 18:22:13 +02:00
Oleg Hahm
a2b9defc8b gnrc ipv6: convenient function to get the header 2016-07-22 16:34:52 +02:00
Joakim Nohlgård
fb77ddfa8f base64: Use stddef.h for size_t 2016-07-19 10:33:29 +02:00
ec897a868c core, gnrc_netreg: remove redundant or unneeded clist.h include 2016-07-18 13:17:31 +02:00
e012df1bac nrf52dk: add BLE/6lo support utilizing Nordic's SoftDevice 2016-07-13 17:06:57 +02:00
58baba58bb Merge pull request #5627 from kaspar030/newlib_fix_short_whar
sys: newlib: check if toolchain is compiled with -fshort-wchar, set CFLAGS accordingly
2016-07-13 15:57:50 +02:00
34bbcad7bb sys: newlib: check if toolchain is compiled with -fshort-wchar, set CFLAGS accordingly 2016-07-13 15:27:41 +02:00
Aaron Sowry
a2ba22dd0f cpu/cc2538: Add RF driver 2016-07-13 14:19:45 +12:00
Joakim Nohlgård
b02e0eca47 ps: Add current stack pointer and start of stack to isr_stack ps output (DEVELHELP) 2016-07-12 10:17:49 +02:00
Joakim Nohlgård
44d130f535 sys/ps: Add current stack pointer to ps output (DEVELHELP) 2016-07-12 10:17:48 +02:00
1c6c447493 Merge pull request #5607 from gebart/pr/xtimer-cleanups
xtimer: Code refactoring and clean ups
2016-07-07 06:37:50 +02:00
Joakim Nohlgård
da8cd11816 xtimer: Move xtimer_spin_until into xtimer_core.c 2016-07-06 22:23:07 +02:00
Joakim Nohlgård
e4e1814602 xtimer: Remove old xtimer_trace.h include
The file was missing anyway.
2016-07-06 22:23:07 +02:00
Joakim Nohlgård
6768ae9c1f xtimer: Rename timer_callback_t -> xtimer_callback_t 2016-07-06 22:23:06 +02:00
Joakim Nohlgård
4fe674f746 xtimer: Add missing space 2016-07-06 22:23:06 +02:00
Joakim Nohlgård
7c70d3bc4f xtimer: Add Eistec copyright and author 2016-07-06 22:23:05 +02:00
Joakim Nohlgård
4d862955c2 xtimer: Rename XTIMER -> XTIMER_DEV 2016-07-06 22:23:04 +02:00
Joakim Nohlgård
2f832117f8 xtimer: prefix _lltimer_now, _lltimer_mask with _xtimer 2016-07-06 22:23:04 +02:00
Joakim Nohlgård
8c90b1020b xtimer: Split header into API and implementation 2016-07-06 22:23:04 +02:00
kYc0o
124bddb72c auto_init/netif/auto_init_cc2420: change variable names 2016-07-06 20:23:49 +02:00
46bd2f45d9 sys: xtimer: replace XTIMER_MASK with XTIMER_WIDTH in board config 2016-07-06 18:16:15 +02:00
Hauke Petersen
8d3cb3ace9 sys/auto_init: added initialization for cc2420 2016-07-06 18:14:48 +02:00
kYc0o
62a9773a9c boards/waspmote-pro: add support for Waspmote PRO v1.2 2016-07-05 13:05:12 +02:00
Joseph Noir
ed2c94764b Merge pull request #4643 from gebart/pr/clang-warning-fixes
Clang: Add support for C++
2016-06-23 13:06:55 +02:00
Oleg Hahm
a701262cc7 Merge pull request #5546 from mali/fixtypos
sys/arduino: fix typos in documentation
2016-06-12 12:11:19 +02:00
Laurent Navet
b702049134 sys/arduino: fix typos in documentation 2016-06-12 10:45:25 +02:00
Aaron Sowry
1ae7bc23d8 shell: set NULL pointer for data pakets with zero-length payload 2016-06-09 10:01:17 +12:00
Martine Lenders
e9bbd54f58 Merge pull request #5033 from Yonezawa-T2/validate_ipv6_size
gnrc_ipv6: validates payload size
2016-06-07 17:50:28 +02:00
Aaron Sowry
384fce3ae7 shell: Enable setting acknowledgement request flag from shell 2016-06-07 23:08:00 +12:00
Yonezawa-T2
0de34c91c6 gnrc_ipv6: validates payload size 2016-06-07 10:01:23 +09:00
Martine Lenders
a7d7b1188d Merge pull request #5517 from aabadie/saul_luminosity
sys/phydat: adding luminosity unit (Lux)
2016-06-06 11:38:54 +02:00
e2e3704973 sys/phydat: adding illuminance unit (Lux) 2016-06-06 11:04:11 +02:00
Cenk Gündoğan
7c5c3f2673 gnrc_rpl: doc fix 2016-06-05 23:05:59 +02:00
Martine Lenders
3c9e8ac80d csma_sender: allow for multi-interface configuration 2016-06-05 14:29:03 +02:00
Martine Lenders
90201bfb6e csma_sender: assure preconditions 2016-06-05 14:28:31 +02:00
Martine Lenders
a3f2cdd6ea csma_sender: port to netdev2 2016-06-05 13:57:26 +02:00
Martine Lenders
925013cd4c csma_sender: doc fixes 2016-06-05 13:57:10 +02:00
Martine Lenders
26acd3b7ae csma_sender: some style fixes 2016-06-05 13:57:09 +02:00
Martine Lenders
70b3b1426b csma_sender: proper prefixing for public functions and macros 2016-06-05 13:57:09 +02:00
Martine Lenders
c1c797496c csma_sender: adapt for changes in master 2016-06-05 13:57:09 +02:00
Martine Lenders
1b74fcab6e csma_sender: fix dependencies 2016-06-05 13:57:02 +02:00
Martine Lenders
8426ca99ca Merge pull request #4178 from rousselk/csma-sender
New 'csma_sender' helper module
2016-06-04 14:49:21 +02:00
Martine Lenders
98949f5cb4 Merge pull request #5498 from kaspar030/make_msg_content_ptr_void_star
core: change msg.content.ptr type to void *
2016-06-03 13:59:25 +02:00
Martine Lenders
c3dcfcf640 Merge pull request #5504 from Yonezawa-T2/sixlowpan_print_elided_address
sixlowpan_print: fix dump for elided source/destination address
2016-06-03 12:28:25 +02:00
Yonezawa-T2
7a030004ad sixlowpan_print: fix dump for elided source/destination address 2016-06-03 18:56:05 +09:00
Peter Kietzmann
e8e9619f01 Merge pull request #5501 from Yonezawa-T2/gnrc_sixlowpan_iphc_propagate_error
gnrc_sixlowpan_iphc: propagate UDP decode error
2016-06-03 10:07:06 +02:00
Peter Kietzmann
c6e18a91d0 Merge pull request #5500 from Yonezawa-T2/gnrc_sixlowpan_iphc_debug_format
gnrc_sixlowpan_iphc: fix compile error for debug output
2016-06-03 09:46:58 +02:00
Yonezawa-T2
ba4b099d93 gnrc_sixlowpan_iphc: propagate UDP decode error 2016-06-03 11:35:22 +09:00
Yonezawa-T2
a6c14dadb3 gnrc_sixlowpan_iphc: fix compile error for debug output 2016-06-03 11:33:08 +09:00
7718f114cb all: remove pointer casts for msg.content.ptr 2016-06-02 23:13:42 +02:00
Martine Lenders
35077bb224 Merge pull request #4871 from kaspar030/remove_netdev2_isr_arg
drivers: netdev2: remove netdev2 event_callback isr_arg
2016-06-02 13:30:30 +02:00
Martine Lenders
9b1ad7820c Merge pull request #5491 from MohmadAyman/isr_stack_usage
cpu: add capability to show stack usage of ISR
2016-06-02 12:31:06 +02:00
aee6a6ad60 Merge pull request #5307 from kaspar030/add_fmt_types
sys: fmt: add fmt_u64_dec(), print_u64_dec()
2016-06-02 11:12:40 +02:00
3ad195963d drivers: netdev2: rename isr_arg 2016-06-02 11:11:40 +02:00
d7b17684e4 drivers: net: adapt to removed event_callback argument 2016-06-02 11:11:40 +02:00
5923f6b137 sys: fmt: add fmt_u64_dec() 2016-06-02 10:40:19 +02:00