1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00
Commit Graph

369 Commits

Author SHA1 Message Date
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
Benjamin Valentin
77d4095cf0 fix up includes 2013-01-12 21:51:43 +01:00
Benjamin Valentin
0d8d278f35 include stdint.h 2013-01-12 21:41:00 +01:00
Benjamin Valentin
62de6c1263 add inet_ntop and inet_pton from
http://svn.apache.org/repos/asf/apr/apr/trunk/network_io/unix/
2013-01-12 21:35:37 +01:00
Stephan Arndt
2fc01381d5 removed unused import from /sys/ping.c 2012-12-04 15:10:17 +01:00
Oliver Hahm
834b72234f [sys transceiver]
* fixed typo in ifdef
2012-11-27 15:34:53 +01:00
Oliver Hahm
3b4de3d39c [projects default]
* adapted default project to different platforms

[sys transceiver]

* removed warning
2012-11-07 09:11:10 -05:00
Oliver Hahm
92281753ad Merge branch 'stable'
Conflicts:
	core/sched.c
	sys/auto_init.c
2012-11-05 19:15:57 -05:00
Oliver Hahm
06da73c9c3 * cosmetics 2012-11-05 18:55:05 -05:00
Oliver Hahm
9b961d6591 [sys net sixlowpan]
* fixed some line endings from dos to unix style
2012-11-05 16:29:11 -05:00
Oliver Hahm
984e2e5dde Merge branch 'mac' 2012-11-05 14:25:52 -05:00
Oliver Hahm
3643fc9801 [sys auto_init]
* added vtimer init to auto_init
2012-05-22 15:59:36 +02:00
Oliver Hahm
9ce719beef [sys auto_init]
added vtimer init to auto_init
2012-05-22 15:57:39 +02:00
Eric Engel
870b10514f Changed some Parameters of RPL
Added Loop Function in rpl_test project
send DAOs regular
2012-04-07 20:30:13 +02:00
Oliver Hahm
e9cdacbf51 [projects test_rpl] [sys net sixlowpan rpl]
* removed vtimer_init from rpl_init
 * some transceiver watchdog workaround foobar
2012-03-29 16:27:20 +02:00
Oliver Hahm
7397d98f8a [projects test_rpl] [sys net sixlowpan] [sys transceiver]
* some debugging
* increased timeout
2012-03-28 17:30:59 +02:00
Eric Engel
f7368395ff only 10 DAO trys and unrecognized options now directly lead to abort 2012-03-27 22:18:35 +02:00
Eric Engel
a70a33337e RPL Finished, fixed some bugs, changed printf to puts, Use of Link Local addresses in RPL 2012-03-27 17:56:47 +02:00
Eric Engel
edbef27d29 Changed sixlowpan send buffers to any possible buffers, added some mutexes 2012-03-26 00:04:21 +02:00
Eric Engel
88e79185c4 Trickle corrections, changed some Stack sizes 2012-03-12 16:22:52 +01:00
Eric Engel
f15840da9b Only one packet sent 2012-03-06 11:08:16 +01:00
Eric Engel
6dbec3b0ae various changes 2012-03-02 20:22:22 +01:00
Oliver Hahm
64039410e4 Merge branch 'master' of ssh://ukleos.org:2222/home/git/ukleos 2012-03-02 15:01:11 +01:00
Oliver Hahm
f978260656 [drivers cc110x] [sys shell] [sys transceiver]
* cretaed transceiver interface for old cc1100 driver (with csma/ca)
2012-03-01 22:12:25 +01:00
Oliver Hahm
b81b7d6429 Merge branch 'master' of ssh://ukleos/home/git/ukleos 2012-03-01 17:32:41 +01:00
Oliver
d6f0e9c3dc [projects tlayer]
- adjusted thread stack sizes to more realistic value

[projects sixlowpan]
- adapted sixlowpan API change

[sys net sixlowpan]
- adjusted thread stack sizes to more realistic value

[sys net destiny]
- adjusted thread stack sizes to more realistic value
2012-03-01 02:48:22 +01:00
Eric Engel
f85d1968c4 RPL Routing finished 2012-02-26 19:30:48 +01:00
Oliver Hahm
551d684155 Merge branch 'master' of ssh://ukleos.org:2222/home/git/ukleos 2012-02-24 14:49:58 +01:00
Eric Engel
f69fbfd686 rpl nearly finished, rpl_test now with shell 2012-02-22 00:50:40 +01:00
Oliver
8124389151 [sys net destiny]
- fixed a bug where the returned UDP packet length was too big
2012-02-21 02:44:11 +01:00
Oliver
9ca8afd70c [ sys net sixlowpan ]
- fixed a bug in 6LoWPAN reassembly algorithm where in a specific case a
pointer could be used although it is NULL
- removed MAC routing
- added IP routing
2012-02-20 04:25:52 +01:00
Oliver Hahm
68ed4196a3 Merge branch 'master' of ssh://ukleos/home/git/ukleos 2012-02-17 15:35:39 +01:00
Oliver Hahm
5aa0c12172 [sys vtimer]
* giving some return values a reason to exist
2012-02-17 14:07:48 +01:00
Eric Engel
e6e336c77f Now sending DAOs, added DIS handling 2012-02-16 23:23:15 +01:00
Oliver Hahm
0d6d3e2c43 [board msba2-common] [sys chardev_thread] [sys shell] [driver cc110x_ng] [core msg]
* some cosmetics and cleanups
2012-02-16 21:33:41 +01:00
Oliver Hahm
64e0c5b246 [sys transceiver]
* minor changes
2012-02-16 12:34:24 +01:00
Eric Engel
d766e41996 Joined nodes now send DIOs, some minor bugfixes, routing table stubs 2012-02-14 22:22:01 +01:00
Oliver
f57e4078e5 [sys net sixlowpan]
- HACK: added simple static MESH routing on MAC layer, see
projects/tlayer/main.c for explanation and usage.
2012-02-14 21:28:51 +01:00
Oliver Hahm
961b4df179 [core cib] [projects default] [sys shell]
* fixed some minor issues found by splint
2012-02-14 14:49:45 +01:00
Oliver
5176640664 [sys net destiny]
- minor fix concerning float calculations
2012-02-14 01:56:49 +01:00
Oliver
45a41bd189 [sys net destiny]
- added dynamic calculation of round trip timeout (RTO)
2012-02-14 01:37:06 +01:00
Oliver
8a886fae25 [sys net destiny]
- fixed a bug where a retransmitted TCP ACK segment did not contain the
ACK flag

[sys net sixlowpan]
- changed sixlowpan architecture: IPV6 packets now always get stored in
sixlowpan (reassembly) buffer and are transmitted one after the other 
(FIFO) to IPV6 layer via a separate transfer thread
2012-02-13 23:31:17 +01:00
Oliver
be14d20042 [sys net destiny]
- added waiting period after sending ACK at 3-way handshake to
enable a retransmit in case of a lost packet
2012-02-12 20:06:12 +01:00
Oliver
bb580d1c4f [sys net destiny]
- fixed a bug where the tcp retransmit timer triggered even before
beeing ready to receive an ACK
- fixed a bug where MSS option was added by mistake because checking for
the appropriate flag was broken
2012-02-12 04:26:55 +01:00
Oliver
fef556dd66 [sys net destiny]
- fixed a bug where a retransmit of a payload tcp_hc packet did not have
the payload added because total_sent_bytes wasnt reset to 0 after last
transmit
2012-02-11 04:21:20 +01:00
Oliver
af34855d46 [sys net destiny]
- added handling of MSS Option for TCP (still at least 1 bug left)
2012-02-10 05:20:01 +01:00
Oliver
c94c03879e [drivers cc110x_ng]
- fixed DBG_IGNORE bugs

[sys net destiny]
- fixed a bug where UDP sockets were not closed correctly
2012-02-09 01:20:49 +01:00
Oliver Hahm
25b017aebf Merge branch 'master' of ssh://ukleos/home/git/ukleos 2012-02-08 17:15:26 +01:00
Oliver Hahm
461fac8698 [cc110x_ng transceiver]
* added a ignore function for debugging purposes
2012-02-08 17:14:50 +01:00
Oliver
cc7f4e0a7b [sys net destiny]
- added dynamic treatment of sending data via send() > MSS
2012-02-08 04:46:54 +01:00
Oliver
eed1de6d29 [sys net destiny]
- TCP_HC: changed retransmit of payload to MOSTLY_COMPRESSED_HEADER
2012-02-07 19:41:49 +01:00
Oliver
50e745026f [sys net destiny]
- also changed byte order of tcp fragments to big endian
2012-02-07 04:39:28 +01:00
Oliver
ee34ac4375 [sys net destiny]
- fixed handling of duplicate tcp segments (tcp_hc and regular)
- few general bugfixes
2012-02-07 04:24:00 +01:00
Oliver
ec900bc5f5 [sys net destiny]
- fixed a lot of bugs in tcp header compression algorithms
2012-02-05 00:33:55 +01:00
Oliver
18db29153a [sys net destiny]
- added decompression of compressed tcp packet fragments
- still a lot of bugs left!
2012-02-03 03:11:30 +01:00
Eric Engel
6491312b98 Added trickle Algorithm 2012-02-02 21:31:28 +01:00
Oliver
7c293f82e4 [sys net destiny]
- added tcp_hc compress handling
2012-02-02 02:41:39 +01:00
Oliver
b7f5405ec7 [sys net destiny]
- code cleanup
- refactoring
2012-02-01 21:07:57 +01:00
Eric Engel
d10136aec5 [sys net sixlowpan rpl] Beim erhalt von DIO Nachrichten wird Dodags beigetreten, parents werden hinzugefügt, globale Reperatur wird getriggert 2012-01-31 19:36:26 +01:00
Oliver
1465da2e84 [projects tlayer]
- Added: Close_TCP, TCP_Performance test, UDP_Performance test

[sys net destiny]
- bugfixes
- Added: Simultaneous close, Memory protection for tcp timer thread

[sys net sixlowpan]
- Added: separate sending buffer (just a HACK workaround!)
2012-01-30 22:44:38 +01:00
Oliver
c258075aaa [sys net destiny]
- changed queued socket architecture to be consistent with normal
sockets, saving RAM
2012-01-28 16:15:09 +01:00
Oliver
628cf2b38d [sys net destiny]
- fixed some tcp sequence number bugs
- tcp window size "1" and retransmit/timeout handling should work now
2012-01-28 01:55:21 +01:00
Oliver
7f48b8d6ae [projects tlayer]
- added bidirectional TCP usage

[sys net destiny]
- added payload retransmit handling
2012-01-27 02:54:59 +01:00
Eric Engel
445fb4450f Corrected Jamfiles, no more direct call of rpl functions from sixlowip 2012-01-26 20:26:55 +01:00
Oliver
f92299c523 [sys net destiny]
- changed architecture to tcp control block struct
2012-01-25 03:38:22 +01:00
Oliver
75514e30b8 [sys net net_help]
- removed net_msg_FUNCTION ID Handling in favor of function commands

[sys net destiny]
- added TCP Connect Timeout and retry handling
2012-01-24 03:19:11 +01:00
Oliver
c55a5db84f - adjusted jam files for endless loop
- STILL error in rpl jamfile
2012-01-24 02:56:49 +01:00
Oliver Hahm
1f09cfce9e Merge branch 'master' of ssh://ukleos/home/git/ukleos 2012-01-20 17:44:24 +01:00
Oliver Hahm
b360d53577 [sys net sixlowpan]
* added missing rtc module to Jamfile
2012-01-20 17:43:57 +01:00
Eric Engel
f54436afd7 fixed wrong flag value 2012-01-19 17:46:07 +01:00
Eric Engel
f3ec877def added incomplete rpl 2012-01-19 17:37:48 +01:00
Eric Engel
550c829f0d added incomplete rpl 2012-01-19 17:35:50 +01:00
Oliver Hahm
59a46e0e88 Merge branch 'sixlowpan'
Conflicts:
	cpu/arm_common/hwtimer_cpu.c
	sys/include/vtimer.h
	sys/vtimer.c
2012-01-11 17:02:43 +01:00
Oliver
ff347d3fb3 - Bugfix: TCP window size was not increased again after reading from the
socket
2012-01-03 02:48:11 +01:00
Oliver
15fab8e0cc - set TCP MTU to more realistic value
- Implemented TCP SOCKET API close()
- minor bugfixes
2012-01-03 02:16:43 +01:00
Oliver Hahm
e89dc07a05 core/ 2011-12-28 11:41:33 +01:00
Oliver Hahm
c3d24e2057 core/ 2011-12-28 11:37:05 +01:00
Oliver
de210879cb - refactored some of the stuff needed to send an TCP/IP packet 2011-12-27 05:31:52 +01:00
Oliver
436d977275 - Added Timeout handling when reassembling 6LoWPAN fragments 2011-12-27 03:04:41 +01:00
Oliver
11fecd089e - Added dynamic 6LoWPAN fragment buffer for reassembly of multiple
fragments at the same time
- Introduced thread message wrappers for identifying the correct
function
- Several bugfixes
2011-12-26 02:59:58 +01:00
Oliver Hahm
012adcf28b [sys shell disk]
* removed wrong casting
2011-12-12 18:29:22 +01:00
Oliver Hahm
7b1b145b4f [cpu lpc2387]
* added mci driver

[sys shell]

* added commands for memory card access
2011-12-12 17:50:22 +01:00
Oliver Hahm
aeb67a481b [sys vtimer]
* set missing msg type in vtimer_set_msg()
2011-12-07 11:33:57 +01:00
Oliver Hahm
d423176587 [sys vtimer]
* removed vtimer_set_cb
2011-12-01 13:28:20 +01:00
Oliver Hahm
e00e4160d7 [sys timex/vtimer]
* fixed #17
2011-12-01 13:01:36 +01:00
Oliver Hahm
04936c6c0f [sys vtimer]
* set timer->pid to 0 for set_cb and set_wakeup
2011-11-30 15:50:36 +01:00
Oliver
ae7d26382e NEW features: recv(); for TCP, TCP ACKs for data, introduced
net_msg_*() helper functions,
fixed lots of bugs
2011-11-25 01:31:54 +01:00
Oliver
f6fb8f7194 First simple transfer of data using an established TCP connection 2011-11-11 03:41:08 +01:00
Oliver
6b84ae0807 TCP bug fix, TCP refactoring 2011-11-08 02:14:58 +01:00
Oliver
7d1f607f0f Socket API: Code cleanup, small bugfixes 2011-11-02 02:55:38 +01:00
Oliver
c1b2b10a06 UDP bug fixes: after using TCP connection, socket was not deleted
properly
2011-11-01 21:04:28 +01:00
Oliver
fecb514293 Major bug fixes in TCP socket API and TCP packet handler. 2011-11-01 05:47:28 +01:00
Oliver
e9cde11409 TCP 3-way handshake finished, but NOT tested!
WARNING: TCP code not yet useable!
UDP improvements in socket API.
2011-10-28 04:37:12 +02:00
Oliver
9e20944fde new socket API functions, added TCP Handler, introduced global network
helper, increased stack sizes of network threads
2011-10-13 04:31:07 +02:00
Oliver Hahm
3a4c88c637 [sys shell shell_commands]
* added missing function prototype
2011-10-05 15:28:25 +02:00
Oliver Gesch
d9ff08b23a new, DESTiny: UDP Transport Layer and UDP part of Socket API 2011-09-28 16:29:01 +02:00
mlenders
5e6c25b511 Removed Escaping of '\r' 2011-08-05 17:17:12 +02:00