Benjamin Valentin
cf63e1cefc
add ipv6_iface_set_routing_provider Allow an application to register a function that decides what to do with IP packets that are not destined for the node. RIOT will call the registered function to forward packets according to the applications routing table.
2013-10-27 13:53:02 +01:00
Ludwig Ortmann
8d657b0ff6
make includes coding convention compliant
2013-10-27 12:41:21 +01:00
LudwigOrtmann
54fe19845c
Merge pull request #34 from LudwigOrtmann/fix_native_handle_uart0_input
...
switch thread instead of exiting context, handle EOF
2013-10-27 03:12:50 -07:00
Ludwig Ortmann
5e6cc92291
harmonize msg.c DEBUG statements
...
Use same order (function: [thread_name:] message) throughout msg.c.
Begin message with a capital letter.
2013-10-27 08:37:18 +01:00
Ludwig Ortmann
2d1303763e
fix spelling in msg.c
2013-10-27 08:13:27 +01:00
Ludwig Ortmann
1e19ca247a
handle stdin EOF
2013-10-26 22:29:43 +02:00
Christian Mehlis
6ebe1bfdc7
Merge pull request #271 from mehlis/master
...
fix wrong error handling introduced in 945aef
2013-10-26 07:15:40 -07:00
Christian Mehlis
2e59096390
fix wrong error handling introduced in 945aef
2013-10-26 15:40:01 +02:00
Ludwig Ortmann
3362fe1de0
switch thread instead of exiting context
...
lpm_sleep is always being called from within a thread context, not
from an isr context, therefore it should use thread_yield instead of
cpu_switch_context_exit.
2013-10-26 14:45:51 +02:00
Martin Lenders
128125b44e
Some fixes to destiny
...
* fixed broken destiny types header
* added TCP flags to corresponding header
* removed TCP_HC struct from tcp.h
2013-10-25 23:06:50 +02:00
Oleg Hahm
a94d4a0b46
correct byte order for UDP length field
2013-10-25 17:46:18 +02:00
Oleg Hahm
9bd8e35c54
correct byte order for IPv6 length field
2013-10-25 17:45:53 +02:00
Oleg Hahm
f6c37b0b4f
fixed byte order for ieee802.15.4 frame
2013-10-25 17:45:53 +02:00
Christian Mehlis
9b84d62357
remove sixlowpans own semaphore and use new riot semaphore in flowcontrol
2013-10-25 14:45:26 +02:00
Christian Mehlis
39d5299f69
posix: add semaphore implementation
2013-10-25 14:45:26 +02:00
Oleg Hahm
7ff3d4c52c
Merge pull request #217 from authmillenon/destiny_refactor
...
Refactor destiny (transport layer) module
2013-10-25 05:44:59 -07:00
Martin Lenders
f537e19b26
Move L4 packet headers to destiny/types.h
2013-10-25 14:28:17 +02:00
Martin Lenders
c02a097232
Add module dependancies for destiny
2013-10-25 14:28:17 +02:00
Martin Lenders
6b999dc7bf
Enforce coding conventions in destiny via astyle
2013-10-25 14:28:17 +02:00
Martin Lenders
4825ec21b9
Order includes in destiny
2013-10-25 14:28:16 +02:00
Martin Lenders
94217d03e8
Move msg_help to destiny
2013-10-25 14:28:16 +02:00
Martin Lenders
75064eb630
Add documentation for destiny/socket.h
2013-10-25 14:28:16 +02:00
Martin Lenders
3149e83826
Refactor destiny/socket.h
2013-10-25 14:28:16 +02:00
Martin Lenders
b223a8baf0
Add Documentation destiny/in.h
2013-10-25 14:28:16 +02:00
Martin Lenders
e899970ecd
Refactor destiny/in.h
2013-10-25 14:28:16 +02:00
Martin Lenders
446be54a24
Add Documentation for destiny.h
2013-10-25 14:28:16 +02:00
Martin Lenders
de33fcd31b
Refactor destiny.h
2013-10-25 14:28:16 +02:00
Martin Lenders
fa01202b65
Merge pull request #256 from OlegHahm/destiny_fixes
...
Destiny fixes
2013-10-25 05:27:28 -07:00
LudwigOrtmann
37158553b9
Merge pull request #264 from LudwigOrtmann/native_hwtimer_delta
...
add time delta to hwtimer
2013-10-25 04:07:32 -07:00
Christian Mehlis
22a2cdaea4
Merge pull request #249 from mehlis/time-rtc
...
add rtc_time function
2013-10-25 03:55:06 -07:00
Ludwig Ortmann
7e02c7dd2b
add time delta to hwtimer
2013-10-25 12:11:54 +02:00
Christian Mehlis
cf2a40ee48
Merge pull request #267 from LudwigOrtmann/issue_223
...
normalize stack defines
2013-10-25 03:02:57 -07:00
Christian Mehlis
945aefad4f
add rtc_time implementation for native
2013-10-25 11:53:45 +02:00
Christian Mehlis
634a784cd2
add rtc_time function in public header
2013-10-25 11:52:10 +02:00
Ludwig Ortmann
7f7290a26a
normalize stack defines
2013-10-25 11:40:33 +02:00
LudwigOrtmann
abbad199e5
Merge pull request #260 from LudwigOrtmann/merge_thread_measure_stack_usage_declarations
...
merge thread_measure_stack_usage declarations
2013-10-24 07:23:46 -07:00
Ludwig Ortmann
089a15c110
merge thread_measure_stack_usage declarations
2013-10-24 16:22:55 +02:00
LudwigOrtmann
50e1ed3261
Merge pull request #261 from LudwigOrtmann/native_README_update
...
improve native README
2013-10-24 07:20:29 -07:00
Ludwig Ortmann
944d10c07d
improve native README
2013-10-24 12:58:28 +02:00
LudwigOrtmann
1505730589
Merge pull request #258 from LudwigOrtmann/native_shutdown
...
implement graceful shutdown in native
2013-10-23 14:21:54 -07:00
Ludwig Ortmann
45c9f92b5e
implement graceful shutdown in native
2013-10-23 23:16:45 +02:00
Oleg Hahm
cf17a37e24
Merge pull request #257 from LudwigOrtmann/uart0_thread_create
...
use CREATE_WOUT_YIELD on uart0 thread creation
2013-10-23 14:10:51 -07:00
Ludwig Ortmann
05987cb6db
break long line
2013-10-23 22:46:18 +02:00
Ludwig Ortmann
0f066befeb
use CREATE_WOUT_YIELD on uart0 thread creation
...
This should remove a race condition in the case that some uart event
occurs after the uart0 thread has started and before control has
returned to the calling thread, as uart0_handler_pid would not have
been set yet.
2013-10-23 22:13:53 +02:00
Oleg Hahm
ea184b59b1
print IPv6 addresses in host byte order
2013-10-23 21:16:15 +02:00
Oleg Hahm
31d99e3084
set stacksizes to default values
2013-10-23 21:15:45 +02:00
Oleg Hahm
9f0aed27f3
Merge pull request #245 from LudwigOrtmann/fix_tramp
...
fix signal handler context switch
2013-10-23 10:05:40 -07:00
Thomas Eichinger
8ae50ef8f4
fix: compilation with -mthumb flag for certain files
2013-10-22 12:37:16 +02:00
Oleg Hahm
f8eb0b0a9f
Merge pull request #248 from mehlis/msp430-timespec
...
msp430: add time_t and struct timespec
2013-10-22 03:02:14 -07:00
Christian Mehlis
7fb1ac4402
msp430: add time_t and struct timespec
2013-10-22 11:07:18 +02:00