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