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

964 Commits

Author SHA1 Message Date
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
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
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
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