Christian Mehlis
085e386f2d
ccnl: make theRelay use dynamic memory
2014-07-18 20:04:13 +02:00
Christian Mehlis
51fa2ec5c5
ccnl: use vtimer instead of rtc
2014-07-18 20:04:13 +02:00
Christian Mehlis
0b390040f4
ccnl: use a second helper thread to handle e.g. timeouts
2014-07-18 20:01:11 +02:00
René Kijewski
e1705622b7
vtimer: fix crash on spurious hwtimer callback
...
It seems that there are corner cases where a vtimer was removed, but
still there comes a hwtimer callback. This is a bug somewhere in the
vtimer or hwtimer. If there still was a vtimer set, then the next one
gets called before its time. If there was no other vtimer scheduled,
then `timer->action(timer)` crashes.
This PR simply fixes the crash, but does not attempt to find the more
fundamental bug.
2014-07-18 14:42:52 +02:00
Oleg Hahm
04493cc026
Merge pull request #1407 from LudwigOrtmann/issue-571
...
sys/vtimer: spin on short duration in vtimer_sleep
2014-07-16 22:14:27 +02:00
Oleg Hahm
344f702366
shell: prepare a rudimentary IEEE 802.15.4 packet
...
The transceiver module expects an `ieee802154_packet_t` instead of a
`radio_packet_t` if the device supports the IEEE 802.15.4 packet format.
This commit fixes the corresponding transceiver shell command for
`txtsnd` to set destination address (short address mode), payload, and
length accordingly.
2014-07-16 16:07:49 +02:00
René Kijewski
d4ff405e21
Merge pull request #1401 from LudwigOrtmann/scnetif_error
...
sys/net_if, make: fixup
2014-07-15 01:18:43 +02:00
Hauke Petersen
7ec61c578d
vtimer: renamed e|dINT to disable|restoreIRQ
2014-07-14 18:10:06 +02:00
Ludwig Ortmann
428e085c53
sys/shell: fix error when not using sixlowpan
...
```
/sys/shell/commands/sc_net_if.c:631:27: error: ‘IPV6_MAX_ADDR_STR_LEN’ undeclared (first use in this function)
char addr_str[IPV6_MAX_ADDR_STR_LEN];
^
```
2014-07-14 18:00:05 +02:00
Sebastian Sontberg
af3c54e3a2
pnet: Fix INADDR_ANY and INADDR_BROADCAST
...
INADDR_ANY and INADDR_BROADCAST should not be initializers.
2014-07-14 14:13:13 +02:00
Ludwig Ortmann
66b76a5a41
sys/transcevier: fix more loop integers
2014-07-13 15:52:33 +02:00
Ludwig Ortmann
3e965f926a
sys/vtimer: spin on short duration in vtimer_sleep
...
closes #571
2014-07-13 06:56:17 +02:00
Christian Mehlis
7169fd1107
Merge pull request #1362 from OlegHahm/ccnl_eliminate_warning
...
CCN_lite eliminate warning
2014-07-10 23:56:39 +02:00
Oleg Hahm
a6e97a4f75
Merge pull request #1034 from Kijewski/vtimer-callbacks
...
vtimer: fix callback usage
2014-07-10 17:12:23 +02:00
Ludwig Ortmann
a992d4d848
sys/transceiver: use size_t instead of u8 in loops
2014-07-10 14:11:48 +02:00
Ludwig Ortmann
8e93886d36
sys/transceiver: refactor un/register
...
remove race conditions
make less restrictive (allow double-un/registers)
make loops more readable
2014-07-10 14:11:48 +02:00
Ludwig Ortmann
d034cfac29
sys/transceiver: implement transceiver_unregister
2014-07-10 14:11:48 +02:00
Ludwig Ortmann
c264338e31
sys/transceiver: fix t9r_register API compliance
2014-07-10 14:11:48 +02:00
René Kijewski
ba1a15535b
core: remove extra thread_create_arg() function
2014-07-09 10:28:23 +02:00
Oleg Hahm
1518d6ac64
Merge pull request #1390 from cgundogan/fix_socket_internal_t_packed_attr
...
destiny: deleting packed attribute from socket_internal_t
2014-07-08 22:33:54 +02:00
Cenk Gündoğan
8724eb1169
destiny: Adjust TCP_STACK_SIZE
...
Currently, the TCP_STACK_SIZE is `KERNEL_CONF_STACKSIZE_DEFAULT`.
However, since printf statements are used in the tcp relevant code,
this stack size is too small (esp. for MSBA2).
2014-07-08 21:30:58 +02:00
Cenk Gündoğan
b5e7460d45
destiny: deleting packed attribute from socket_internal_t
...
While testing the tcp implementation on MSBA2 I noticed that
the value of `tcp_input_buffer_end` gets changed whenever acquiring or
releasing the mutex of the struct on the server side.
After deleting the packed attribute of the struct this problem was
resolved and the value stayed the same after acquiring and releasing.
This problem could maybe arise from badly placed cache lines due to
missing padding... I am not sure.
Anyway, I guess using the packed attribute is useless here and makes it
more error-prone.
2014-07-08 20:40:55 +02:00
Ludwig Ortmann
295f32ac1b
sys/ps: fix comment style, superfluous declaration
2014-07-04 16:38:22 +02:00
Ludwig Ortmann
70dae32a3f
sys/ps: s/float/int for runtime
...
The high precision isn't needed, use per mille instead.
Circumvents printf problems on some platforms.
Also: prevent division by zero.
2014-07-04 16:38:22 +02:00
Oleg Hahm
53f7bea52f
Merge pull request #1167 from fabianbrandt/rpl_base_split
...
Split RPL into core and mode related functions.
2014-07-04 11:21:05 +02:00
Fabian Brandt
7fb462cd2c
Split RPL into core and mode related functions.
2014-07-03 20:23:57 +02:00
Fabian Brandt
62236e5d54
Introducing a source routing header for RPL.
2014-07-02 20:35:14 +02:00
Oleg Hahm
613caf3914
ccnl: eliminated empty translation unit warning
2014-07-02 19:23:14 +02:00
Oleg Hahm
0affcaf6e1
ccnl: fixed commenting style
2014-07-02 19:22:55 +02:00
René Kijewski
63dd8546af
Merge pull request #1335 from Kijewski/fix-all-warnings-for-native-and-qemu-i386
...
Fix all warnings for native and qemu-i386
2014-07-02 10:58:48 +02:00
Christian Mehlis
381fec1fa8
Merge pull request #1301 from cgundogan/fix_tcp_handshake_seq_ack_rfc_compliancy
...
destiny: wireshark revealed wrong seq/ack nr. in tcp handshake
2014-06-30 22:05:23 +02:00
René Kijewski
3063e3c2b1
Fix all warnings for native and qemu-i386
...
Missing returns, unused variables (only used for debugging), empty
translation units, missing function prototypes, and GNU extensions.
2014-06-24 16:50:32 +02:00
Oleg Hahm
fda7ce12d2
Merge pull request #1321 from cgundogan/fix_missing_ack_bit
...
destiny: set ack bit for (almost) all segments after syn
2014-06-24 11:16:37 +02:00
Cenk Gündoğan
75546fcf6c
destiny: set ack bit for (almost) all segments after syn
...
The current implementation does not set the ack bit
for outgoing data segments and the fin segment.
However, RFC793 states that all segments
should have an ack bit set in order to present a valid
ack nr. in outgoing segments.
Currently, data segments and acknowledgement segments
are distinguished by the existence of their ack bit.
With the new assumption, that both of these types of
segments need an ack bit set, I had to change several
parts of the current implementation to make this
decision by inspecting the payload size.
destiny: added parens
2014-06-24 10:44:11 +02:00
Cenk Gündoğan
400286168f
destiny: wireshark revealed wrong seq/ack nr. in tcp handshake
...
Capturing the tcp handshake with wireshark revealed that the
sequence and ack nrs. are not rfc compliant.
I did the changes based on
http://tools.ietf.org/html/rfc793#page-52 to http://tools.ietf.org/html/rfc793#page-72
2014-06-24 10:21:23 +02:00
Oleg Hahm
9f39226108
shell: added command to print all ignored addresses
2014-06-24 10:11:06 +02:00
Oleg Hahm
36b9f7e7d7
Merge pull request #1257 from Kijewski/shell-fix-newline
...
shell: fix newlines
2014-06-22 23:56:36 +02:00
Oleg Hahm
6f17f0c60a
Merge pull request #1105 from Kijewski/shell-print-not-found
...
shell: print command if not found
2014-06-22 21:03:30 +02:00
Oleg Hahm
eedc16815c
Merge pull request #891 from OlegHahm/rpl_debug
...
net: some debug code
2014-06-22 19:27:18 +02:00
Hauke Petersen
839955cd05
sys: added color module
2014-06-22 13:53:01 +02:00
René Kijewski
14601c0c38
Merge pull request #1299 from phiros/timex_bugfix_and_improvement
...
Timex bugfix and improvement
2014-06-19 13:18:15 +02:00
Philipp Rosenkranz
0bf6ce22f3
added conv function from uint64 to timex_t and one minor bug fix
2014-06-19 12:40:24 +02:00
René Kijewski
467b41ad49
make: easifier usage of module subdirectories
...
Many modules have subdirectories. Often these subdirectories should only
be included under certain circumstances. Modules that use submodules
currently need to use this pattern:
```make
DIRS = …
all: $(BINDIR)$(MODULE).a
@for i in $(DIRS) ; do $(MAKE) -C $$i ; done ;
include $(RIOTBASE)/Makefile.base
clean::
@for i in $(DIRS) ; do $(MAKE) -C $$i clean ; done ;
```
This PR moves the `all:` and `clean::` boilerplate into `Makefile.base`.
2014-06-17 15:49:32 +02:00
René Kijewski
840c0f0a57
make: detect their module name automatically
...
For many modules the `Makefile` contains a line like
```
MODULE:=$(shell basename $(CURDIR))
```
This conclusively shows that we do not have to set the module name
manually.
This PR removes the need to set the module name manually, if it is the
same as the basename. E.g. for `…/sys/vtimer/Makefile` the variable
make `MODULE` will still be `vtimer`, because it is the basename of the
Makefile.
2014-06-17 15:49:32 +02:00
Christian Mehlis
997dcd7e88
Merge pull request #1302 from cgundogan/fix_tcp_header_data_offset
...
destiny: using a bit field for tcp_header->data_offset is more convenient
2014-06-14 15:40:49 +02:00
Christian Mehlis
50a07d9874
Merge pull request #1280 from cgundogan/fix_send_tcp_error_check
...
destiny: fixed condition for error handling of send_tcp in destiny_socket_send
2014-06-12 09:55:37 +02:00
Christian Mehlis
2350809536
pnet: silence unused argument warnings
2014-06-11 13:36:41 +02:00
Oleg Hahm
f6cd96b023
Merge pull request #1300 from cgundogan/fix_wrong_byte_order_ipv6_length
...
destiny: change byte order of ipv6_header->length
2014-06-09 22:01:41 +02:00
Cenk Gündoğan
ecf47b1f48
destiny: using a bit field for tcp_header->data_offset is more convenient
...
In the current implementation the data offset is coded into an uint8_t.
Of this uint8_t only 3 bits apply for the data offset.
The remaining bits represent reserved flags for future use.
However, a proper bit masking is forgotten in order
to obtain the data offset part of this uint8_t.
Therefore, defining this uint8_t as a bit field allows a more convenient
method of access.
2014-06-09 19:37:37 +02:00
Cenk Gündoğan
97da23051a
destiny: change byte order of ipv6_header->length
...
When accessing the length field of an ipv6_header a byte order switch (host -> network) is necessary.
Otherwise, it breaks calculations or the checksum and other tcp related computations.
Furthermore, when writing to ipv6_header->length it is important to switch this
from host byte order to network byte order.
2014-06-08 20:50:45 +02:00
Cenk Gündoğan
7584ffe887
destiny: fixed condition for error handling
...
send_tcp returns either the length of the sent data,
or -1, if an error was detected.
The current implementation checks for != 1.
This results in executing the error case, although
there was semantically no error returned from send_tcp.
2014-06-05 14:17:48 +02:00
Cenk Gündoğan
43b7a393b1
destiny: wireshark compliant tcp flags
...
This enum is also used to set the tcp flags within a tcp header.
With the current values in this enum, wireshark is not able to
recognize the tcp segments as their actual tcp type,
and thus odd messages in wireshark appear.
destiny: reusing tcp flags for combinations
2014-06-05 13:15:00 +02:00
Cenk Gündoğan
f41fe7bb04
destiny: segfault due to dereferencing nullpointer
...
get_socket(i) returns NULL, when no specific socket is found.
Without an appropriate check for NULL, the current state
of the code leads to a segfault.
destiny: added parens
destiny: continuing the loop makes more sense than returning at first sight of NULL
2014-06-03 22:48:01 +02:00
René Kijewski
2231a315d4
vtimer: fix callback usage
...
There is no need to test the "handler" set in the vtimer struct, and
have some code executed then. We just can make the code to execute the
handler. To lengthy `if else if`, just a call.
2014-06-03 21:07:59 +02:00
René Kijewski
05a4bf7f04
Merge pull request #1057 from Kijewski/sched_switch-current_prio
...
core: imply current_prio in `sched_switch()`
2014-06-03 15:59:23 +02:00
Oleg Hahm
4298918ba7
rpl: debug: use DEBUGF where necessary
2014-06-03 15:08:50 +02:00
Oleg Hahm
fe788838ef
net: IPv6: RPL: more debug output
2014-06-03 15:04:53 +02:00
Oleg Hahm
e165a08606
fixed debugging for cc110x
2014-06-03 15:04:52 +02:00
Oleg Hahm
e5e9d9e538
set correct transceiver stack size for debugging
2014-06-03 15:04:52 +02:00
Oleg Hahm
4f62ef4547
some minor fixes and debugging
2014-06-03 15:04:50 +02:00
Oleg Hahm
e87e6bedca
you can never have enough debugging in RPL
2014-06-03 15:01:48 +02:00
Cenk Gündoğan
56298378ee
pnet: accept should return a new generated file descriptor
...
From man page:
On success, these system calls return a nonnegative integer that is a
descriptor for the accepted socket. On error, -1 is returned, and errno
is set appropriately.
2014-06-02 18:53:51 +02:00
René Kijewski
94bb326fc0
shell: fix newlines
2014-05-30 21:10:05 +02:00
Thomas Eichinger
9cde1e5fc3
Merge pull request #1146 from Kijewski/struct-tm-utils
...
sys: add utility functions for `struct tm`
2014-05-28 12:20:32 +02:00
René Kijewski
1887bd45c6
sys: add utility functions for struct tm
2014-05-28 00:16:32 +02:00
Thomas Eichinger
f32c7af1a9
sys:transceiver: fix some doxygen comments
2014-05-27 15:57:28 +02:00
Martin Lenders
2362623490
Fix trailing whitespaces
...
Fixes #1138
2014-05-26 14:54:23 +02:00
René Kijewski
4e4f908379
Initial import of the x86 port
...
Currently this works only in qemu.
2014-05-25 13:40:29 +02:00
René Kijewski
a6fd5bff92
core: imply current_prio in sched_switch()
...
There is no need to supply the current priority to `sched_switch()`,
when this function can easily tell the value of
`active_thread->priority` itself.
2014-05-24 16:48:35 +02:00
René Kijewski
75f71992e5
Add doxygen comments to MSP's oneway malloc
2014-05-22 15:40:25 +02:00
René Kijewski
1b89f334e3
msp430: provide oneway-malloc implicitly
...
For MSP430 boards oneway-malloc is already used *if* `malloc.h` was
included. The problem is that `malloc.h` is not a standard header, even
though it is common. `stdlib.h` in the right place to look for
`malloc()` and friends.
This change removes this discrepancy. `malloc()` is just named like
that, without the leading underscore. The symbols now are weak, which
means that they won't override library functions if MSP's standard
library will provide these functions at some point. (Unlikely, since
using `malloc()` on tiny systems is less then optimal ...)
Closes #1061 and #863 .
2014-05-22 15:40:25 +02:00
Oleg Hahm
6dbeacd2ce
documentation: fixed sixlowpan doxygen filename
2014-05-22 13:01:44 +02:00
Oleg Hahm
f8168c86d3
documentation: fixed organization of 6LoWPAN doxygen
2014-05-22 13:01:37 +02:00
Oleg Hahm
9efc0d2255
documentation: added missing doxygen header to transceiver interface
2014-05-22 13:01:36 +02:00
Oleg Hahm
ce73fa56e2
documentation: moved network documentation to top level
2014-05-22 13:01:36 +02:00
Christian Mehlis
0aa87a8ee7
Merge pull request #1208 from Kijewski/issue-1199
...
documentation: fix doxygen for `pthread_*.h`
2014-05-20 14:19:52 +02:00
René Kijewski
e135bdc266
documentation: fix doxygen for pthread_*.h
...
The pthread header files aren't in the doxygen page anymore after #1137 ,
because I `@file`'d the `.c` files, not the `.h` files.
This change moves doxygen boilerplate.
Closes #1199 .
2014-05-18 17:33:49 +02:00
Oleg Hahm
ef5ec344fd
core: prefix API functions correctly
...
Also changed names for bitarithm functions and rename thread_pid to sched_active_pid.
2014-05-18 08:53:20 +02:00
Jan S
836b8b9d2d
sys/ping/ping.c: malloc size of type, not size of pointer
2014-05-15 17:43:25 +02:00
Jan S
ba907471f3
fixed printf specifiers
2014-05-15 17:42:57 +02:00
Thomas Eichinger
7a031e5669
net: handle macro redefinitions for OS X
...
undefine macros and reorder header includes to get rid of system
defined macros on OS X
fixes #1165
2014-05-14 19:43:58 +02:00
Thomas Eichinger
46acc2f5d5
shell: renaming isnumber
to is_number
in sc_net_if.c
...
fix name collision on OS X by renaming
2014-05-14 19:43:58 +02:00
René Kijewski
e94912f7be
sys/crypo: fix function declarations
...
In #1119 old-style function declarations are exterminated and forbidden.
I missed the functions in `sys/crypto` because they weren't used
throughout the tests/examples before #1124 .
2014-05-14 14:35:35 +02:00
René Kijewski
8038e96d09
Merge pull request #1119 from Kijewski/error_old-style-definition
...
Exterminate old-style function definitions
2014-05-14 13:31:30 +02:00
René Kijewski
ccc934856f
Merge pull request #1124 from Kijewski/consolidate-crypto
...
sys:crypto: put ciphers into one module
2014-05-14 13:12:21 +02:00
Ludwig Ortmann
2314915ff2
license: fix license header grammar
...
insert missing "is"
2014-05-14 09:49:09 +02:00
René Kijewski
638666c34a
shell: print command if not found
2014-05-12 22:07:35 +02:00
René Kijewski
96fba8a19b
sys:crypto: put ciphers into one module
2014-05-12 21:57:44 +02:00
René Kijewski
9a9caf2c68
Exterminate old-style function definitions
2014-05-12 21:57:09 +02:00
Benjamin Valentin
8ec8b3f100
net/ip: fix wrong double negative in the comments
2014-05-12 17:28:05 +02:00
Benjamin Valentin
143b6560da
net/ip: apply workaround to fix IP forwarding
...
When sending a packet a workaround is applied when ndp_get_ll_address() returns NULL as is's not implemented properly yet.
The same should happen when a packet is forwarded as it's dropped otherwise.
2014-05-12 17:01:36 +02:00
René Kijewski
6a0053fbc8
shell:ps: SCHEDSTATISTICS cols only if needed
2014-05-08 10:27:33 +02:00
Christian Mehlis
f1ce664dcf
Merge pull request #1116 from Kijewski/ccnl-warnings
...
ccnl: remove type warning
2014-05-07 21:20:23 +02:00
Christian Mehlis
246a6c73d2
Merge pull request #1084 from mehlis/ccnl-debug
...
ccnl: extra debug statements
2014-05-07 21:11:59 +02:00
René Kijewski
5879ccbcd3
Merge pull request #1117 from BytesGalore/add_missing_pthread_cv_header
...
sys:posix:pthread added missing `pthread_cond.h` to `pthread.h`
2014-05-07 09:11:39 +02:00
Martin Landsmann
61b0331980
added pthread_cond.h
to pthread.h
...
adjusted `test_pthread_condition_variable\main.c` includes reflecting the above change
2014-05-07 07:54:54 +02:00
René Kijewski
b8419d48d9
ccnl: remove type warning
2014-05-07 06:17:11 +02:00
Martine Lenders
48d2ad285b
Merge pull request #872 from OlegHahm/rpl_route_shell_command
...
sys: net: rpl: added RPL route shell command
2014-05-06 13:31:44 +02:00
Oleg Hahm
0018e3a181
shell: added RPL route shell command
2014-05-04 17:52:51 +02:00
René Kijewski
f23dab96d2
sys: rename ringbuffer functions
...
Closes #1011 .
2014-05-03 16:39:39 +02:00
Christian Mehlis
433e40c76e
ccnl: extra debug statements
2014-05-02 14:27:34 +02:00
BytesGalore
f4a994ac89
Merge pull request #1076 from BytesGalore/remove_return_from_noreturn_function
...
sys:posix:pthread removed explicit `return;` from `pthread_exit()`
2014-04-30 07:50:32 +02:00
Martin
fc532ad891
added else branch in pthread_exit()
to avoid calling explicit return;
...
however, this won't help to completely eliminate the warning on returning from a `noreturn` function
2014-04-30 07:22:48 +02:00
Martin
619039e0e2
add pthread condition variable implementation
2014-04-29 18:39:03 +02:00
Christian Mehlis
72036742d8
Merge pull request #1063 from Kijewski/shell_command_t-fix-const
...
shell: strings in shell_command_t are const
2014-04-28 14:07:36 +02:00
René Kijewski
07cc72576e
shell: Comment internal members, too
...
Closes #979 .
2014-04-28 10:41:48 +02:00
René Kijewski
4ed38bd2f3
shell: strings in shell_command_t are const
2014-04-27 14:37:54 +02:00
BytesGalore
9d4d98c9ea
Merge pull request #1025 from BytesGalore/add_out_of_bounds_check
...
sys:posix:pthread added check to avoid array out of bound access
2014-04-25 18:00:07 +02:00
Martin
345e76a0d7
added check to avoid array out of boud access
2014-04-25 17:57:41 +02:00
Christian Mehlis
1e9b9ed0bd
Merge pull request #917 from fabianbrandt/rpl_config_split
...
Splitting rpl_structs.h into structs and config part
2014-04-25 11:42:27 +02:00
Fabian Brandt
85d8cd8e0a
Four macros changed to static inline type functions and style fixes
2014-04-25 11:40:22 +02:00
Christian Mehlis
f04007e15f
Merge pull request #918 from fabianbrandt/etx_now_routing
...
ETX-functionality is now part of a common routing-module
2014-04-25 11:33:02 +02:00
Fabian Brandt
ef5eaff1bc
ETX-functionality is now part of a common routing-module
2014-04-25 11:30:28 +02:00
Fabian Brandt
2634b3c400
Splitting rpl_structs.h into structs and config part
2014-04-25 11:04:52 +02:00
Christian Mehlis
dcabf10fcb
ccnl: appserver: remove unused flag
2014-04-25 09:13:01 +02:00
Christian Mehlis
13b38a46ac
ccnl: don't include c files
...
this fixes a build problem on
debian and ubuntu based systems
2014-04-25 01:48:54 +02:00
Thomas Eichinger
d89faccc78
Merge pull request #1031 from LudwigOrtmann/issue_676
...
redbee-econotag: fix maca
2014-04-24 10:19:22 +02:00
Christian Mehlis
c1f0ef9fbe
Merge pull request #1037 from Kijewski/issue-577
...
shell: Add doxygen
2014-04-22 16:59:08 +02:00
René Kijewski
14401ede42
shell: Add doxygen
...
Closes #577 .
2014-04-22 08:03:15 +02:00
Christian Mehlis
206e6688a7
ccnl: find bogus looping content
2014-04-19 21:09:12 +02:00
René Kijewski
9a5a8a2452
Add pthread_rwlock test
2014-04-18 16:26:12 +02:00
René Kijewski
10d36df795
pthread: implement reader/writer lock
2014-04-18 16:20:47 +02:00
René Kijewski
542a2e5d9d
Merge pull request #995 from Kijewski/issue-993
...
Make: exterminate 'clean' buildtarget clutter
2014-04-18 16:11:15 +02:00
René Kijewski
72df45ea02
Merge pull request #1017 from Kijewski/issue-980
...
documentation: Add missing documentation for pthread functions and structures
2014-04-18 16:08:06 +02:00
Ludwig Ortmann
3a1980af36
redbee-econotag: fix maca
...
I suspect that the transceiver will still not work as there are many
many warnings, but at least it builds now.
closes : #676
2014-04-18 16:05:23 +02:00
Christian Mehlis
1bc74f4fef
Merge pull request #1001 from mehlis/ccnl-defaulttransceiver
...
ccnl: use default transceiver
2014-04-18 15:12:09 +02:00
Christian Mehlis
dcf4c3a80e
Merge pull request #1021 from Kijewski/vtimer_now-no-16bit-overflow
...
vtimer: fix integer overflow in vtimer_now() for MSP-430
2014-04-18 12:00:27 +02:00
Christian Mehlis
c2846a07b9
ccnl: use default transceiver
2014-04-18 11:45:53 +02:00
René Kijewski
3101083f13
pthread: fix spinlock
2014-04-18 03:19:31 +02:00
René Kijewski
3e6bebadd3
Add missing doxygen for pthread funs and structs
2014-04-18 03:19:31 +02:00
René Kijewski
f2e28c8146
Merge pull request #1016 from BytesGalore/fix_cpp_pthread_id
...
posix:pthread c++11 changed pthread_self() to return thread IDs > 0
2014-04-17 16:44:43 +02:00
René Kijewski
77c296cf59
vtimer: fix integer overflow in vtimer_now() for MSP-430
2014-04-17 14:46:21 +02:00
Martin
e159d0b38a
changed return value to 0 on lookup fail in pthread_self()
2014-04-17 14:31:36 +02:00
Martine Lenders
0e4d2909a6
Merge pull request #830 from authmillenon/fix_test_pnet
...
tests: Fix test_pnet
2014-04-17 01:40:27 +02:00
Martin Lenders
4e1da23817
Fix test_pnet
...
fixes #829
2014-04-16 17:44:46 +02:00
Martin
f3566f0b8a
changed pthread_self() to return thread IDs > 0
2014-04-16 17:31:47 +02:00
Christian Mehlis
65bd8f03c1
ccnl: remove useless compare
...
This compare is useless for CCN lite in RIOT, because
a face has always an interface with index >= 0
2014-04-14 00:08:44 +02:00
Christian Mehlis
987f2576e0
ccnl: LRU is the replacement strategy, rename variable to express this
2014-04-11 11:53:03 +02:00
René Kijewski
300d6b3e35
Make: exterminate 'clean' buildtarget
...
Closes #993 .
We do not need to descend into the modules to know what to do on
`make clean BOARD=blub`. We can just invoke `rm -rf bin/blub`.
This PR only keeps the descending into the USEPKGs, since they might
want to delete cached/downloaded/extracted data.
2014-04-09 23:07:52 +02:00
Martin Lenders
9ee7956e53
Fix length of fragmentation buffer in 6LoWPAN
2014-04-09 16:07:46 +02:00
Martine Lenders
139da0a5b4
Merge pull request #873 from OlegHahm/on_link_check
...
net: sixlowpan: removing possible invalid check
2014-04-09 16:02:56 +02:00
Oleg Hahm
8a86f493b4
Merge pull request #821 from Kijewski/pthrad_cleanup
...
posix: Add pthread_cleanup handlers
2014-04-09 00:19:17 +02:00
Oleg Hahm
786cd0a5f7
Merge pull request #986 from Kijewski/a-minor-fix-for-issue-672-not-everything-but-better-than-nothing-i-guess-or-what-do-you-think
...
make: replace findstring with filter in sys/Makefile
2014-04-09 00:16:26 +02:00
Oleg Hahm
56c5df7097
Merge pull request #813 from Kijewski/add-pthread_barrier
...
posix: Add `pthread_barrier_*` functions
2014-04-09 00:08:23 +02:00
René Kijewski
fbc4531877
make: replace findstring with filter in sys/Makefile
2014-04-08 19:25:51 +02:00
René Kijewski
eaca16d07a
Add pthread_barrier_t documentation
2014-04-06 19:25:15 +02:00
René Kijewski
9202a482d5
Add pthread_barrier_*
functions
...
Compare [`pthread_barrier_init`][1].
[1]: http://pubs.opengroup.org/onlinepubs/9699919799/functions/pthread_barrier_init.html
2014-04-06 19:25:15 +02:00
Martin Lenders
d9fdbca9de
Fix dereferencing of type-punned pointer
...
Fixes #897
2014-04-05 20:42:08 +02:00
René Kijewski
b44b88a6ed
pthread_cleanup: better documentation
2014-04-04 18:03:29 +02:00
René Kijewski
b54962689a
posix: Add pthread_cleanup handlers
...
With `pthread_cleanup_(push|pop)` you can define a function that should
be ran if the thread is exited while it is inside this scope. A thread
can be ended here through an explicit call to `pthread_exit()`, or if
cancellation was requested and a cancellation point was hit.
`pthread_cleanup_*` is mostly only useful together with cancellation
points, and cancellation points are only useful with a cleanup
functionality. Cancellation points are at least partially implemented by
means of `pthread_testcancel()`.
C.f. ["Cancellation Points"][1].
[1]: http://pubs.opengroup.org/onlinepubs/9699919799/functions/V2_chap02.html#tag_15_09_05_02
2014-04-04 18:03:29 +02:00
Martine Lenders
f9d8f1fc75
Merge pull request #798 from Kijewski/usemodule-includes
...
Make: Add include paths automatically for USEMODULES
2014-04-01 17:25:48 +02:00
Oleg Hahm
2b7e41b742
Merge pull request #963 from LudwigOrtmann/make_remove_makebase
...
make: replace MAKEBASE with RIOTBASE
2014-04-01 17:23:31 +02:00
Ludwig Ortmann
91814e52ae
make: replace MAKEBASE with RIOTBASE
...
closes https://github.com/RIOT-OS/RIOT/issues/959
2014-04-01 16:40:28 +02:00
Martine Lenders
951cc0cdc2
Merge pull request #928 from authmillenon/ndp-nce-remove
...
Make neighbor cache remove function public
2014-04-01 16:39:06 +02:00
Ludwig Ortmann
aa6246cd49
Merge pull request #937 from mehlis/ccnl-dead-code
...
ccnl: remove dead code
2014-03-29 20:37:31 +01:00
René Kijewski
de29e4184c
Add include paths automatocally for USEMODULES
...
Application developers use `$(USEMODULES)` in their Makefiles to have
the relevant functionally automagically added to their apps. This even
does basic dependency tracking by means of `Makefile.dep`.
But an important thing is missing: the automatic adding of include
paths. This is inconvenient, error prone, and will hinder the RIOT core
developers in future to change folder structures.
2014-03-29 16:27:55 +01:00
Ludwig Ortmann
a6fd531783
Merge pull request #874 from OlegHahm/fix_ignore_command
...
net: transceiver: fix ignore command
2014-03-29 09:42:35 +01:00
Christian Mehlis
51faf0b239
ccnl: remove dead code
2014-03-28 21:27:55 +01:00
Martin Lenders
69903e4cb8
Make neighbor cache remove function public
2014-03-28 10:20:08 +01:00
Benjamin Valentin
113fd6a9cf
icmp.c: remove empty else clause
2014-03-28 10:06:44 +01:00
Martine Lenders
03b49e849b
Merge pull request #875 from OlegHahm/ip_forwarding
...
net: IPv6: use forwarding table entry when routing
2014-03-24 15:39:24 +01:00
Martine Lenders
ddebe8ed1a
Merge pull request #876 from OlegHahm/iphc_decompression_shift
...
net: 6lowpan: added missing hdr position shift
2014-03-24 15:36:44 +01:00
René Kijewski
7354c5cc51
Merge pull request #867 from OlegHahm/uart_stacksize
...
uart: use cpu dependent stack size
2014-03-24 15:30:30 +01:00
Martine Lenders
e64c7c1739
Merge pull request #668 from benpicco/remove_includes
...
remove unnecessary INCLUDES
2014-03-24 15:20:15 +01:00
Martine Lenders
53264c7a45
Merge pull request #609 from LudwigOrtmann/transceiver_any
...
anytransceiver pseudomodule
2014-03-24 14:04:02 +01:00
Benjamin Valentin
5f57db794b
remove unnecessary INCLUDES from net_help
2014-03-24 11:19:55 +01:00
Benjamin Valentin
167bbd6793
remove unnecessary INCLUDES from ccn_lite
2014-03-24 11:19:28 +01:00
Oleg Hahm
b559459a35
Merge pull request #898 from OlegHahm/rename_tcp_socket_enums
...
net: destiny: renamed internal TCP enums
2014-03-20 18:17:51 +01:00
René Kijewski
d6ad19b410
Fix issue #896
2014-03-19 14:56:35 +01:00
Oleg Hahm
90ccdd34d2
shell: transceiver: added missing return in error case
2014-03-19 10:26:49 +01:00
Oleg Hahm
b23e157b54
Merge pull request #792 from OlegHahm/etx_fixes
...
rpl: moved debugging statements from header to c file
2014-03-19 10:23:09 +01:00
Oleg Hahm
5bcbb09b73
net: destiny: fixed typo and further cleanups
2014-03-18 12:03:03 +01:00
René Kijewski
e073d86845
Merge pull request #877 from Kijewski/shell-utf8
...
shell: fix UTF-8 problem
2014-03-18 11:27:28 +01:00
Ludwig Ortmann
8ac4f3332d
core cpu: add defaulttransceiver pseudomodule
...
update examples/default
2014-03-18 10:18:15 +01:00
Oleg Hahm
5687553411
cosmetics
2014-03-18 10:08:30 +01:00
Oleg Hahm
5e4a9c0e94
net: destiny: renamed internal TCP enums
...
Rationale: LISTEN was used in MSP430-Lib for the USART.
2014-03-17 19:38:10 +01:00
Christian Mehlis
5733015c27
correct copyright and doxygen
2014-03-16 20:00:47 +01:00
Christian Mehlis
60feb7ea37
posix: move posix semaphore in posix module
2014-03-16 19:48:25 +01:00
Oleg Hahm
3c54edf4d6
Merge pull request #822 from LudwigOrtmann/reboot_signature
...
core: change reboot signature.
2014-03-16 18:42:23 +01:00
Martin Lenders
a134bb4238
Merge pull request #878 from OlegHahm/unroutable
...
net: sixlowpan: notify lowpan_transfer when IP packet is not routable
2014-03-13 19:40:41 +00:00
Ludwig Ortmann
9b61d95545
make: don't ignore failures in for loops
...
Add `|| exit 1` to all constructs like `@for i in $(DIRS) ; do "$(MAKE)" -C $$i ; done ;`, so that compilation stops on the first error.
2014-03-12 11:09:04 +01:00
Oleg Hahm
42dbc44be4
amendment to 169976f
2014-03-10 20:03:14 +01:00
Oleg Hahm
153f2f9e95
notify lowpan_transfer when IP packet is not routable
...
The IP process silently discarded an unroutable packet without replying to the 6LoWPAN layer, causing that thread to starve.
2014-03-10 19:58:52 +01:00
René Kijewski
97593e9f05
shell: add myself to authors
2014-03-10 18:17:05 +01:00
René Kijewski
a1df6a86bb
shell: don't ignore IO errors
2014-03-10 13:48:00 +01:00
René Kijewski
3f289760bf
shell: accept UTF8 input
2014-03-10 13:47:33 +01:00
Ludwig Ortmann
063a15ce9b
Change reboot signature.
...
Change from `void reboot(void)` to `int reboot(int mode)`.
Move reboot definition to core, rename architecture implementations
from reboot to reboot_arch.
Declare reboot mode(s) in kernel.h, reboot_arch in kernel_internal.h
Currently only one reboot mode is handled, its use is enforced.
Rationale:
A reboot function is already defined in <unistd.h> on BSD systems.
(See: http://www.openbsd.org/cgi-bin/man.cgi?query=reboot&sektion=2 )
This patch not only allows native to build sensibly on these systems
but also streamlines RIOTs compatability with existing software.
2014-03-10 11:14:27 +01:00
Oleg Hahm
3945a06851
added missing hdr position shift
2014-03-09 19:14:18 +00:00
Oleg Hahm
05ebad4380
use forwarding table entry when routing
...
So far the entry was looked up, but ignored in the case where the packet
has to be forwarded.
2014-03-09 19:03:59 +00:00
Oleg Hahm
169976f90a
fix ignore command
2014-03-09 18:59:35 +00:00
Oleg Hahm
72e1c667a7
removing possible invalid check
...
Checking for a link local address to determine if a node is on-link is
probably not a valid assumption in most wireless networks.
2014-03-09 18:51:48 +00:00
Martin Lenders
58fb30b8a7
Fix address output of net_if shell command
2014-03-09 08:45:03 +00:00
Oleg Hahm
a0d1fda4a8
use cpu dependent stack size
2014-03-08 15:29:52 +00:00
René Kijewski
83988b2d03
Merge pull request #725 from kaspar030/optimize_thread_status_usage
...
core: sched: thread: optimize thread status field usage
2014-03-05 17:30:31 +01:00
René Kijewski
a3076c9726
shell: remove clutter from shell's Makefile
...
Remove clutter that was put into centralized Makefile.includes.
2014-03-04 21:12:17 +01:00
René Kijewski
e15ce49808
Merge pull request #848 from Kijewski/that-annoying-debug-flag-in-pthread-that-effing-needs-to-go-away-already
...
posix: Disable debug output of pthreads
2014-03-04 18:31:55 +01:00
Oleg Hahm
a6bc8cba28
Merge pull request #843 from authmillenon/fix-lowpan-iphc
...
sixlowpan: Fix source address IPHC
2014-03-04 13:40:00 +00:00
Martin Lenders
78aa5a4b3d
Merge pull request #852 from authmillenon/autoinit-src-addr-mode
...
net_if/auto_init: Auto init source address mode
2014-03-04 11:58:01 +01:00
Martin Lenders
4c63dae94d
Auto init source address mode
2014-03-04 11:14:05 +01:00
René Kijewski
46031a0540
posix: Disable debug output of pthreads
...
`DEBUG_ENABLED` should be enabled during debugging, and disabled
afterwards.
2014-03-03 22:12:25 +01:00
Christian Mehlis
eb0ceeb773
Merge pull request #794 from Kijewski/shell-args-escape
...
shell: Allow escaped characters in shell
2014-03-03 18:14:00 +01:00
Christian Mehlis
ef1d9836d3
Merge pull request #806 from Kijewski/sem-pthread-native
...
native/posix: Don't include sys/types.h in semaphore.h
2014-03-03 17:36:46 +01:00
Christian Mehlis
1ec20ce2f1
Merge pull request #832 from mehlis/ccn-lite-follow-up-11
...
ccnl: added documentation and proper event handling for dropped packets
2014-03-03 17:25:23 +01:00
Christian Mehlis
1cc5fa57c1
Merge pull request #839 from mehlis/posix-sleep
...
posix: added sleep and usleep
2014-03-03 17:23:09 +01:00
Christian Mehlis
1a438b64a5
posix: added sleep and usleep
2014-03-03 17:21:48 +01:00
Martin Lenders
332485e466
Fix source address IPHC
2014-03-03 17:16:29 +01:00
Christian Mehlis
64fc465a6a
pthread: mutex - return the right values
2014-03-03 13:29:28 +01:00
Oleg Hahm
9255c9cbef
removed obsolete buffer
2014-03-02 23:34:07 +00:00
Oleg Hahm
3e4fa5f012
removed error causing packed attribute in net_if
2014-03-02 23:34:07 +00:00
Christian Mehlis
d0025f6652
ccnl: added documentation and proper event handling for dropped packets
2014-03-02 19:13:45 +01:00
Oleg Hahm
6fc1f5843b
RPL byte order issues
2014-03-01 19:24:18 +01:00
Oleg Hahm
e8e424f8cd
enhanced RPL debugging
2014-03-01 19:24:16 +01:00
Christian Mehlis
80135e6655
Merge pull request #824 from LudwigOrtmann/3des_includes
...
sys/crypto: remove assert.h include
2014-03-01 17:14:44 +01:00
Ludwig Ortmann
6089de5ef2
Remove useless assert comments
...
address: https://github.com/RIOT-OS/RIOT/pull/824#issuecomment-36426297
2014-03-01 16:27:18 +01:00
Martin Lenders
bdced318bc
Eliminate side effects in icmpv6_csum and make it public
2014-03-01 15:08:19 +01:00
Oleg Hahm
2c76f99f04
nbr_cache_auto_rem does not need an extra thread
2014-03-01 15:08:19 +01:00
Martin Lenders
6c9578c028
Add sixlowpan to auto_init
2014-03-01 15:08:19 +01:00
Martin Lenders
00acab920b
Let IPv6 and ICMP use new 6LoWPAN layer (+fixes)
2014-03-01 15:08:18 +01:00
Oleg Hahm
e2e62596be
Byte order and rpl problems
2014-03-01 15:08:18 +01:00
Martin Lenders
c9e8adc414
Use net_if in 6LoWPAN layer
2014-03-01 15:08:18 +01:00
Martin Lenders
108989b65d
Use net_if in 6LoWPAN MAC layer
2014-03-01 14:44:21 +01:00
Martin Lenders
470d8745e9
Add capability to set and get variable default hop limit
2014-03-01 14:44:21 +01:00
Martin Lenders
78b5f2ae5d
Decouple ICMPv6 from 6LoWPAN
2014-03-01 14:44:21 +01:00
Martin Lenders
4e39cbdd54
Put 6LoWPAN border router in its own module
2014-03-01 14:44:21 +01:00
Martin Lenders
90e946eb49
Fix ieee802154_frame module
2014-03-01 14:44:21 +01:00
Martin Lenders
bc4befb4e9
Fix coding conventions for sixlowpan and rpl module
2014-03-01 14:44:21 +01:00
Ludwig Ortmann
c51c135192
sys/crypto: remove assert.h include
...
It is not used and most platforms don't have it.
2014-03-01 14:43:13 +01:00
Martin Lenders
4a6495987e
Add shell commands for interface configuration
2014-03-01 00:48:42 +01:00
Martin Lenders
848ac70f90
Implement net_if module
2014-02-28 23:13:22 +01:00
Martin Lenders
7f8e2c2991
Add getter and setter of long addresses to transceiver
2014-02-28 23:13:22 +01:00
Martin Lenders
fa11d82443
Allow IEEE 802.15.4 addressing types for transceiver
...
IEEE 802.15.4 has two addressing modes: 16-bit short and the device's
EUI-64. Currently RIOT supports only sending of packets with 16-bit
short addresses via the transceiver interface. This patch allows at
least for the radio chips that support IEEE 802.15.4 to let the
application/upper layer decide which addressing mode to use.
Upper layer implementation will be implemented in follow-up PR to #460
2014-02-28 23:13:04 +01:00
Martin Lenders
1e4badf85a
Fix coding conventions in sys/transceiver/transceiver.c
2014-02-28 13:39:24 +01:00
Martin Lenders
3225683d2f
Include kernel.h for inet_pton for MSP-430
2014-02-28 00:14:54 +01:00
René Kijewski
6636e9c8e8
native/posix: Don't include sys/types.h in sem
...
`sys/types.h` contains the native definition for `pthread_*_t`. This
causes clashes if you want to use `semaphore` and `pthread` in the same
application.
2014-02-27 15:26:25 +01:00
Oleg Hahm
1dc3b5910e
amendment - to be squashed
2014-02-26 19:07:02 +01:00
Oleg Hahm
28513fce9a
moved debugging statements from header to c file
...
Additionally, declaring the stacks as static.
2014-02-26 18:16:40 +01:00
René Kijewski
03e174ed96
Allow escaped characters in shell
...
Per #708 .
This patch allows escaped characters in the shell, and makes the
apostrophe a quotation mark. The escape character is backslash.
The term "escape character" is used liberally in here: if a backslash is
encountered in the command line, the next character will be taken
verbatim. No escape sequences are understood, i.e. `"\n"` is just the
letter `n`, not a new line.
2014-02-26 18:09:46 +01:00
Christian Mehlis
af87308e2a
Merge pull request #782 from OlegHahm/syscall_gettimeofday
...
sys: vtimer: added gettimeofday syscall
2014-02-26 15:56:53 +01:00
Christian Mehlis
92eaa51f5c
Merge pull request #760 from Kijewski/shell-args
...
shell: Use argc and argv in shell handlers
2014-02-26 15:37:14 +01:00
René Kijewski
a5c0518e0e
Fix _settime_handler
2014-02-26 14:08:54 +01:00
René Kijewski
28c4ef45f7
Do not skip over the null terminator
2014-02-26 13:21:25 +01:00
cc0de63289
Merge pull request #713 from OlegHahm/sched_switch_simplification
...
core: move inISR check into sched_switch
2014-02-25 19:13:41 +01:00
René Kijewski
829966ee32
Print error message on any quoting error
2014-02-25 17:54:17 +01:00
René Kijewski
c507632e50
Use argc and argv in shell handlers
...
Compare #708 .
Now the tokenization of an input line is done by the shell itself. You
may quote arguments with `"..."`. Empty arguments, supplied by `""` are
preserved. Spaces in between arguments are squasheds; spaces inside
quotes are preserved.
You cannot partially quote an argument. You must not use
- `cmd "abc`,
- `cmd abc"def"`, or
- `cmd "abc"def`.
2014-02-25 17:54:17 +01:00
Oleg Hahm
07b0cd8863
added gettimeofday syscall
...
RIOT's gettimeofday needs to be called from syscalls.c to assure that gcc actually links it.
If an RTC if available and enabled it will be used instead.
2014-02-25 17:41:45 +01:00
Christian Mehlis
6414b55512
Merge pull request #714 from OlegHahm/hwtimer_integration
...
core: always build and initialize hwtimer
2014-02-25 11:21:46 +01:00
Christian Mehlis
b1fc8d7846
Merge pull request #776 from OlegHahm/uart0_stack_documentation
...
added documentation of configuring the right debug stack size for uart0 module
2014-02-25 11:12:08 +01:00
Ludwig Ortmann
61df6e05a3
ifdef shell _heap_handler for corresponding module
2014-02-25 10:11:04 +01:00
Ludwig Ortmann
3fd73c60c6
build id shell command only for config module
...
closes #777
2014-02-25 10:11:04 +01:00
Oleg Hahm
32f918abe8
simplified sched_switch
...
sched_switch can check ISR itself.
2014-02-25 09:47:58 +01:00
Oleg Hahm
b26ad476ff
added documentation of configuring the right debug stack size for uart0 module
2014-02-24 22:40:02 +01:00
Oleg Hahm
93e32953b3
always build and initialize hwtimer
...
Eliminates special treatment of the hwtimer module and makes it a
mandatory part of the kernel.
2014-02-24 18:36:28 +01:00
Christian Mehlis
8556403f8f
Merge pull request #680 from benpicco/fix_crash
...
set up message queues for the IP and UDP thread
2014-02-24 15:10:19 +01:00
Christian Mehlis
2de9619f21
Merge pull request #758 from Kijewski/issue-755
...
Fix `pthread_self()` confusion
2014-02-22 18:30:11 +01:00
René Kijewski
ca4337ab4d
Fix pthread_self()
confusion
...
This fixes #755 .
The pthread ID cannot be reused as soon as the thread ends, because
another thread needs to join it first. `pthread_self()` uses the native
(i.e. RIOT's) thread ID to distinguish itself. A native thread ID can be
reused as soon as the thread ends, since the core knows no join
operation.
In order to not confuse itself with an earlier zombie thread (i.e a dead
non-detached thread, that was not joined, yet), we need to invalidate
the associated native thread ID.
This approach is sane since a dead thread won't call `pthread_self()`
anymore.
2014-02-21 17:44:08 +01:00
René Kijewski
cb423c0ac4
Fix linkage of pthread_reaper_stack
2014-02-21 14:03:55 +01:00
Christian Mehlis
3e980184a8
Merge pull request #748 from authmillenon/fix-possible-null-pointer-errors
...
bughunt: Fix possible null pointer dereference
2014-02-20 21:41:50 +01:00
René Kijewski
e55fd19d5c
Fix the makefile of sys/random
...
The Makefile must not overwrite the include paths.
2014-02-20 17:16:57 +01:00
Christian Mehlis
48f23aa43d
Merge pull request #734 from mehlis/native-c++-fixes
...
C++ compiler warnings (native, core)
2014-02-20 10:27:37 +01:00
Martin Lenders
4119e15e6b
Fix possible null pointer dereference
2014-02-20 02:29:33 +01:00
Christian Mehlis
e865022a31
pthread: initial add
2014-02-19 23:39:38 +01:00
Christian Mehlis
a21c8d41e1
ccnl: fix 'no break' warning in switch
2014-02-19 23:23:54 +01:00
Christian Mehlis
87d8e4f99c
enable nonces in interests
2014-02-19 23:23:53 +01:00
Christian Mehlis
9fa0844f3f
added nonce timeout
2014-02-19 23:23:53 +01:00
Martin Lenders
df83221983
Hotfix for error introduced in #678
2014-02-18 22:44:00 +01:00
Christian Mehlis
0309fecc19
fix warning: invalid suffix on literal
...
C++11 requires a space between
literal and identifier [-Wliteral-suffix]
2014-02-18 17:05:01 +01:00
Oleg Hahm
b42496475a
Merge pull request #724 from rousselk/reboot
...
Reboot
2014-02-18 13:33:49 +01:00
Christian Mehlis
6578669e46
Merge pull request #718 from Kijewski/issue-693
...
"Exterminate `} else {`"
2014-02-18 12:42:54 +01:00
Christian Mehlis
cb9c5d00de
repace project by application in documentation
2014-02-18 12:28:32 +01:00
Christian Mehlis
980bd2e7a4
ccnl: fix memory leak on CS error
2014-02-18 12:17:53 +01:00
53347540d1
sys: update ps to reflect thread status variable changes
2014-02-17 12:57:27 +01:00
Kévin Roussel
dc6f920f33
Merge remote-tracking branch 'origin/reboot' into reboot
2014-02-17 12:00:19 +01:00
René Kijewski
2349d0806e
"Exterminate } else {
"
2014-02-16 23:29:47 +01:00
René Kijewski
6dea183eac
Merge pull request #721 from mehlis/fix-avaiable
...
ccnl: fix two typos
2014-02-16 23:14:44 +01:00
Christian Mehlis
fcabb3be2a
ccnl: fix two typos
2014-02-16 23:12:51 +01:00
Christian Mehlis
8897c67677
ccnl: fix ageing timeout
2014-02-16 22:45:32 +01:00
Oleg Hahm
6c0482b976
Merge pull request #701 from Kijewski/issue-672
...
Use `filter` instead of `findstring`
2014-02-16 12:33:29 +01:00
Ludwig Ortmann
47aa7b4bb2
reflect the original intent of the unused ignore_add parameter
2014-02-15 12:58:55 +01:00
Ludwig Ortmann
5ede3a82df
fix ignore_add unused parameter warning
2014-02-15 12:11:47 +01:00
René Kijewski
24defa5289
Merge pull request #572 from Kijewski/quad-math
...
Add quadword math library
2014-02-15 03:55:50 +01:00
0e9c91f696
Merge pull request #704 from mehlis/for-while
...
replace all endless for loops by while
2014-02-14 18:50:00 +01:00
Christian Mehlis
4fd6d73125
Merge pull request #678 from mehlis/shell-no-copy
...
shell: remove useless copying of input string
2014-02-14 18:03:14 +01:00
Christian Mehlis
38529e3296
replace all endless for loops by while
2014-02-14 17:47:33 +01:00
Ludwig Ortmann
523129c1d6
add system calls to the shell
2014-02-14 17:17:25 +01:00
René Kijewski
47e11ddfe3
Split } else {
lines per #693
2014-02-14 14:36:06 +01:00
René Kijewski
102dc45382
Eliminate findstring in more places
2014-02-14 14:30:16 +01:00
René Kijewski
d86509db66
Use filter
instead of findstring
...
See #672
2014-02-14 00:30:34 +01:00
Benjamin Valentin
4068133f3d
also add msg_queue for UDP
...
All other layers in the network stack use a msg_queue to not drop messages, which in this context represent packages.
This finally fixes the random crashes when UDP network traffic is present. Turns out RIOT is not handling lost messages well.
2014-02-13 07:07:46 +01:00
Benjamin Valentin
95d3aae48c
actually use msg_queue in ip.c
...
msg_queue is defined but never used, hook it up so IP packets get queued instead of dropped when there is more than one.
change the name to ip_msg_queue to avoid naming conflicts.
2014-02-13 07:07:07 +01:00
Thomas Eichinger
17b624e0a4
Merge pull request #681 from OlegHahm/at86rf231_fixes
...
at86rf231: fix includes and shell commands
2014-02-12 09:46:13 +01:00
Ludwig Ortmann
2525920426
remove trailing whitespace and newlines
2014-02-11 18:45:06 +01:00
Oleg Hahm
f379eefbd8
fix includes and shell commands for at86rf231
2014-02-11 17:15:03 +01:00
Oleg Hahm
49c6a3af55
Merge pull request #655 from OlegHahm/cc110x_header
...
include cc110x.h instead of deprecated interface.h
2014-02-11 15:47:24 +01:00
René Kijewski
0054d4bb54
Adapt quad lib to RIOT coding conventions
2014-02-11 15:27:51 +01:00
René Kijewski
3dff8ed10c
Add compile time checks to quad.h
2014-02-11 15:24:21 +01:00
René Kijewski
76bbac4c2b
Add quadword math lib
...
GCC implicitly calls functions like __adddi3 to handle arithmetics on
long long.
Copied from http://ftp3.usa.openbsd.org/pub/OpenBSD/src/lib/libc/quad/
which is curtesy of the OpenBSD project (3 clause BSD license).
2014-02-11 15:24:21 +01:00
Oleg Hahm
0e734f5c38
Merge pull request #663 from authmillenon/rm-addr-conv-dep
...
Remove destiny header dependency from net_help
2014-02-11 13:41:21 +01:00
Oleg Hahm
30b6c16512
include cc110x.h instead of deprecated interface.h
2014-02-11 13:36:40 +01:00
Christian Mehlis
bfadc1a18e
Merge pull request #640 from benpicco/fixes
...
newlib doesn't support the z modifier
2014-02-10 20:33:42 +01:00
Christian Mehlis
33239487bf
shell: remove useless copying of input string
2014-02-10 15:41:04 +01:00
Christian Mehlis
14cb81d914
Merge pull request #639 from mehlis/remaining-license
...
added licenses to some files
2014-02-10 10:18:01 +01:00
Benjamin Valentin
2e26bb7214
newlib doesn't support the z modifier
...
on msba2 this will print
Initializing transport layer packages. Size of socket_type: zu
2014-02-08 21:31:13 +01:00
Christian Mehlis
7ccf0e0858
Merge pull request #643 from N8Fear/fix_memleak_ccn-lite-ctrl
...
fix memory leaks in sys/net/ccn_lite/util/ccn-lite-ctrl.c
2014-02-08 12:57:21 +01:00
Christian Mehlis
8076d1c3a6
Merge pull request #647 from benpicco/patch-1
...
proper line breaks in payload debug output
2014-02-08 12:23:28 +01:00
Christian Mehlis
050b714e78
added licenses to some files
2014-02-08 12:20:28 +01:00
Martin Lenders
e5df49dc5e
Remove destiny header dependency from net_help
2014-02-08 00:31:02 +01:00
Ludwig Ortmann
3ba156883b
Merge pull request #278 from LudwigOrtmann/transeiver_command
...
unify tranceiver shell commands
2014-02-07 18:57:19 +01:00
Ludwig Ortmann
7584fd04a4
fix maca get_channel transceiver switch
2014-02-07 18:56:04 +01:00
Ludwig Ortmann
e091c17040
make transceiver get/set address type safe
2014-02-07 18:56:04 +01:00
Ludwig Ortmann
062a5b93f4
replace shell commands for different transceivers with one transceiver command
2014-02-07 18:56:04 +01:00
Oleg Hahm
33ef849197
Merge pull request #632 from benpicco/add_name
...
add name to sysconfig
2014-02-07 18:16:46 +01:00
Oleg Hahm
355f6610d5
Merge pull request #482 from OlegHahm/driver_includes
...
Driver includes
2014-02-07 17:21:45 +01:00
Martin
78874331de
fix changed checking order to avoid possible access violation
2014-02-07 09:06:34 +01:00
benpicco
86b2df0ca6
proper line breaks in payload debug output
...
I guess the idea was to make a new line after every 16 elements, not every element except for every 16th
2014-02-07 09:05:28 +01:00
Hinnerk van Bruinehsen
1722b936b8
fix memory leaks in sys/net/ccn_lite/util/ccn-lite-ctrl.c
2014-02-07 00:15:26 +01:00
Benjamin Valentin
bbe616f167
add name to sysconfig
...
there is still quite some space left on the persistent flash config area, make it possible to give nodes a name (e.g. hostname of the meshrouter) for nicer debugging
2014-02-06 18:13:48 +01:00
Ludwig Ortmann
87a7211e59
remove trailing newlines
2014-02-06 12:29:18 +01:00
Martin Lenders
4e57b54650
Fix types in transceiver.c
2014-02-06 02:32:38 +01:00
Oleg Hahm
70747d8bb4
streamlined driver include pathes
2014-02-05 18:56:47 +01:00
Christian Mehlis
439b0d2ba5
added LGPL header and doxygen headers
2014-02-03 23:21:41 +01:00
Martin Lenders
df598772d3
Fix net_help include path
2014-02-01 20:00:56 +01:00
Ludwig Ortmann
7c7ff25264
fix calc_rtt
...
closes #192
2014-02-01 11:37:35 +01:00
Christian Mehlis
fb81b3cfdb
Merge pull request #591 from authmillenon/author_oliver
...
Add Oliver Gesch as author of his files
2014-01-31 08:05:43 -08:00
Martin Lenders
333a19db03
Add Oliver Gesch as author of his files and license header
2014-01-31 17:01:51 +01:00
Martin Lenders
5001925831
Fix my licensing
2014-01-31 15:00:21 +01:00
Christian Mehlis
d53744e07c
Merge pull request #558 from mehlis/shell-srand
...
shell: added a handler for PRNG
2014-01-30 02:53:19 -08:00
Christian Mehlis
d0680e7bac
shell: added a handler for mersenne twister
2014-01-30 11:52:29 +01:00
Oleg Hahm
1bca52495e
Merge pull request #545 from OlegHahm/problematic_stack_sizes
...
replaced stack sizes in etx_beaconing by variables
2014-01-29 15:01:49 -08:00
Oleg Hahm
9991991f92
replaced stack sizes in etx_beaconing by variables
...
resolves #356
2014-01-29 23:54:30 +01:00
fbcbd7ff1f
Merge pull request #574 from kaspar030/kaspar_email_change_2
...
update Kaspar's email address
2014-01-29 05:39:57 -08:00
Christian Mehlis
257cfa6f96
Merge pull request #565 from Kijewski/shell-mac-nl
...
Allow Mac linebreaks in shell
2014-01-28 09:24:36 -08:00
Christian Mehlis
b598316294
Merge pull request #561 from mehlis/copyright
...
timex.c: add copyright header
2014-01-28 03:47:05 -08:00
56ee585c81
update Kaspar's email address
...
kaspar.schleiser@fu-berlin.de is obsolete.
(2nd try, first try was overwritten by some overzealous documenter)
2014-01-28 11:53:19 +01:00
Christian Mehlis
97133b9dfb
use one consistent mail address in all places
2014-01-27 20:46:45 +01:00
René Kijewski
891245cf60
Allow Mac linebreaks in shell
...
QEMU uses Mac style newlines in its UART implementation.
This change allows Unix ("\n"), DOS ("\r\n") and Mac ("\r") style
linebreaks.
2014-01-27 19:25:03 +01:00
Christian Mehlis
5fe1a78685
Merge pull request #551 from mehlis/vtimer-mutex
...
use mutex in vtimer_sleep
2014-01-27 05:38:06 -08:00
Christian Mehlis
106b36e201
timex.c: add copyright header
2014-01-24 19:54:56 +01:00
Oleg Hahm
5ef2b04dd0
Merge pull request #562 from mehlis/author-spelling
...
spelling: fix autor to author
2014-01-24 10:16:57 -08:00
Christian Mehlis
96d0eafc1a
spelling: fix autor to author
2014-01-24 19:04:28 +01:00
Oleg Hahm
b060c23cd9
Merge pull request #536 from authmillenon/cc2420-remove-globals
...
Uncircumvent radio chip's status for IEEE 802.15.4 hardware
2014-01-24 08:18:14 -08:00
Oleg Hahm
8f738930c0
Merge pull request #556 from mehlis/remove-math
...
math.h: remove unneeded math.h includes
2014-01-24 07:12:32 -08:00
Christian Mehlis
f2f36f8179
math.h: remove unneeded math.h includes
2014-01-24 15:41:30 +01:00
Martin Lenders
eeee32363e
Fix errors in at86RF231 driver
2014-01-24 13:15:35 +01:00
Christian Mehlis
cb0bb80d0c
ccnl: dynamic memory - client module
2014-01-23 15:30:43 +01:00
Christian Mehlis
607a5f27c3
ccnl: dynamic memory - control module
2014-01-23 15:30:43 +01:00
Christian Mehlis
2ae4755469
ccnl: dynamic memory - appserver module
2014-01-23 15:30:43 +01:00
Christian Mehlis
5f10d44009
use mutex in vtimer_sleep
...
this change prevents a race condition in case of
short sleep time
Fixes: https://github.com/RIOT-OS/RIOT/issues/550
2014-01-23 15:20:43 +01:00
Oleg Hahm
0409d4b3a1
Merge pull request #521 from OlegHahm/fix_includes_for_msp430
...
Fix includes for msp430
2014-01-21 04:49:06 -08:00
Christian Mehlis
fa87339083
ccnl: adapt doc to current code
2014-01-21 11:40:58 +01:00
Oleg Hahm
638bb4ce51
Merge pull request #516 from mehlis/rpl-fixes
...
first set of rpl demo related fixes
2014-01-21 02:28:41 -08:00
Christian Mehlis
348971e4db
trickle: replace call to pow (base of 2)
2014-01-20 16:43:01 +01:00
Oleg Hahm
90f977e7e2
making socket.h MSP430 ready
2014-01-20 14:21:22 +01:00
Oleg Hahm
caf1433389
changed condition in fd.c to check for MCU instead of checking for the board
2014-01-20 14:05:21 +01:00
Oleg Hahm
690c4564f2
include "cpu.h" for MSP430 platforms in fd.h
2014-01-20 13:48:37 +01:00
Ludwig Ortmann
9cd5b4f30d
fix stack_size comment in ps.c
2014-01-20 10:54:14 +01:00
Ludwig Ortmann
bcbe6bf5c8
thread_measure_stack_ usage -> free
...
Rename the function as its name suggests the opposite of what it does.
2014-01-20 10:46:20 +01:00
Christian Mehlis
5c3381b70a
tcp_timer: fix 'remove without use' behavior
2014-01-18 01:20:40 +01:00
Christian Mehlis
860b499fb6
lowpan: fix wrong printf usage
2014-01-18 01:18:37 +01:00
Christian Mehlis
8539517c11
icmp: fix warning of unused parameter
2014-01-18 01:17:31 +01:00
Christian Mehlis
a4f1dc464a
demo: fix printf handling
2014-01-18 01:15:29 +01:00
Christian Mehlis
b6734ce2cb
socket: fix warning of void pointer arithmetic
2014-01-18 01:12:38 +01:00
Martin Lenders
4333467e02
Add auxilary headers
2014-01-17 14:40:57 +01:00
Martin Lenders
419225753c
Wrap RIOT socket API
2014-01-17 14:40:57 +01:00
Martin Lenders
96489b85c6
Define stdin, stdout and stderr
2014-01-17 14:40:57 +01:00
Martin Lenders
ab654573e5
Implementation of close()
2014-01-17 14:40:57 +01:00
Martin Lenders
abe65b09bb
Implement file descriptor table
...
Needed for pnet
2014-01-17 14:40:57 +01:00
Martin Lenders
f9ae76fa4b
Start POSIX net [pnet] module
2014-01-17 14:40:57 +01:00
Martin Lenders
2cf0d02c5e
Auto init destiny
2014-01-17 14:40:56 +01:00
Oleg Hahm
420dc8953b
Merge pull request #504 from mehlis/ipv6-send-return-value
...
ipv6_sendto: return the success
2014-01-16 08:04:00 -08:00
Oleg Hahm
ed8a220cd0
Merge pull request #442 from mehlis/vtimer_get_localtime
...
Vtimer get localtime
2014-01-15 09:19:06 -08:00
Oleg Hahm
01d62a52bc
Merge pull request #430 from mehlis/vtimer-now-fix
...
fix: vtimer_now should return seconds and microseconds
2014-01-15 09:10:29 -08:00
Oleg Hahm
3bf55a227d
Merge pull request #457 from mehlis/vtimer-now-followup
...
fix usage of vtimer_now
2014-01-15 08:51:53 -08:00
Christian Mehlis
8cfab9d014
ipv6_sendto: return the success
2014-01-14 07:29:28 +01:00
Christian Mehlis
b157304481
ccnl: added 'content is dup' debug message
2014-01-11 18:28:32 +01:00
Christian Mehlis
2e1b0b513e
ccnl: data is not a string
2014-01-11 18:18:25 +01:00
Oleg Hahm
a4f4dee028
Merge pull request #456 from mehlis/fix-ping
...
Fix ping
2014-01-09 13:43:47 -08:00
Christian Mehlis
c26a3c0e41
Merge pull request #483 from mehlis/master
...
fix some findings by the static analyser
2014-01-09 13:30:45 -08:00
Oleg Hahm
70c59c3f4b
size of msg_queue must be power of two
2014-01-09 18:19:57 +01:00
Christian Mehlis
93ddf37d81
added timex_isnormalized
2014-01-09 16:36:40 +01:00
Christian Mehlis
a19ff87d21
socket.c: fix usage of timex_t
2014-01-09 16:36:40 +01:00
Christian Mehlis
e28481b1b1
tcp_timer.c: fix usage of timex_t
2014-01-09 16:36:40 +01:00
Christian Mehlis
0934d10e4b
destiny.c: fix usage of timex_t
2014-01-09 16:36:40 +01:00
Christian Mehlis
31849f0771
lowpan.c: fix usage of timex_t
2014-01-09 16:36:40 +01:00
Christian Mehlis
aa159fa4fe
flowcontrol.c: fix usage of timex_t
2014-01-09 16:36:40 +01:00
Christian Mehlis
5a6e16cfc3
added timex_uint64 function
2014-01-09 16:36:40 +01:00
Christian Mehlis
8bcb099384
fix some findings by the static analyser
2014-01-08 17:01:22 +01:00
Christian Mehlis
a59bc0d265
added missing include
2014-01-07 23:23:57 +01:00
Christian Mehlis
9d2fac1e59
removed useless include
2014-01-07 23:23:45 +01:00
Oleg Hahm
48a53373a6
repaired includes for ccn_lite
2014-01-05 16:11:08 +01:00
Oleg Hahm
775c0dee5c
added missing mute prefixes in nativenet and shell
2014-01-05 16:11:08 +01:00
Oleg Hahm
9df07f9238
muting compiler and binutils optionally
...
Instead of muting all compiler and other binutils output by default,
introduce a variable to make this behaviour configurable.
2014-01-05 16:11:08 +01:00
Oleg Hahm
02612ff0ca
further Makefile cleanup
2014-01-05 16:11:08 +01:00
Oleg Hahm
c7d985d371
removed redundant include pathes from Makefiles
2014-01-05 16:11:08 +01:00
Oleg Hahm
593ee623b6
simplify and unify include pathes
...
additional:
* exporting include path in sys is mandatory for subfolders
* removed duplicate object file in linker call
2014-01-05 16:11:07 +01:00
Oleg Hahm
8d157130ae
move include directives from header to C file
2014-01-05 16:11:07 +01:00
Oleg Hahm
e6b354db5d
mute build tools (to be consistent with the rest of the build system)
2014-01-05 16:11:07 +01:00
Christian Mehlis
3d67ad3a8a
add vtimer_get_localtime
2013-12-23 23:36:03 +01:00
Ludwig Ortmann
c04b7fa8be
add debug information to chardev_loop
2013-12-23 18:21:10 +01:00
Christian Mehlis
0435946e33
fix: 1s = 1000*1000us
2013-12-22 20:21:36 +01:00
Christian Mehlis
f73314c34b
added missing us to ticks macro
2013-12-22 20:21:36 +01:00
Ludwig Ortmann
c1c6287ef7
fix nativenet shell comamnd printf
2013-12-21 16:58:51 +01:00
Christian Mehlis
04bedb8a62
Merge pull request #462 from OlegHahm/endianness
...
check for __BIG_ENDIAN__ rather than for __BYTE_ORDER__ and include board.h
2013-12-21 03:51:08 -08:00
Christian Mehlis
e0f3c73d14
fix include of crypto
2013-12-20 18:43:43 +01:00
Oleg Hahm
9f10d7dffc
check for __BIG_ENDIAN__ rather than for __BYTE_ORDER__ and include board.h
2013-12-20 16:43:53 +01:00
Oleg Hahm
d610e43528
Merge pull request #453 from authmillenon/fix_uart_shell_conflict
...
Fix uart/shell conflict
2013-12-20 02:51:59 -08:00
Martin Lenders
68f7b9090e
Make shell buffer size a shell property
2013-12-20 11:10:50 +01:00
Martin Lenders
04b9d7a158
Fix coding conventions in uart0.c
2013-12-20 11:10:50 +01:00
Martin Lenders
69809928d3
Make UART0_BUFSIZE configurable by CPU
2013-12-20 11:10:42 +01:00
Oleg Hahm
7642dd0f1d
moved net_help into crosslayer subfolder
2013-12-19 19:13:26 +01:00
Oleg Hahm
59e55c354c
moved sixlowpan into network_layer subfolder
2013-12-19 19:13:26 +01:00
Oleg Hahm
2f20e9db51
moved protocol-multiplex into link_layer subfolder
2013-12-19 19:13:26 +01:00
Oleg Hahm
38be829901
moved ieee802154 into link_layer subfolder
2013-12-19 19:13:26 +01:00
Oleg Hahm
acd304e1cc
moved RPL into routing subfolder
2013-12-19 19:13:26 +01:00
Oleg Hahm
a7d3092a4e
moved destiny into transport_layer subfolder
2013-12-19 19:13:26 +01:00
Oleg Hahm
885798aaca
Merge pull request #391 from haukepetersen/import_crypto
...
Initial import of crypto libs from SecureMicroMeshRouting
2013-12-19 10:10:37 -08:00
Ludwig Ortmann
b674183e15
move display and lcd init from autoinit to chronos
2013-12-19 17:57:18 +01:00
Oleg Hahm
cdb77c2392
Merge pull request #437 from OlegHahm/include_directives
...
making include directives consistent
2013-12-19 08:38:14 -08:00
Christian Mehlis
63296b759b
resort function call and debug output
2013-12-19 16:24:41 +01:00
Christian Mehlis
966c98d11b
added comments and debug
2013-12-19 16:24:41 +01:00
Christian Mehlis
cd016e0334
fix: vtimer_now should return seconds and microseconds
2013-12-19 15:37:55 +01:00
Oleg Hahm
903ec54a43
making include directives consistent
2013-12-19 15:31:37 +01:00
Hauke Petersen
e866640646
Removed some redundant \0 string terminators
2013-12-19 13:33:06 +01:00
Hauke Petersen
6140caf055
Removed deprecated asserts from 3des and aes
2013-12-19 13:33:06 +01:00
Hauke Petersen
05419a5547
Initial import of crypto libs from SecureMicroMesh
...
- Imported files from secure micro mesh library
- added Makefiles and included libs into sys/Makefile
2013-12-19 13:33:06 +01:00
Christian Mehlis
2a9aac7f0b
Merge pull request #423 from OlegHahm/fix_warnings
...
Fix warnings
2013-12-18 12:02:37 -08:00
Christian Mehlis
25e22f7ac1
fix memory leak introduced in 4ee51d
2013-12-18 19:50:04 +01:00
Christian Mehlis
84258fa112
implement NACK for local requesters
2013-12-18 19:33:33 +01:00
Christian Mehlis
429b97c45b
clean up ccnls main loop
2013-12-18 19:33:33 +01:00
Christian Mehlis
72eec00f62
timeout interest
2013-12-18 19:33:33 +01:00
Christian Mehlis
9b1b472a2a
moved ccnl include folder in net/include
2013-12-18 19:33:33 +01:00
Christian Mehlis
51daa16018
get rid of not working defines
2013-12-18 19:33:33 +01:00
Christian Mehlis
ff9f557e21
clean up ccnl_get_face_or_create
2013-12-18 19:33:33 +01:00
Christian Mehlis
32e0ce5b12
fix local address detection
2013-12-18 19:33:33 +01:00
Christian Mehlis
3768d43d15
fix broadcast identifier
2013-12-18 19:33:33 +01:00
Christian Mehlis
0a803a97dd
implement packet statistics
2013-12-18 19:33:33 +01:00
Christian Mehlis
dc727b43a7
make interest retransmit timeout configurable
2013-12-18 19:33:33 +01:00
Christian Mehlis
79c79870e6
implement hwtimer based timeout
2013-12-18 19:33:33 +01:00
Christian Mehlis
2f7fd0b35c
convert all time related datastructure to struct timeval
2013-12-18 19:33:33 +01:00
Christian Mehlis
af8e36b3e0
implement dynamic forward entries
2013-12-18 19:33:33 +01:00
Oleg Hahm
2cdfc5b585
Merge pull request #382 from OlegHahm/transceiver_return
...
transceiver return signed values for sending
2013-12-18 09:33:32 -08:00
Oleg Hahm
d87d827d88
transceiver return signed values for sending
...
negative values indicate an error value
2013-12-18 18:22:59 +01:00
Martin Lenders
41da8481dd
Merge pull request #421 from OlegHahm/revert_tcp_optional
...
Revert tcp optional
2013-12-17 05:45:30 -08:00
Oleg Hahm
8d45202421
add documentation for auto_init ( fixes #43 )
2013-12-16 15:16:08 +01:00
Hauke Petersen
2df82017a8
Fixed doxygen inconsistensies in sys
2013-12-16 15:09:18 +01:00
Hauke Petersen
edcabf7cb6
Fixed a lot of comments by removing tabs and correcting format.
2013-12-16 14:00:33 +01:00
Hauke Petersen
3785fe956b
Fixed doxygen comments, focused on file headers and group definitions
2013-12-16 14:00:24 +01:00
Christian Mehlis
169c6fac95
fix printf macro
2013-12-13 21:42:08 +01:00
Oleg Hahm
02e553a534
fixed some warnings
2013-12-13 19:31:47 +01:00
Oleg Hahm
6b7c88ce1b
fixed signedness and size of some data types in sixlowpan
2013-12-13 19:17:30 +01:00
Oleg Hahm
1cadf58ec8
pass border router flag to initialization function
2013-12-13 18:56:42 +01:00
Oleg Hahm
3f983db20a
make compilation of sc_heap module dependent
2013-12-13 18:49:19 +01:00
Oleg Hahm
eb26edb794
moved definition of tcp_timer_stack to the correct file
2013-12-13 18:44:48 +01:00
Oleg Hahm
38e87aaa1c
Revert "make TCP in destiny optional"
...
This reverts commit 6955a2f791
. Though the
general idea makes sense, the implementation should be done in a more
elaborated way.
2013-12-13 18:37:54 +01:00
Oleg Hahm
9ee8bb2b18
Revert "pointer handling in lowpan notifier was wrong"
...
This reverts commit 5ccf653164
.
2013-12-11 15:50:10 +01:00
Oleg Hahm
7f0d71a418
Merge pull request #363 from OlegHahm/msg_fix_notifier
...
fixed lowpan and ipv6 notifier
2013-12-11 06:27:40 -08:00
Christian Mehlis
f11071cdd8
Merge pull request #402 from mehlis/vtimer-msg-receive-timeout
...
added vtimer_msg_receive_timeout
2013-12-09 13:16:29 -08:00
Christian Mehlis
0cb152c423
added vtimer_msg_receive_timeout
2013-12-09 22:14:59 +01:00
Oleg Hahm
2f5530083b
Merge pull request #350 from OlegHahm/ipv6_csum
...
IPv6 Upper-Layer Checksums
2013-12-08 16:11:26 -08:00
0d30ea3d8b
Merge pull request #398 from kaspar030/change_email
...
change my email address
2013-12-05 04:15:03 -08:00
f1b060c055
Merge pull request #374 from LudwigOrtmann/vtimer_fix_longterm
...
fix the bloody longterm vtimer bug
2013-12-04 08:34:04 -08:00
f85adf608f
change my email address
...
kaspar.schleiser@fu-berlin.de will be obsoleted soon. Replace it with
kaspar@schleiser.de , which will (hopefully) stay.
2013-12-04 15:09:56 +01:00
Oleg Hahm
d0e6eb89a9
Merge pull request #347 from OlegHahm/destiny_fixes
...
UDP reception, stack sizes and typos
2013-12-04 02:29:08 -08:00
Christian Mehlis
c6073762fa
fixed warnings in vtimer
2013-12-04 10:59:13 +01:00
Ludwig Ortmann
92f4aa32c9
fix grammar in license header
2013-12-04 10:59:13 +01:00
Ludwig Ortmann
1c8e9a4ef5
add license header
2013-12-04 10:59:12 +01:00
Ludwig Ortmann
4cb63ee2c5
fix the bloody longterm vtimer bug
...
You know who you are, I'm looking at you!
2013-12-04 10:59:12 +01:00
Oleg Hahm
6f7992dd12
Merge pull request #383 from OlegHahm/rpl_fixes
...
Small RPL fixes
2013-12-04 01:24:18 -08:00
Christian Mehlis
359001e170
Merge pull request #384 from OlegHahm/sixlowpan_fixes
...
printf is used in sixlowpan mac layer, stack needs to be adjusted
2013-12-03 08:59:02 -08:00
LudwigOrtmann
1442170d41
Merge pull request #300 from kaspar030/shell_refactor
...
shell: refactor default shell command handling
2013-12-03 04:44:59 -08:00
Christian Mehlis
00956e9ba5
Merge pull request #351 from OlegHahm/tcp_optional
...
make TCP in destiny optional
2013-12-03 02:19:44 -08:00
6634c56830
shell: fix compile warning and add some comments
2013-12-02 17:36:58 +01:00
Christian Mehlis
afc6325305
fix function declaration isn't a prototype
2013-11-29 21:56:27 +01:00
Christian Mehlis
25f6d7f1db
enable timeout events
2013-11-29 21:47:09 +01:00
Christian Mehlis
b74ee26941
fix: remove oldest dynamic entry in content store
2013-11-29 21:47:09 +01:00
Christian Mehlis
229a131924
make max_cache_entries a parameter
2013-11-29 21:47:08 +01:00
Christian Mehlis
b675629a42
tune CCNL_RIOT_CHUNK_SIZE
...
this constant is used for two test cases:
1. populate + interest /riot/text
-> static content has this=90 bytes size
2. appserver + interest /riot/appserver/test
-> dynamic content is created with exact
CCNL_RIOT_CHUNK_SIZE bytes
-> CCNL_RIOT_CHUNK_SIZE can be any value the
transceiver can handle
2013-11-29 21:47:08 +01:00
Christian Mehlis
4ee51da5dd
get rid of static buffer
...
this buffer was used for two types of outgoing packets:
1. local msg
- msg can be big, there is is no apriori boundary -> use dynamic
memory instead
2. transceiver msg
- no need to copy msg in this buffer -> transceiver send is blocking
2013-11-29 21:47:08 +01:00
Oleg Hahm
8d9d43fa8c
Merge pull request #361 from LudwigOrtmann/rpl_find_preferred_parent
...
fix rpl_find_preferred_parent
2013-11-27 16:33:16 -08:00
Oleg Hahm
9817043ada
Merge pull request #375 from LudwigOrtmann/license_header_fix
...
fix grammar in license header
2013-11-26 10:55:41 -08:00
Oleg Hahm
1d4ea91b82
Merge pull request #366 from OlegHahm/rpl_debug
...
tiny debug improvement for RPL
2013-11-26 10:51:48 -08:00
Oleg Hahm
24314a2167
Merge pull request #358 from OlegHahm/fix_warnings
...
Fix warnings
2013-11-25 17:10:55 -08:00
Oleg Hahm
3aaa340a8e
Merge pull request #353 from OlegHahm/rpl_send
...
removed superfluous parameter in rpl_send()
2013-11-25 17:09:54 -08:00
Oleg Hahm
899c3681a7
check for transceiver module before auto_initializing cc1100 driver
2013-11-25 18:56:01 +01:00
Oleg Hahm
3a05de1ed9
check if preferred parent was set before comparing
2013-11-25 18:51:47 +01:00
Oleg Hahm
cf9309029c
remove vtimer object before (re)scheduling it
2013-11-25 18:47:58 +01:00
Oleg Hahm
f00432805d
use local packet_length variable in sendto
...
Having a global packet_length variable doesn't seem to be the best
idea. To avoid trouble, a scope local variable should be preferred.
2013-11-25 18:46:57 +01:00
Oleg Hahm
0eb3ca5ef1
printf is used in sixlowpan mac layer, stack needs to be adjusted
2013-11-25 18:44:36 +01:00
Oleg Hahm
de2b71221f
initializes RPL instances
2013-11-25 18:41:23 +01:00
Oleg Hahm
fce4f556a8
set received parent lifetime when creating a new parent
2013-11-25 18:38:28 +01:00
Oleg Hahm
28624aa37b
another NTOHS was missing...
2013-11-25 18:00:11 +01:00
Oleg Hahm
60880821fa
Merge pull request #342 from OlegHahm/transceiver_ignore
...
added a transceiver independent ignore function
2013-11-25 08:58:42 -08:00
Oleg Hahm
5ccf653164
pointer handling in lowpan notifier was wrong
2013-11-25 17:54:41 +01:00
Oleg Hahm
160c3f1794
notify registered threads about _all_ received IP packets
...
(Before notifications were only sent for IP packets that were not
forwarded.)
2013-11-25 17:53:13 +01:00
Ludwig Ortmann
d6c213fb47
fix grammar in license header
2013-11-23 13:11:56 +01:00
Ludwig Ortmann
336449d8bb
fix rpl_find_preferred_parent
2013-11-23 11:25:55 +01:00
LudwigOrtmann
c383ec4600
Merge pull request #359 from LudwigOrtmann/recv_rpl_dio
...
fix recv_rpl_dio, missing return, refactor
2013-11-23 02:05:29 -08:00
Ludwig Ortmann
6939d6f07b
unbrick send_DAO by checking my_dodag
2013-11-23 10:55:12 +01:00
Oleg Hahm
7c979751e5
Merge pull request #368 from mehlis/findings
...
(non critical) findings
2013-11-22 18:52:13 -08:00
Oleg Hahm
0e9b6cc1a9
Merge pull request #371 from OlegHahm/rpl_null_pointer
...
RPL null pointer handling
2013-11-22 18:47:39 -08:00
Oleg Hahm
9b5bf95924
removed unused len parameter for borderrouter demultiplex()
2013-11-23 03:45:32 +01:00
Oleg Hahm
59483627d0
removed unused parameter of internal get_udp_socket()
2013-11-23 03:45:32 +01:00
Oleg Hahm
1f50d91332
making the pedantic gcc happy
2013-11-23 03:45:26 +01:00
Oleg Hahm
2aa6bcdab4
filled up IPv6 netmask correctly
2013-11-23 03:40:07 +01:00
Oleg Hahm
e4b1771276
added a transceiver independent ignore function
2013-11-23 03:33:40 +01:00
Oleg Hahm
7c95a1d44c
debug output when joining a dodag
2013-11-23 00:06:09 +01:00
Oleg Hahm
b129838dc4
remove all vtimers before (re)scheduliing it
2013-11-22 14:34:34 +01:00
Ludwig Ortmann
aca74989a5
explain loop in transceiver_register
2013-11-22 12:31:37 +01:00
Ludwig Ortmann
7c7cab554e
fix recv_rpl_dio, missing return, refactor
2013-11-22 10:56:13 +01:00
Oleg Hahm
d48b3fc2d1
provide a default next hop (preferred parent)
2013-11-22 02:31:08 +01:00
Oleg Hahm
f52e954916
catch some null pointers in RPL
2013-11-22 02:11:27 +01:00
Ludwig Ortmann
2c52c0a79d
fix table header indentation
2013-11-21 22:09:42 +01:00
Christian Mehlis
ffdeb41b4d
fix debug output
2013-11-21 21:38:02 +01:00
Oleg Hahm
4e5b60e403
make use of the IPv6 upper-layer checksum calculation
2013-11-21 21:16:26 +01:00
Oleg Hahm
aaccd37a2f
calculate RPL checksum right before sending the ICMP packet
2013-11-21 21:16:25 +01:00
Oleg Hahm
cce3432220
added IPv6 upper-layer checksum calculation
2013-11-21 21:16:21 +01:00
Oleg Hahm
c16a3ed511
tiny debug improvement for RPL
2013-11-21 20:47:44 +01:00
Oleg Hahm
079d654104
set message type for lowpan and ipv6 notifier
2013-11-21 20:21:55 +01:00
Oleg Hahm
5a2f7264f8
use a meaningful stacksize define
2013-11-21 00:21:26 +01:00
Oleg Hahm
9230fa0550
informational output as debug
2013-11-21 00:21:01 +01:00
Oleg Hahm
49ff2ae393
dao_counter wasn't initialized
2013-11-21 00:19:56 +01:00
Oleg Hahm
a11d546663
removed superfluous parameter in rpl_send()
2013-11-21 00:13:59 +01:00
Oleg Hahm
479443eae0
moved stack from header to C file
2013-11-21 00:06:49 +01:00
Oleg Hahm
561531f64c
fix copy&paste typo
2013-11-21 00:04:41 +01:00
Oleg Hahm
f7da9e7b47
udp_packet_handler uses printf, stack must be bigger
2013-11-21 00:00:29 +01:00
Oleg Hahm
6955a2f791
make TCP in destiny optional
2013-11-20 23:54:51 +01:00
Oleg Hahm
9c28b3f5a2
declared some verbose output as debug
2013-11-20 19:14:13 +01:00
Oleg Hahm
b3162f86e7
convert into host byte order in UDP reception
2013-11-20 15:14:34 +01:00
Oleg Hahm
74f93c4992
additional debug output in lowpan and transceiver
...
* debug for lowpan_sendto()
* print destination address for all transceivers
2013-11-20 10:46:43 +01:00
Oleg Hahm
05eb5a8ba6
use correct length for UDP checksum calculation
2013-11-20 02:22:50 +01:00
Oleg Hahm
6804164a35
Merge pull request #341 from OlegHahm/rpl_fixes
...
made stacks for RPL threads static and using pre-defined sizes
2013-11-19 13:57:20 -08:00
Oleg Hahm
279a11cde7
Merge pull request #307 from OlegHahm/ieee802154_frame_recv
...
fixed byte order in reception of IEEE802.15.4 frames
2013-11-19 12:26:03 -08:00
Oleg Hahm
5cfd0aa60e
made stacks for RPL threads static and using pre-defined sizes
2013-11-19 21:23:52 +01:00
Oleg Hahm
5c039eb4b6
Merge pull request #340 from LudwigOrtmann/ps_includes
...
make ps includes adhere to coding convetions
2013-11-19 08:48:49 -08:00
Ludwig Ortmann
96fe3a16ee
make ps includes adhere to coding convetions
2013-11-18 18:00:35 +01:00
Ludwig Ortmann
d06e0d8717
rename runtime to reflect the unit of measurement
2013-11-18 12:14:43 +01:00
Ludwig Ortmann
18fad22e30
make chardev_thread includes adhere to coding conventions
2013-11-14 15:08:32 +01:00
Oleg Hahm
2532dda859
Merge pull request #241 from mehlis/shell
...
shell: don't use malloc on each line
2013-11-14 05:44:43 -08:00
Oleg Hahm
cc45909ffc
Merge pull request #236 from OlegHahm/telosb
...
Telosb
2013-11-14 01:55:47 -08:00
Oleg Hahm
19f4f45445
added some debug output for the network stack
2013-11-14 10:46:21 +01:00
Christian Mehlis
84e73ae324
clean up shell
2013-11-14 10:45:24 +01:00
Christian Mehlis
bb85cb33d9
shell: dont't use malloc on each line
2013-11-14 10:45:24 +01:00
Christian Mehlis
97482a0227
Merge pull request #297 from OlegHahm/debug_fixes
...
fixed debug output for ps and vtimer
2013-11-14 01:18:51 -08:00
Oleg Hahm
6377022ab3
doxygen improvements for ccn_lite
2013-11-06 18:51:59 -08:00
Oleg Hahm
3b94bef32a
Merge pull request #282 from authmillenon/net_module_refactor
...
Refactor net module to one include directory
2013-11-06 18:26:31 -08:00
Oleg Hahm
18d2dc1c59
Merge pull request #287 from mehlis/ccn-lite-to-upstream
...
import ccn lite
2013-11-06 15:41:14 -08:00
Christian Mehlis
8ae7750263
import ccn lite
2013-11-07 00:37:38 +01:00
Oleg Hahm
1117867eaf
Merge pull request #231 from thomaseichinger/maca_move
...
move mc1322x MACA implementation from the boards to RIOT repo
2013-11-06 14:21:58 -08:00
Oleg Hahm
726db0518c
added stddef include to strings.h for size_t
2013-11-06 11:42:33 -08:00
Martin Lenders
d47907ed1a
Refactor net module to one include directory
2013-11-06 13:04:23 +01:00
Oleg Hahm
a7a97e92c3
fixed byte order in reception of IEEE802.15.4 frames according to the fixed sending in f6c37b0b4f
2013-11-05 17:46:16 -08:00
Oleg Hahm
c41fe46b54
Merge pull request #290 from authmillenon/posix_strings_header
...
Add POSIX compatible case insensitive compare
2013-11-04 14:07:45 -08:00
Oleg Hahm
5fea3af233
Merge pull request #294 from authmillenon/rewrite_bitarithm
...
Use GCC/Clang builtins for bit arithmetics
2013-11-04 12:08:02 -08:00
Oleg Hahm
9fd82e9d01
Merge pull request #302 from OlegHahm/radio_stack_size
...
increased stack size for mac layer packet handling
2013-11-04 11:57:34 -08:00
Oleg Hahm
a4ff881a27
Merge pull request #274 from benpicco/routing
...
[RFC] allow applications to register a function to provide routing information
2013-11-04 11:54:26 -08:00
Oleg Hahm
d687d82827
increased stack size for mac layer packet handling
2013-11-04 09:27:53 -08:00
3be2a3227a
shell: refactor default shell command handling
...
before, we actually duplicated code for handling of shell commands
supplied to shell_init and those hardcoded by MODULE_SHELL_COMMANDS.
This patch refactors shell.c find_handler and print_help so there's
no duplicated code.
2013-11-04 17:06:50 +01:00
Martin Lenders
9f9a48db9f
Minor documentation fixes
2013-11-04 13:29:22 +01:00
Martin Lenders
a9bbcb0868
Fix sixlowpan/icmp.h
...
size_t in function definition needs stddef.h include
2013-11-04 11:08:37 +01:00
Oleg Hahm
2f14997124
fixed debug output for ps and vtimer
2013-11-03 07:30:41 -08:00
authmillenon
18e97f6dd5
Use GCC/Clang builtins for bit arithmetics
2013-11-03 15:14:28 +01:00
Martin Lenders
af578b6497
Add POSIX compatible case insensitive compare
2013-11-03 15:04:04 +01:00
Martin Lenders
05ececa079
Merge pull request #259 from OlegHahm/ieee802154_frame_byteorder
...
fixed byte order in network stack
2013-11-03 05:40:03 -08:00
Christian Mehlis
6a317cdd1a
add radio_packet_length_t
2013-10-29 20:36:12 +01:00
Oleg Hahm
a3854fd933
Merge pull request #286 from OlegHahm/shell_commands_Makefile
...
make shell commands Makefile coherent
2013-10-29 12:32:00 -07:00
Oleg Hahm
cc3301b45f
Merge pull request #285 from hper/rpl_fixes
...
fixed length for DAO ACK
2013-10-29 12:30:17 -07:00
Oleg Hahm
932b967bd7
Merge pull request #273 from LudwigOrtmann/uart0_cleanup
...
Uart0 cleanup
2013-10-29 12:30:04 -07:00
Oleg Hahm
7d02eb3a44
Merge pull request #280 from LudwigOrtmann/auto_init_imports
...
clean up auto_init imports
2013-10-29 10:26:49 -07:00
Oleg Hahm
1b4a9a336f
Merge pull request #263 from OlegHahm/sixlowpan_fixes
...
sixlowpan address initialization
2013-10-29 02:49:39 -07:00
Oleg Hahm
94454f455d
use Makefile.base for shell_commands
2013-10-29 10:48:24 +01:00
Heiner
ca0fe0153f
fixed length for DAO ACK
2013-10-29 09:41:30 +01:00
Oleg Hahm
95bd2e6b8a
fixed sixlowpan address initialization
...
* prevent that IPv6 address gets overwritten when configuring as adhoc router
* additional debug information about assigned IPv6 addresses
2013-10-29 00:01:37 +01:00
Oleg Hahm
0ad9d82d8b
Merge pull request #218 from mehlis/semaphore
...
posix: add semaphore
2013-10-28 15:13:08 -07:00
Ludwig Ortmann
4a1005c6a1
clean up auto_init includes
...
Include headers only if respective module is built.
Fixes building for msb-430.
Prevents possible build breaks in the future.
2013-10-28 17:55:23 +01:00
Ludwig Ortmann
fab4cef747
remove race condition for good
2013-10-28 17:55:02 +01:00
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
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
Martin Lenders
f537e19b26
Move L4 packet headers to destiny/types.h
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
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
Ludwig Ortmann
d708686a49
fix malloc include for OSX
2013-10-18 14:22:06 +02:00
Oleg Hahm
269171a99f
Merge pull request #238 from mehlis/debug-guard
...
Debug: guard some code
2013-10-16 06:43:28 -07:00
Oleg Hahm
c142b40a5b
network stack related includes
2013-10-16 15:24:41 +02:00
Martin
b7bd836fe5
fixup changed DEFAULT_OCP to 0 (of0)
2013-10-15 15:51:01 +02:00
Martin
957f15cbdf
fixup changed RPL_ROOT_RANK to 256
2013-10-15 15:51:01 +02:00
Martin
a03e9f8ed4
fixup added missing initializer brackets
2013-10-15 15:51:01 +02:00
Oleg Hahm
e8ceaeeb79
fixed includes and some data types for RPL
2013-10-15 15:50:54 +02:00
Christian Mehlis
9c70e4501c
only include debug functions if needed
2013-10-11 14:21:47 +02:00
Christian Mehlis
9fecec8f57
fix debug handling
2013-10-11 14:21:47 +02:00
Oleg Hahm
031e335e24
Merge pull request #97 from OlegHahm/makefile_windows_fixes
...
merged zkasmi/makefile_fixes to makefile_windows_fixes
2013-10-10 09:25:03 -07:00
Oleg Hahm
46deefe0f8
make Makefiles proof for spaces in $PATH
2013-10-09 15:28:53 +02:00
Kévin Roussel
d2535f3841
Added missing definition of 'PRIu32' in some RIOT include files
...
to avoid a bug in mspgcc's standard library
2013-10-09 15:10:22 +02:00
Martin
c37dce2d31
fixup payload offset calculation for fragmented packets
2013-10-07 16:07:20 +02:00
Thomas Eichinger
7abda31b0f
move mc1322x MACA implementation from the boards repo to RIOT repo
2013-10-04 14:20:51 +02:00
Christian Mehlis
05acbe0419
Merge pull request #220 from OlegHahm/sixlowerror_relabeling
...
renamed SUCCESS constant in sixlowerror
2013-10-02 08:43:23 -07:00
Martin Lenders
038e03ad3e
Enforce naming convention for ieee802154
2013-09-30 13:21:54 +02:00
Martin Lenders
db60557c47
Remove definition of unimplemented ieee802154 function
2013-09-30 13:20:46 +02:00
Martin Lenders
e843727ed4
Relocate ieee802154_frame.h
2013-09-30 13:20:46 +02:00
Oleg Hahm
852d3977ef
Merge pull request #221 from BytesGalore/sixlopan_fixes
...
Sixlowpan fixes
2013-09-26 14:11:59 -07:00
Martin
f7c41cfe8e
applied coding convention and changed error printout to DEBUG(...)
2013-09-24 07:35:50 +02:00
Oleg Hahm
8feaac3856
renamed SUCCESS constant in sixlowerror
2013-09-23 18:01:23 +02:00
Martin
a6d86fc7f9
added debug switch for printing 802154_fcf_frame
2013-09-23 15:09:16 +02:00
Martin
adf1e7003d
fix IPv6 link local address determination
2013-09-23 14:56:15 +02:00
Martin
dea48c84c1
fix prevent possible access above array boardes
2013-09-23 12:41:39 +02:00
Martin
04aa86f8ec
fix prevent access to unallocated buffer
2013-09-23 12:32:37 +02:00
Oleg Hahm
9ac5a26600
include sc_heap only when building for LPC boards
2013-09-19 13:47:23 +02:00
zkasmi
ceedb9b496
Converting tabs to spaces.
2013-09-18 16:38:14 +02:00
zkasmi
4a614b8a35
add the heap command to the shell command list + coding conventions.
2013-09-18 16:38:14 +02:00
Oleg Hahm
a6a96c7110
added missing malloc includes
2013-09-12 16:09:18 +02:00
Oleg Hahm
b26153dba9
included cpu.h in destiny to provide ssize_t
2013-09-12 14:33:58 +02:00
Ludwig Ortmann
031b53872d
initalize transceiver_buffer properly
2013-09-04 20:40:58 +02:00
Christian Mehlis
16dbafe319
Merge pull request #182 from LudwigOrtmann/make_clang_happy
...
Fix some clang warnings in native
2013-08-31 00:25:35 -07:00
Ludwig Ortmann
a714597482
fix spelling & warning of _heap_handler parameter
2013-08-30 17:14:56 +02:00
Ludwig Ortmann
c2fcbb787e
Fix some clang warnings in native
...
also cleans up a bit
2013-08-30 17:03:34 +02:00
Ludwig Ortmann
37c3059e1c
clean up nativenet, add src addr
2013-08-29 16:16:46 +02:00
Christian Mehlis
2e44523b51
change the bloom filter to filter arrays of bytes
...
current implementation of the bloom filter only
handles c strings, this commits changes the hash
functions to work on byte arrays.
additionally I did:
added to more hashes
moved hashes in its own sys folder
2013-08-27 13:30:33 +02:00
Christian Mehlis
0dc5437e31
fixes for PRNG
2013-08-26 22:18:02 +02:00
René Kijewski
49876c15f7
Update on @mehlis' Mersene twister code
...
* Consistent naming
* C99 style variable definition
* Code de-duplication through mathematical conversions
* Less magic numbers (higher powers of twoof two))
2013-08-26 22:18:02 +02:00
Christian Mehlis
5ccde8340d
add mersenne twister
2013-08-26 22:17:46 +02:00
Zakaria Kasmi
c52a24625f
reverted license change from 0634f21542
2013-08-26 11:30:36 +02:00
Zakaria_Kasmi
3ea68ecfc1
add a handler for the heap state
2013-08-26 11:30:17 +02:00
Christian Mehlis
df1755b912
fix broken warning
2013-08-20 09:58:46 +02:00
Martin Lenders
50f4e473d2
Fix transceiver documentation
2013-08-16 13:12:12 +02:00
Oleg Hahm
6d130a45ac
updated license headers
...
(No code changes!)
2013-08-16 10:20:23 +02:00
Oleg Hahm
fed90e2328
Merge pull request #150 from OlegHahm/6lowpan_plugtest_fixes
...
6lowpan plugtest fixes
2013-08-15 14:27:09 -07:00
Oleg Hahm
7890c924cd
updated ICMPv6 types from I-D to RFC values
2013-08-15 20:29:38 +02:00
Oleg Hahm
b38aad06f4
added missing FCS to IEEE802.15.4 adaptation layer
2013-08-15 20:25:20 +02:00
Oleg Hahm
dc7620b4b7
fixing ifdef/elif construct around prototypes in transceiver.c
2013-08-15 20:08:18 +02:00
Oleg Hahm
50dd9c3f21
undefined payload before setting for native
2013-08-15 19:39:39 +02:00
Oleg Hahm
701b8177fb
fixed some ifdefs and added necessary includes to transceiver.h
2013-08-15 19:27:31 +02:00
Oleg Hahm
e65ae85640
remove static for vtimer_print
2013-08-15 19:13:21 +02:00
Oleg Hahm
b64fb65935
Merge branch 'agilefox_clean' of https://github.com/AlaeddineWeslati/RIOT into AlaeddineWeslati-agilefox_clean
...
Conflicts:
sys/include/transceiver.h
sys/transceiver/transceiver.c
Additional changes:
* allow for multi-transceiver initialization
* change packet reception to old implementation
2013-08-15 19:07:14 +02:00
Oleg Hahm
b798663151
Merge pull request #140 from LudwigOrtmann/nativenet_transceiver
...
Nativenet transceiver
2013-08-15 06:06:37 -07:00
Ludwig Ortmann
708ece68cc
cc1100 -> nativenet
2013-08-15 14:05:26 +02:00
Ludwig Ortmann
2b8da20476
fix PAYLOAD_SIZE define
2013-08-15 13:55:58 +02:00
Martin Lenders
1411a0df0f
Merge pull request #143 from authmillenon/astyle_anti_confusion
...
Some coding style fixes in sixlowpan
2013-08-15 04:24:00 -07:00
authmillenon
b4f47236bd
Revert some changes f***ed up by astyle
2013-08-15 12:25:35 +02:00
authmillenon
3624727002
Fix so astyle does not confuse casts for ands
2013-08-15 11:27:30 +02:00
Oleg Hahm
1d9ce4d8c5
Merge pull request #142 from OlegHahm/minor_include_fixes
...
Minor include, function prototype, and coding convention fixes
2013-08-15 01:55:41 -07:00
Oleg Hahm
f81fc54bc7
Merge pull request #141 from LudwigOrtmann/transceiver_receive_types_fix
...
Fix transceiver.c: receive_packet
2013-08-15 01:43:44 -07:00
Oleg Hahm
54a01dfd98
added cc110x_ng to include path for sixlowpan and net_help
2013-08-15 10:38:24 +02:00
Oleg Hahm
87e0f7a70a
append include path in destiny Makefile
2013-08-15 10:31:54 +02:00
Oleg Hahm
e74eed6978
added missing include to oneway_alloc for MSP430 platforms
2013-08-15 10:31:53 +02:00
authmillenon
e2c201f2e0
Merge branch 'remove_carriage_returns' of github.com:authmillenon/RIOT into authmillenon-remove_carriage_returns
...
Conflicts:
sys/net/destiny/in.h
sys/net/destiny/socket.h
sys/net/destiny/tcp.h
sys/net/destiny/tcp_hc.c
sys/net/destiny/tcp_hc.h
sys/net/destiny/tcp_timer.c
sys/net/destiny/udp.c
sys/net/destiny/udp.h
2013-08-15 10:30:02 +02:00
authmillenon
a3b754b662
Remove carriage returns
...
Git for windows handles those by itself
2013-08-15 10:17:15 +02:00
Oleg Hahm
9fdae28876
Merge pull request #133 from authmillenon/sixlowpan_refactor
...
Refactor 6LoWPAN module
2013-08-15 00:55:06 -07:00
authmillenon
f53efdcb6f
Fixup for coding convention
2013-08-15 09:48:53 +02:00
authmillenon
f0982dad3e
Document NDP API header
2013-08-15 09:47:32 +02:00
authmillenon
55fa9a0910
Document ICMP API header
2013-08-15 09:46:03 +02:00
Ludwig Ortmann
db8c0bdfcb
Fix transceiver.c: receive_packet
...
Upper layer notification used packet type instead of transceiver type
to check monitoring threads.
2013-08-15 00:38:59 +02:00
Oleg Hahm
ec1d7b9bdf
Merge pull request #139 from OlegHahm/default_stacksize
...
Default stacksize
2013-08-14 15:21:48 -07:00
authmillenon
0b9671de18
Fix some API operationst
2013-08-14 21:48:36 +02:00
authmillenon
5e38764778
Fix more typos
2013-08-14 20:32:09 +02:00
authmillenon
0be66fa5e2
Fix sending slot stack size
2013-08-14 20:23:52 +02:00
authmillenon
b4a7878144
Fixup stack sizes
...
Fixup stack sizes according to PR #139
2013-08-14 18:23:57 +02:00
Oleg Hahm
7eba346aff
make transceiver make use of the default stacksize
2013-08-14 18:07:01 +02:00
Oleg Hahm
b1c57a9755
removed duplicated paragraph
2013-08-14 17:52:27 +02:00
authmillenon
5244a190a9
Put parantheses around longer return statements.
2013-08-14 17:45:14 +02:00
authmillenon
dce4640af8
Define bitmask for 6LoWPAN fragmentation header parsing
2013-08-14 17:36:37 +02:00
authmillenon
d556858570
Remove non-sensical bit-wise AND
2013-08-14 17:35:30 +02:00
authmillenon
15290c897f
Make NCE type and status types publicly available
2013-08-14 17:06:21 +02:00
authmillenon
a8d5a83cf2
Fix typos
2013-08-14 16:38:18 +02:00
authmillenon
ce21dbdc73
Don't note address operators as bit-wise and.
...
Fix 3fddddd3be/sys/net/rpl/rpl.c (L75)
2013-08-14 16:30:40 +02:00
authmillenon
c3fecbe68e
Check if source address is not illegal source address.
...
Check if source address is not multicast or unique local unicast (for
non-local destinations.
Fixes issue #78
2013-08-14 16:21:01 +02:00
authmillenon
7966be880a
Use new mutex API
2013-08-14 16:19:35 +02:00
authmillenon
3fddddd3be
Refactor icmp.h
2013-08-14 09:51:56 +02:00
authmillenon
0e1baea34e
Refactor ip.h
2013-08-14 04:04:13 +02:00
authmillenon
b1d6e7d639
Refactor border.h
2013-08-14 01:36:22 +02:00
authmillenon
202d651a0d
Refactor lowpan.h
2013-08-14 01:36:22 +02:00
authmillenon
8f1f532d32
Refactor mac.h
2013-08-14 01:36:13 +02:00
Oleg Hahm
b68ee50671
added callback for sixlowpan
2013-08-14 00:33:12 +02:00
Oleg Hahm
c47f5a459e
added callback registration for sixlowip
2013-08-14 00:33:12 +02:00
Martin Lenders
1bd1b4347b
Make usage of IPHC configurable.
2013-08-14 00:33:12 +02:00
authmillenon
5b54ef66e2
Update documentation of ipv6.h
2013-08-14 00:33:12 +02:00
authmillenon
89a673d029
Add documentation group for 6LoWPAN module
2013-08-14 00:33:12 +02:00
authmillenon
0399e26f17
Make sixlowpan module more coding conventions compliant
2013-08-14 00:33:12 +02:00
authmillenon
661b03b88a
Move error codes to public includes
2013-08-14 00:33:12 +02:00
Martin Lenders
b944a48da9
Set up new directory structure
2013-08-14 00:33:11 +02:00
authmillenon
9117bb2b76
Implement simple echo request/reply
2013-08-14 00:33:11 +02:00
Oleg Hahm
19c67711b8
removing residual breaks in switch-case statements due to #ifdefs
2013-08-13 18:27:13 +02:00
Oleg Hahm
529afacbec
some debug enhancements
2013-08-13 18:27:13 +02:00
Oleg Hahm
ecca0ee28e
fix for #117 and position of preprocessor directives
2013-08-13 18:27:06 +02:00
Oleg Hahm
011154df6e
clean up of ifdefs in transceiver module
2013-08-13 10:48:57 +02:00
Oleg Hahm
88b8ccf3e8
Merge pull request #108 from OlegHahm/unmaintained_libs
...
removed unmaintained code
2013-08-13 00:44:25 -07:00
Christian Mehlis
c6be56ad22
Merge pull request #124 from mehlis/sha256
...
add the default wrapper for sha256
2013-08-13 00:15:10 -07:00
Oleg Hahm
d7a297957f
removed unmaintained micro mesh routing code
2013-08-12 22:38:18 +02:00
Oleg Hahm
540515bd98
removed unmaintained tracelog library
2013-08-12 22:38:18 +02:00
Oleg Hahm
5bf958ce20
removed unmaintained syslog library
2013-08-12 22:38:18 +02:00
Oleg Hahm
d9189f1756
removed unmaintained logd library
2013-08-12 22:38:13 +02:00
Oleg Hahm
2d8bb530f9
Merge pull request #106 from OlegHahm/802154_debugging
...
added missing include to transceiver
2013-08-12 11:32:30 -07:00
Christian Mehlis
618cb30e30
add the default wrapper for sha256
2013-08-12 19:39:54 +02:00
Alaeddine WESLATI
ab26352ee8
bugfixes : #endif was missing, and TRANSCEIVER_AT86RF231 was colliding with another transceiver.
2013-08-12 16:48:16 +02:00
Alaeddine WESLATI
3338a12d4e
added AT86RF231 payload size
2013-08-12 15:17:22 +02:00
Alaeddine WESLATI
11bb09b7f8
started adding at86rf231 driver
...
at86rf231 TX and RX
driver is using vtimer instead of hwtimer_ functions, TO CHECK
vtimer debug function prototype fix
2013-08-12 15:17:22 +02:00
Christian Mehlis
6b22f479b1
add a barrier for msba2 due to wrong results
2013-08-12 10:01:48 +02:00
Christian Mehlis
870480049f
added doxygen doc to sha256
2013-08-12 10:01:48 +02:00
René Kijewski
eda3be3316
Fix byteorder problems
2013-08-12 10:01:48 +02:00
René Kijewski
dc669fbbb3
Eliminate multiline macros, embrace C99
2013-08-12 10:01:48 +02:00
Christian Mehlis
7d84936fd7
add sha256 implementation
2013-08-12 10:01:48 +02:00
Christian Mehlis
0fb5e89c89
moved doc to header and converted it to doxygen
2013-08-10 12:13:31 +02:00
Christian Mehlis
5a45d15894
initial bloom filter import
2013-08-09 22:37:03 +02:00
Christian Mehlis
1f8a80b686
remove superfluous semicolons
2013-08-09 10:26:00 +02:00
Oleg Hahm
0815de942a
fixed debugging in transceiver (stack size was too small)
2013-08-08 23:43:15 +02:00
Oleg Hahm
fe3e06bfce
added missing include to transceiver
2013-08-08 22:56:49 +02:00
Oleg Hahm
88d2357295
fix warnings from #62
2013-08-08 18:34:51 +02:00
LudwigOrtmann
9b68030b8f
Merge pull request #98 from OlegHahm/802154_debugging
...
added debug output for sending IEEE802.15.4 frames
2013-08-08 07:44:51 -07:00
LudwigOrtmann
07c7e8ccd3
Merge pull request #90 from OlegHahm/milestone_1_0_fixes
...
Milestone 1 0 fixes
2013-08-08 06:29:22 -07:00
Oleg Hahm
fdb415c6ab
some prototype fixes in RPL
2013-08-04 04:47:22 +02:00
Oleg Hahm
564eb457ad
fixing for #79 : relocating rpl folder
2013-08-04 04:46:17 +02:00
Oleg Hahm
e11ef8d0ac
Merge pull request #80 from authmillenon/sixlowpan_refactor
...
Refactoring and Fixing of sixlowpan module
2013-08-03 19:21:27 -07:00
Oleg Hahm
39a4dc684e
fixes for #62 : eliminate unused parameter warnings
...
NOTE: this commit introduces a kernel API change for mutex_unlock
2013-08-04 04:10:33 +02:00
Oleg Hahm
cf7ab7f093
add cc110x_ng include path to transceiver module
2013-08-04 03:19:51 +02:00
Oleg Hahm
21c4bb6aa5
fixed #18 for ICMPv6 packets
2013-08-04 03:17:41 +02:00
Oleg Hahm
956f0e8656
fix for #87 , replacing - with _ in module protocol_multiplex
2013-08-04 03:17:31 +02:00
Oleg Hahm
f51a97c7e2
added debug output for sending IEEE802.15.4 frames
2013-08-04 03:05:09 +02:00
Martin Lenders
529333636e
Prepare refactoring
2013-07-29 16:00:42 +02:00
Oleg Hahm
22c668529d
Merge branch 'oleg-master' into mymaster
...
Conflicts:
cpu/Makefile.include
cpu/arm_common/arm_cpu.c
2013-07-29 01:36:24 +02:00
Oleg Hahm
f7ecc704a4
fixed includes and include pathes
2013-07-29 01:24:02 +02:00
Oleg Hahm
6d48859269
Merge branch 'master' of github.com:OlegHahm/RIOT
2013-07-29 01:11:42 +02:00
Oleg Hahm
ca53d9231d
disabled DEBUG in auto_init
2013-07-25 21:55:49 +02:00
Oleg Hahm
f12d5628eb
fixed transceiver for mc1322x
2013-07-24 23:53:23 +02:00
Oleg Hahm
19e4034ace
Merge branch 'thomas-mc1322x'
...
Conflicts:
Makefile.modules
core/kernel_init.c
core/thread.c
cpu/arm_common/arm_cpu.c
cpu/arm_common/syscalls.c
cpu/lpc_common/hwtimer_cpu.c
cpu/lpc_common/iap.c
sys/include/transceiver.h
sys/net/sixlowpan/sixlowip.c
sys/net/sixlowpan/sixlowmac.c
sys/net/sixlowpan/sixlowmac.h
sys/net/sixlowpan/sixlowpan.c
sys/transceiver/Makefile
sys/transceiver/transceiver.c
2013-07-24 23:22:11 +02:00
Oleg Hahm
cce8f46e49
experimental sixlowpan fixes to eliminate multiple definitions
2013-07-24 22:23:21 +02:00
Thomas Eichinger
4bc89bd458
added fixes for compilation for mc1322x
2013-07-24 15:50:16 +02:00
Oleg Hahm
0ff8973ae7
Merge pull request #76 from benpicco/posix_compat
...
add typedefs to socket.h to improve POSIX compatibility
2013-07-24 01:31:40 -07:00
Benjamin Valentin
18ef96422f
add typedefs to socket.h to improve POSIX compliance
2013-07-24 02:52:24 +02:00
Oleg Hahm
ca75d3c36c
fixed some includes
2013-07-24 00:44:28 +02:00
Oleg Hahm
599e266b55
Revert "removed redefined ENABLE_DEBUG"
...
This reverts commit 69c526f44d
.
Instead of removing ENABLE_DEBUG, define it as zero and replacing the
ifdef preprocessor commands by a simple #if
2013-07-24 00:38:43 +02:00
Oleg Hahm
615ddb1eaa
some buffer adjustments
2013-07-24 00:02:44 +02:00
Thomas Eichinger
585f4f3698
embedded mc1322x radio API into transceiver.{c,h}
2013-07-23 15:27:12 +02:00
LudwigOrtmann
4d84098b23
Merge pull request #70 from LudwigOrtmann/issue_58
...
fix #58 , fix comments, printf/puts to DEBUG
2013-07-17 11:56:07 -07:00
Christian Mehlis
b8176f4488
fixed printf patterns
2013-07-16 15:27:19 +02:00
Christian Mehlis
6652ecc87a
remove static flag, it's not static
2013-07-16 15:27:19 +02:00
Christian Mehlis
69c526f44d
removed redefined ENABLE_DEBUG
2013-07-16 15:27:19 +02:00
Ludwig Ortmann
b29dcc7e89
remove superfluous, commented out puts
2013-07-16 13:50:41 +02:00
Ludwig Ortmann
5c93ff4f65
change puts/printf to DEBUG
2013-07-16 13:50:11 +02:00
Ludwig Ortmann
71ca139be4
translate/fix comments
2013-07-16 13:41:23 +02:00
Oleg Hahm
c989d2147e
collected all ICMP type definitions in one header
2013-07-05 09:38:38 +02:00
Oleg Hahm
267053042e
moved buffer initialization from header to c files
...
fixed file format
2013-07-05 09:37:34 +02:00
Oleg Hahm
40b3078b7e
made rpl a stand-alone module
2013-07-05 09:35:29 +02:00
Christian Mehlis
9549c29ccb
fix missing includes
2013-06-30 01:53:53 +02:00
Oliver Hahm
bf85e4902c
Merge branch 'rpl' of ssh://ukleos.org:2222/home/git/ukleos
...
Conflicts:
board/msba2-common/tools/src/control_2xxx.c
drivers/cc110x/cc1100-interface.h
projects/test_rpl/main.c
sys/include/vtimer.h
sys/net/sixlowpan/rpl/Jamfile
sys/net/sixlowpan/rpl/objective_functions.c
sys/net/sixlowpan/rpl/objective_functions.h
sys/net/sixlowpan/rpl/of0.c
sys/net/sixlowpan/rpl/of0.h
sys/net/sixlowpan/rpl/rpl.c
sys/net/sixlowpan/rpl/rpl_dodag.c
sys/net/sixlowpan/rpl/rpl_structs.h
sys/net/sixlowpan/rpl/trickle.c
sys/net/sixlowpan/sixlowmac.c
sys/vtimer/vtimer.c
2013-06-28 17:53:21 +02:00
Christian Mehlis
68d48ed8e3
use bitwise or here
2013-06-26 00:54:06 +02:00
Oliver Hahm
57cc002c67
Merge branch 'wsn430'
...
Conflicts:
core/include/queue.h
core/queue.c
cpu/msp430-common/hwtimer_cpu.c
cpu/msp430x16x/hwtimer_msp430.c
sys/lib/hashtable.c
sys/net/ieee802154/ieee802154_frame.c
sys/shell/commands/sc_cc110x_ng.c
sys/transceiver/transceiver.c
sys/vtimer/vtimer.c
2013-06-25 15:33:40 +02:00
Oliver Hahm
c8bee9e554
fixed coding style (space after most keywords)
2013-06-24 22:37:35 +02:00
Oliver Hahm
5bae4f841d
added one-time-initialization guard to transceiver
2013-06-24 22:12:57 +02:00
Oliver Hahm
79ff4f1cfc
updated sixlowpan configuration and minor coding style
2013-06-24 22:12:04 +02:00
Oliver Hahm
f2ec1009af
fixed some struct issues (broken by cc fixes)
2013-06-24 14:11:30 +02:00
Oliver Hahm
c1ec60eaf6
* removed rtc from sixlowpan
...
* fixed some struct issues
2013-06-24 14:10:53 +02:00
Oliver Hahm
1750d5ba0f
fixed some struct issues (broken by cc fixes)
2013-06-24 14:09:33 +02:00
Oliver Hahm
167328d4b3
replaced printf formatter with generic macro
2013-06-24 14:08:40 +02:00
Oliver Hahm
d01fd9a508
final coding convention fixes
2013-06-22 17:58:19 +02:00
Oliver Hahm
5c52e1ce2e
coding conventions for most of system libraries
2013-06-22 05:11:53 +02:00
Oliver Hahm
6ca6ae9811
Merge branch 'master' of github.com:RIOT-OS/RIOT
2013-06-20 15:03:34 +02:00
Oliver Hahm
c6ace1bdbb
some coding style fixes for timex.c
2013-06-20 14:59:42 +02:00
Rene Kijewski
0212ab36a7
Use inttypes.h in sc_cc110x_ng.c
2013-06-18 17:46:18 +02:00
Oliver Hahm
ac10da4509
Merge branch 'fixes-06-14' of git://github.com/mehlis/RIOT into mehlis-fixes-06-14
2013-06-18 17:25:44 +02:00
Oliver Hahm
0d6d8390c0
* updated copyright and license headers in various files
2013-06-18 17:21:38 +02:00
Christian Mehlis
608fb5582b
fix printf patterns
2013-06-16 14:13:38 +02:00
Christian Mehlis
1fcc5c8ed8
fix bad vtimer_now call
2013-06-16 14:13:02 +02:00
Christian Mehlis
79d55760fd
add missing spaces
2013-06-15 22:00:59 +02:00
Christian Mehlis
8faf6b77b6
add a print function for timex and vtimer
2013-06-14 20:38:27 +02:00
Christian Mehlis
d4ea8664ee
add missing ;
2013-06-14 20:37:39 +02:00
Christian Mehlis
5d587e34eb
fix sixlowpan includes
2013-06-14 20:37:07 +02:00
Christian Mehlis
a66a193f99
fix printf pattern
2013-06-14 20:36:31 +02:00
Christian Mehlis
3ab669578c
do includes the right way (for riot includes)
2013-06-14 20:33:28 +02:00
Oliver Hahm
4eb05e24fe
fixed debug line
2013-06-14 19:42:12 +02:00
Oliver Hahm
fdd1d21e8d
Merge branch 'master' into wsn430
2013-06-14 19:41:23 +02:00
Oleg
d477dca89a
Merge pull request #50 from mehlis/master
...
remove recursive include
2013-06-13 13:10:57 -07:00
Oleg
c70426b57b
Merge pull request #51 from mehlis/vtimer
...
use out parameter for vtimer_now
2013-06-13 13:04:11 -07:00
Christian Mehlis
57e70a659c
Remove undefined variables from Makefiles
...
The following variables are included in various Makefiles but never
defined.
$(BOARDINCLUDE)
$(PROJECTINCLUDE)
$(CPUINCLUDE)
2013-06-13 21:41:24 +02:00
Christian Mehlis
67875ba29b
fix indentation
2013-06-13 21:23:14 +02:00
Christian Mehlis
4d8783e023
use out parameter for vtimer_now
2013-06-13 10:23:47 +02:00
Oliver Hahm
6edc2a37a2
Merge remote-tracking branch 'origin/sixlowpan_fixes'
2013-06-10 18:45:34 +02:00
Martin
032ba13938
fix ICMP type is DIS
2013-06-10 17:39:11 +02:00
Martin
43255ff855
fix warnings due to unapropriate prototypes
2013-06-10 17:36:56 +02:00
Oliver Hahm
6f92e1dae8
* changed transceiver_type_t to bit field
...
(fixing #47 )
2013-06-10 12:40:59 +02:00
Christian Mehlis
8f74612762
main should always return int
...
this fixes some compiler warnings
2013-06-09 18:02:58 +02:00
Oleg Hahm
545c786375
Merge branch 'master' of git://github.com/overflowed/RIOT into overflowed-master
2013-06-07 17:28:46 +02:00
Oleg Hahm
5a4211598c
Merge branch 'master' of github.com:RIOT-OS/RIOT
2013-06-07 17:24:04 +02:00
Oleg Hahm
b515c4b957
* added TODO comment
2013-06-07 17:22:22 +02:00
Milan Babel
df13d9e0fc
Merge branch 'master' of github.com:overflowed/RIOT
...
Conflicts:
drivers/cc110x_ng/Makefile
2013-06-06 08:41:30 +02:00
Milan Babel
db1fc96ffe
added driver for cc2420
...
also added cc2420 to transceiver and added cc2420 shell commands
2013-06-06 08:35:17 +02:00
Milan Babel
2f5ed66756
created own module for ieee802154
...
this is needed to include the ieee802154 in drivers without the hole sixlowpan
2013-06-06 08:35:17 +02:00
Milan Babel
edb34b73c0
fixes for the wsn430
...
fixed vtimer for the msp430
added spi module for the wsn430 v1.3b
changed some variables to uintXX_t, fixes overflow on msp430
2013-06-06 08:35:17 +02:00
Ludwig Ortmann
49228c8353
fix signal handler, ringbuffer for native FreeBSD
2013-06-03 13:23:57 +02:00
Ludwig Ortmann
5795bd6810
Merge remote-tracking branch 'upstream/master'
2013-05-30 09:44:47 +02:00
Martin Lenders
01f2cb2115
Add more destiny fixes
2013-05-22 16:57:20 +02:00
Martin Lenders
fbca6f8a30
Make include paths in destiny relative
...
* When included by other modules the absolute paths of destiny
lead to problems
2013-05-22 16:27:28 +02:00
Ludwig Ortmann
35f9062e37
inital OSX support for native port
2013-05-15 17:45:43 +02:00
Ludwig Ortmann
5cb68df9e2
add missing newline in debug output
2013-05-15 10:47:46 +02:00
Ludwig Ortmann
b36ddd7fd7
Merge remote-tracking branch 'upstream/master'
2013-05-15 10:18:08 +02:00
Thomas Eichinger
3dba62afa6
Merge branch 'mc1322x' of github.com:RIOT-OS/RIOT into mc1322x
2013-04-22 09:56:07 +02:00
Ludwig Ortmann
2d29a26b64
fix stack and interrupt bugs
2013-04-15 20:08:46 +02:00
Martin Lenders
07e8ac9c19
Remove swtimer
...
see #4
2013-04-11 15:24:15 +02:00
Oliver Hahm
b6f21700ce
* clean up stuff (fix gcc warnings and added clean target for doc)
2013-04-02 02:02:58 +02:00
Stephan Arndt
d9c9f38c61
integrated ETX calculation with RPL, rpl messages seem to not get handled very often
2013-03-29 13:41:48 +01:00
Stephan Arndt
1fd9325d8c
switched DEBUG mode off
2013-03-28 17:40:01 +01:00
Stephan Arndt
60c594b852
Deleted ETX structs in rpl_structs and added them in etx_beaconing.h
...
changed packet size sent to be fix and not variable
changed some array sizes if debug is enabled
2013-03-28 17:11:12 +01:00
Stephan Arndt
b22e80b806
Fixed ETX calculations
2013-03-28 15:27:30 +01:00
Stephan Arndt
7e54f7ea5f
improved handling of etx-messages
2013-03-24 20:03:18 +01:00
Stephan Arndt
2ae2d85b10
changed some buffer sizes and other minimal stuff
2013-03-24 15:57:52 +01:00
Oliver Hahm
e6177e811a
* moved cpu and board specific parts to corresponding Makefiles
...
* introduced variable for cpu folder
2013-03-23 18:38:12 +01:00
Stephan Arndt
85211f8408
changed some of the ETX constants to be more easily understandable
2013-03-22 18:37:00 +01:00
Stephan Arndt
dccc377f83
Changed value for maximum candidate neighbors to 40
...
Replaced lots of different constants written as numbers by proberply defined constant-variables
Changed usage of fixed values for the hwtimer_wait in send_beacon to customizable constants
2013-03-22 17:40:36 +01:00
Stephan Arndt
c161b43d78
changed some printf statements into puts
2013-03-19 14:07:31 +01:00
Stephan Arndt
07a7f10798
changed buffer sizes for debugging
2013-03-19 14:04:23 +01:00
Stephan Arndt
5a2bc468c4
threads dont overflow anymore, still hangs at random counts of sent beacon packets
2013-03-18 19:22:07 +01:00
Ludwig Ortmann
dfeae74661
lose > before output, prompt when ready for input
2013-03-18 15:37:32 +01:00
Benjamin Valentin
4d73d17662
add Makefiles to sys/net
2013-03-16 17:27:27 +01:00
Stephan Arndt
adfc3306ab
WARNING: BROKEN COMMIT added not working etx_beaconing into rpl, added small vtimer debug changes, changed cc1100 default mode
2013-03-15 17:48:13 +01:00
Oliver Hahm
0d06e1bc18
Merge branch 'master' of github.com:RIOT-OS/RIOT
2013-03-10 16:46:46 +01:00
Oliver Hahm
7a4dec1830
* replaced new Makefile name in Makefiles
2013-03-09 23:47:21 +01:00
Oliver Hahm
5ffe5a9c27
* renamed makefiles to Makefile
2013-03-09 23:45:56 +01:00
Oleg Hahm
2ed63bd5c6
* removed outdated (and probably confusing) FeuerWhere project as an author
2013-03-08 11:30:23 +01:00
Oleg Hahm
2277b366b2
* removed outdated occurrences of (u|µ)kleos and FeuerWare
2013-03-07 20:51:26 +01:00
Oleg Hahm
bae6d13bdc
* fixed fileending
2013-03-07 19:29:13 +01:00
Benjamin Valentin
c5bd1fa8f1
make sendto() and accept() interfaces conform to POSIX, doesn't change anything as addrlen is unused anyway
2013-03-07 18:08:50 +01:00
Stephan Arndt
e8256783f4
added etx_beaconing files
2013-03-03 17:47:11 +01:00
Oleg Hahm
d31ee82518
* removed legacy projects folder and Jamfiles
2013-02-27 19:08:16 +01:00
Stephan Arndt
31b65059a8
preparing for changing how parent selection/updates work in rpl, since the way it is implemented now goes against the spec
2013-02-21 18:25:35 +01:00
Stephan Arndt
644d6de364
changed rank calculation in OF0 and some other things. WARNING: this commit might break the rpl implementation for now, if a rollback is needed, choose an earlier commit than this
2013-02-21 18:23:36 +01:00
Oliver Hahm
b834831818
* added missing include in hashtable
2013-02-21 17:32:55 +01:00
Oliver Hahm
9df46b3507
* fixed makefiles for msb-430h support
2013-02-15 22:17:42 +01:00
Stephan Arndt
e0a21b9ddd
added comments onto structs for easier findings in RFC
2013-02-13 15:03:16 +01:00
Stephan Arndt
91b023df4b
deleted fake rounting entries which had been commented out
2013-02-13 15:02:21 +01:00
Stephan Arndt
567be35fc4
startet implementation of objective function mrhof
2013-02-13 15:00:43 +01:00
Stephan Arndt
39482f7316
deleted empty files objective_functions.c/h
2013-02-13 14:59:15 +01:00
Oleg Hahm
72e3a500a7
Merge branch 'master' of github.com:RIOT-OS/RIOT
2013-02-08 19:11:59 +01:00
Oleg Hahm
0f5dcdae98
* fixed double cc110x_ng entry in drivers makefile
...
* tidied up sys directory
2013-02-08 19:10:33 +01:00
Oleg
03a2173589
Merge pull request #1 from benpicco/77d4095cf065858999ec6240945c14a33c9bfca8
...
Add inet_pton and inet_ntop (POSIX.1-2001)
2013-02-08 08:43:59 -08:00
Oleg Hahm
5df0bd0cc4
* updated and integrated makefiles
...
* added some auto dependencies
2013-02-08 17:37:02 +01:00
Oleg Hahm
3791039974
* integrated makefiles
...
* fixed some prototypes
* restructured sys
2013-02-06 13:20:21 +01:00