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

320 Commits

Author SHA1 Message Date
mlenders
5e6c25b511 Removed Escaping of '\r' 2011-08-05 17:17:12 +02:00
mlenders
3862e2b894 Merge branch 'sixlowpan' of ssh://ukleos.imp.fu-berlin.de/home/git/ukleos into sixlowpan 2011-08-05 16:11:07 +02:00
mlenders
19dc26b496 [*]
* reserved to empty in serial frames
2011-08-05 15:45:38 +02:00
mlenders
22b2690271 [sys/net/sixlowpan/flowcontrol.h]
* Window sizes to 1
2011-07-28 18:26:56 +02:00
mlenders
f40ed36802 [sys/net/sixlowpan/flowcontrol.*]
* fixed sem_init()
2011-07-28 18:25:57 +02:00
mlenders
c6c5eaae70 Fixed readpacket 2011-07-27 19:43:51 +02:00
mlenders
be73807c7b Unknown Ethertype output as 2 Byte Hex 2011-07-27 19:42:59 +02:00
mlenders
c884742cea ABRO for Border Router 2011-07-27 02:12:30 +02:00
mlenders
d3ad8bce2c fixed writepacket 2011-07-27 02:10:47 +02:00
mlenders
8be561e869 * implemented rudimentary ICMPv6 handling for border router 2011-07-26 13:41:40 +02:00
mlenders
fd551d572d [sys/net/sixlowpan/sixlownd.*]
* changed abro management
2011-07-26 13:35:58 +02:00
mlenders
355ee7a9fe Merge branch 'sixlowpan' of ssh://ukleos.imp.fu-berlin.de/home/git/ukleos into sixlowpan 2011-07-26 10:32:08 +02:00
mlenders
f98173da6c Updated some includes 2011-07-26 10:31:57 +02:00
mlenders
183b3f0c1b [sys/net/sixlowpan/bordermultiplex.h]
* prepared for ABRO version control
2011-07-26 02:04:29 +02:00
mlenders
bc97321680 [*]
* get_serial_*_buf() back to sixlowborder.*
2011-07-26 01:59:34 +02:00
mlenders
842bdc90ac [sys/net/sixlowpan/sixlowborder.c]
* cleaned up a little bit
2011-07-25 17:02:42 +02:00
mlenders
bdd9d81930 [sys/net/sixlowpan/sixlowborder.*]
* outsourced multiplexing to bordermultiplex.*
2011-07-25 17:00:18 +02:00
mlenders
b918924fc1 [sys/net/sixlowpan/sixlowborder.c]
* flow control outsourced to flowcontrol.*
2011-07-25 16:33:24 +02:00
mlenders
9322071520 Made serial in and out buffer publicly accessable 2011-07-25 16:14:15 +02:00
mlenders
0478c325c7 Removed some unneccary stuff 2011-07-25 15:36:22 +02:00
mlenders
9aeaf79d96 All "edge" to "border" renamed 2011-07-25 15:06:40 +02:00
mlenders
e40b8f0499 [sys/net/sixlowpan/sixlowedge.c]
* removed unneccassary stdout, again
2011-07-24 23:29:42 +02:00
mlenders
f35974d745 merged strange effects 2011-07-24 23:10:12 +02:00
mlenders
3d31dc64bb [sys/net/sixlowpan/sixlowedge.c]
* Reduced stdout to a minimum for testing
2011-07-24 23:06:48 +02:00
mlenders
109ac0b62a [sys/net/sixlowpan/sixlowedge.c]
* Reduced stdout to a minimum for testing
2011-07-24 21:27:07 +02:00
mlenders
03da9f0590 [sys/net/sixlowpan/sixlownd.h]
* added ICMPv6 Redirect type to filter it out on the border router

[sys/net/sixlowpan/sixlowedge.c]
* filter for ICMPv6 messages implemented
2011-07-24 21:25:47 +02:00
mlenders
240bbf7562 [sys/net/sixlowpan/sixlowedge.c]
* Fixed function call
2011-07-24 18:13:10 +02:00
mlenders
417555d4c0 'Implemented' multiplexing (sixlowpan code needs work) 2011-07-24 18:06:28 +02:00
mlenders
166098dd16 [sys/net/sixlowpan/sixlowedge.*]
* Dummy code for context and address updates
2011-07-24 17:29:50 +02:00
mlenders
885b789f24 [*]
* adjusted names (mainly "edge" -> "border" and names adjacent to name in linux driver for the border router)
2011-07-23 22:17:52 +02:00
mlenders
fa7c050a0c unstaged warning 2011-07-23 21:49:34 +02:00
mlenders
12fa93032a [sys/net/sixlowpan/sixlowedge.c]
* restart timeout timer after resending
2011-07-12 15:03:46 +02:00
mlenders
44717b59c2 [sys/net/sixlowpan/sixlowedge.c]
* Threeway-Handshake for serial interface implemented
2011-07-12 15:00:21 +02:00
mlenders
afc2bfe32d sliding window for edge router 2011-07-11 18:26:12 +02:00
mlenders
9521142842 merged 2011-07-10 22:49:41 +02:00
mlenders
0bacfdbfbf [sys/net/sixlowpan/semaphore.*]
* added semaphores for sliding window
2011-07-09 20:34:20 +02:00
mlenders
972752bbda [sys/net/sixlowpan/sixlowedge.c]
* new IP packet processing thread for edge router

[sys/net/sixlowpan/sixlowpan.*]
* decide weather the normal node whether the normal IPv6 processing thread should be created or its edge roter counterpart
2011-07-09 19:19:31 +02:00
mlenders
35692755bc [sys/net/sixlowpan/sixlowedge.c]
* added capability to write packets via serial interface
2011-07-09 19:14:13 +02:00
mlenders
f298c74c44 [sys/net/sixlowpan/sixlowip.c]
* avoid duplicate attachement of IPv6 addresses to the interface
2011-07-09 19:08:27 +02:00
mlenders
79d6157cfc [sys/net/sixlowpan/sixlowedge.c]
* pipe received IPv6-Packets from serial interface to lowpan
2011-07-09 19:06:28 +02:00
mlenders
d304d4c0ec [sys/net/sixlowpan/sixlowedge.c]
* fixed small bug
2011-07-09 19:04:03 +02:00
mlenders
311099fc11 [sys/net/sixlowpan/sixlowedge.h]
* redefined packet types for edge router
2011-07-09 19:01:40 +02:00
mlenders
265d371763 [sys/net/sixlowpan/sixlowip.h]
* added DEBUGLINE macro
2011-07-09 18:52:52 +02:00
mlenders
33a04d61fe [sys/net/sixlowpan/sixlowedge.*]
* Receiving of (L3) packets via serial interface implemented
2011-07-05 04:24:41 +02:00
mlenders
6532389f07 [sys/net/sixlowpan/sixlownd.*]
* added ICMPv6 Parameter Problem message (for later application in edge router)
2011-07-05 03:50:08 +02:00
mlenders
e61cc71adb [sys/net/sixlowpan/sixlownd.c]
* Fixed minor errors in ARO for nbr. adv.
2011-07-05 03:48:24 +02:00
mlenders
4cc623b0dc [sys/net/sixlowpan/sixlowip.*]
* added function to check if Next-Header-Type is known
2011-07-05 03:43:29 +02:00
mlenders
2b1f5234ad [sys/net/sixlowpan/sixlownd.*]
* fixed STLLAO-Bug
2011-07-04 16:47:06 +02:00
Oliver Hahm
15d27d8244 * Wiselib update for the linekrscript
* some minor changes in vtimer
2011-06-24 18:54:20 +02:00
mlenders
9bf13c2d56 [*]
* removed prefix information from abr_cache for now to save space
2011-06-24 14:39:24 +02:00
mlenders
1cc8cf4c5a [sys/net/sixlowpan/sixlownd.c]
* fixed segfault bug by dirty hacking
2011-06-24 02:44:36 +02:00
mlenders
258ba1a756 [sys/net/sixlowpan/sixlownd.c]
* centralized some variables
2011-06-24 02:40:25 +02:00
mlenders
e1309891ea [sys/net/sixlowpan/sixlowip.h sys/net/sixlowpan/sixlowip.c]
* made buffer extern
2011-06-24 02:31:55 +02:00
mlenders
72023134ee [sys/net/sixlowpan/sixlownd.h sys/net/sixlowpan/sixlownd.h]
* Context in abr_cache as cid rather than pointer
2011-06-24 02:23:47 +02:00
mlenders
5c1982d42c [sys/net/sixlowpan/sixlowpan.h sys/net/sixlowpan/sixlowpan.c]
* context lifetime saved as 16 bit integer rather than as timer
* thread counts down lifetime and deletes context when 0

[every commited file]
* made contexts thread save
2011-06-24 01:48:41 +02:00
mlenders
257ce2ffaf [sys/net/sixlowpan/sixlownd.c]
* fixed some bugs
2011-06-23 03:42:39 +02:00
mlenders
4ecf0aacf3 [sys/net/sixlowpan/sixlownd.c]
* XOR replaced by AND
2011-06-23 03:30:00 +02:00
mlenders
397f5444cd Missing sixlowerror.h added. 2011-06-23 01:48:40 +02:00
mlenders
aeae15be8a [sys/net/sixlowpan/sixlowedge.c]
* small bugfix
2011-06-22 21:18:18 +02:00
mlenders
b345138510 [sys/net/sixlowpan/sixlowedge.h sys/net/sixlowpan/sixlowedge.c]
* Edge router functionalities implemented
2011-06-22 21:09:06 +02:00
mlenders
5e572fe6f7 [sys/net/sixlowpan/sixlowip.h]
* Maximum length of list of interface addresses increased due to the required addresses
2011-06-22 20:58:35 +02:00
mlenders
a4f673ec96 * added loopback and all nodes multicast address automatically to interface according to RFC 2581 2011-06-22 19:19:37 +02:00
mlenders
8de7bd7662 [sys/net/sixlowpan/sixlowip.c]
* Check for unspecified address by the appropriate function
2011-06-22 18:46:17 +02:00
mlenders
64fa01fbfd [sys/net/sixlowpan/sixlownd.h sys/net/sixlowpan/sixlownd.c]
* let plist_add return a pointer to the newly added plist-entry
2011-06-22 18:34:41 +02:00
mlenders
4ac4e750fe [sys/net/sixlowpan/sixlownd.h sys/net/sixlowpan/sixlownd.c]
* abr_addr argument in abr_update_cache as pointer rather then value
* constants for 6CO C flag added
2011-06-22 15:25:42 +02:00
mlenders
0989fe650c [sys/net/sixlowpan/sixlowpan.c]
* choose always the longest prefix from contexts if prefix of prefixes is the same
2011-06-22 15:20:54 +02:00
mlenders
2f6eccb5bf [sys/net/sixlowpan/sixlowip.c]
* fixed pointer error
2011-06-22 15:19:20 +02:00
mlenders
9b1dbd43fb [sys/net/sixlowpan/sixlowpan.h sys/net/sixlowpan/sixlowpan.c]
* seperated initialization of adhoc routers from initialization process
2011-06-22 12:36:26 +02:00
mlenders
a2d7628a73 [sys/net/sixlowpan/sixlowip.h sys/net/sixlowpan/sixlowip.c]
* added capability to initiate a node as router
* added capability to check if a node is initiated as router
2011-06-22 12:34:32 +02:00
mlenders
6d074b4a29 [sys/net/sixlowpan/sixlowip.c]
* added failsafe if someone tries to add address :: to an interface (not allowed according [RFC 4291])
* automatically add address to corresponding solicitaded nodes multicast address [RFC 4291]
2011-06-22 12:08:45 +02:00
mlenders
fe464025c1 [sys/net/sixlowpan/sixlowip.h sys/net/sixlowpan/sixlowip.c]
* added loopback address generation features
2011-06-22 11:58:54 +02:00
mlenders
2c20f8fafd handled some warnings
[sys/net/sixlowpan/sixlowip.c]
* pointer in ipv6_process() for PROTO_NUM_NONE out-commented
* val = 0 as initial value

[sys/net/sixlowpan/sixlowmac.c]
* included and initialized hwtimer

[sys/net/sixlowpan/sixlownd.c sys/net/sixlowpan/sixlownd.h]
* initialized abro_version in recv_rtr_adv()
* ARO state according to draft-6lowpan-hc-16
2011-06-22 11:49:29 +02:00
mlenders
6263e59867 [sys/net/sixlowpan/sixlowip.c sys/net/sixlowpan/sixlowpan.c]
* Initialisation of iface_addr_list_count to sixlowip.c according to header files
2011-06-22 10:45:19 +02:00
mlenders
b048b876dc [sys/net/sixlowpan/sixlowpan.c]
* Fixed address prefix comparison for context.
2011-06-22 00:02:44 +02:00
mlenders
2d432ab3a7 [sys/net/sixlowpan/sixlowmac.c]
* Fixed some errors in address and channel allocation due to casting between pointers on 8-bit int and 16-bit int.
2011-06-21 19:44:20 +02:00
mlenders
e19221f2eb Header-Definition for sixlownd.h 2011-06-19 13:54:49 +02:00
mlenders
31d0e35c0b C6O implemented 2011-06-18 23:33:47 +02:00
mlenders
d23d1ff256 ABRO implemented 2011-06-18 23:33:27 +02:00
mlenders
f403366d26 Added serial number arithmetics (corresponding RFC1982) for version field in ABRO 2011-06-18 18:25:34 +02:00
mlenders
be23b1121e Assure assignment of con in lowpan_iphc_encoding and lowpan_iphc_decoding 2011-06-18 18:17:18 +02:00
mlenders
07f6292455 context update now returns the updated context 2011-06-18 18:11:00 +02:00
mlenders
29d37af23e Context prefixes, Address generation after IETF Context prefixes now are in conformity to IPv6 prefixes [RFC3513] + Address generation by Context now after [draft-ietf-6lowpan-hc-15], section 3.1.1 + some minor errors fixed. 2011-06-18 18:04:02 +02:00
mlenders
8eba66a82f added simple getter 2011-06-14 22:52:24 +02:00
mlenders
cf0f0e1747 Context-Management implementiert 2011-06-14 22:28:56 +02:00
mlenders
12ab511f29 C6O-Flags defined 2011-06-14 19:21:50 +02:00
mlenders
a2c7cf8f9a 6CO und ABRO in header 2011-06-14 18:25:05 +02:00
Stephan Zeisberg
dcf45b08a7 global buffer is now thread safe, ns compression bug solved 2011-05-16 14:26:42 +02:00
Stephan Zeisberg
ddec7bad36 vtimer sixlowpan functions 2011-04-15 16:43:43 +02:00
Oliver Hahm
90ad73e0f8 [sys shell shell_commands]
* added missing header include
2011-04-14 13:49:18 +02:00
Oliver Hahm
0661ce2f7f [sys shell]
* fixed some shell commands
2011-04-06 11:11:03 +02:00
Stephan Zeisberg
5abef6daf2 changed types irq_callback, hashtable, posix_io, s_display_flags, seq_buffer_entry, tcb, toprint to type_t" 2011-03-08 11:43:21 +01:00
Stephan Zeisberg
e9d351da8d changed ringbuffer to ringbuffer_t 2011-03-08 11:17:57 +01:00
Stephan Zeisberg
6a96de0d2f changed msg to msg_t 2011-03-08 10:54:40 +01:00
Stephan Zeisberg
3819077ff4 fixed some reassembling bugs 2011-02-22 13:25:45 +01:00
Stephan Zeisberg
eff15fa054 fixed some reassembling bugs 2011-02-22 13:19:16 +01:00
Oliver Hahm
4533726214 * introduced energy profiling (yet in a very early state) 2011-01-31 18:25:20 +01:00
Stephan Zeisberg
8b4bccde36 added: icmp 135,136 / iphc header encoding/decoding 2011-01-24 22:41:32 +01:00
Stephan Zeisberg
0440c19f6b added some neigbor discovery options to icmp message functions 2011-01-18 11:02:48 +01:00
Stephan Zeisberg
2ddc48de4e reprogrammed address handling and created address interface structure 2011-01-07 23:38:42 +01:00
Stephan Zeisberg
5e26d199cc fragmentation and reassambly works now and cleaned up tons of warnings 2011-01-07 13:02:27 +01:00
Stephan Zeisberg
66b668d6e1 implemented ieee 802.15.4 data transmission 2011-01-04 10:25:16 +01:00
3c343560e9 * fix auto init 2010-12-15 12:43:15 +01:00
99b4dd7314 * chronos display putchar included 2010-12-14 16:40:47 +01:00
Stephan Zeisberg
4bce433513 branch merge 2010-12-13 11:21:22 +01:00
Stephan Zeisberg
2fabdc1620 new ieee802154 frame create/parse functions 2010-12-13 11:14:41 +01:00
Oliver Hahm
ddcbd10a03 [RTC]
* added a general RTC header
* added RTC support to chronos
2010-12-13 01:29:46 +01:00
Oliver Hahm
6be1cf2a76 [board/chronos board/msb-430h board/msba2-common drivers/cc110x_ng sys/shell
sys/transceiver]
* renamed all occurrences of cc1100 to cc110x as in fact all driver parts should
work for cc1100 and cc110x as well

[driver/cc110x_ng]
* added some documentation
* introduced a new register function to access rxfifo (fixing the of-by-one
problem on chronos platform
2010-12-11 12:09:20 +01:00
Oliver Hahm
da7077b467 Merge branch 'master' of ssh://ukleos.des-mesh.net/home/git/ukleos 2010-12-10 18:02:31 +01:00
Oliver Hahm
ec6a794143 [cc110x_ng]
* fuxed transceiver driver for chronos
* some more stuff
2010-12-10 18:00:31 +01:00
54b8f9b48a * vtimer: api doc updates 2010-12-10 17:31:26 +01:00
0ac2965b43 *swtimers: marked deprecated 2010-12-10 17:30:21 +01:00
1ee8fb13dd * vtimer: api compatible to swtimer. 2010-12-10 17:16:18 +01:00
9757bb7dda * many fixes. vtimer_hammer OK now. 2010-12-10 16:52:06 +01:00
88ccc555dc * moved config to sys, split away board specifics 2010-12-06 17:32:27 +01:00
6a950320ae * vtimer: new virtual timer implementation 2010-12-06 16:02:40 +01:00
9714c1e779 Merge branch 'master' of ssh://ukleos.org/home/git/ukleos 2010-12-06 15:50:58 +01:00
Oliver Hahm
e7372b21a9 [board config]
* made config optional
2010-12-06 13:19:31 +01:00
Oliver Hahm
1eec8e170e * introduced flashrom driver for msb430
* restructured some files concerning flashrom access
* added some ifdefs to shell commands
2010-12-03 22:22:58 +01:00
Oliver Hahm
fb1cb91c75 [board/msp-430-common board/msba2 core/]
* introduced dummy function for msp-430 config-save
* moved sysconfig from board to core

[sys/transceiver cpu/]
* moved some buffer size defines to cpu dependent parts

* some cleanups
2010-12-03 18:42:03 +01:00
Oliver Hahm
4a2c58bbba [drivers/cc110x_ng sys/transceiver]
* updated interface to switch transceiver off and back to rx mode
* removed some debugging stuff
2010-12-02 15:38:28 +01:00
0de6300af0 * added some time functions 2010-12-01 17:23:28 +01:00
0b515b4063 * added timex to Jamfile 2010-12-01 17:15:58 +01:00
b93e3e8e69 Merge branch 'master' of ssh://ukleos.org/home/git/ukleos 2010-12-01 17:13:40 +01:00
2cc6d44e52 * initial checkin of timex lib 2010-12-01 17:13:37 +01:00
Oliver Hahm
a46cdf189a * introduced identifiers (include shell commands to get and set)
* introduced a system wide configuration
2010-12-01 16:26:48 +01:00
Stephan Zeisberg
4f638e0ff0 deleted a structure 2010-11-30 11:38:48 +01:00
Stephan Zeisberg
8264cde342 branch merge 2010-11-30 11:04:57 +01:00
Stephan Zeisberg
52b1bc9276 implemented internet checksum algorithm 2010-11-30 10:21:29 +01:00
Oliver Hahm
b522722ec6 [sys/transceiver projects/test_cc110x_ng]
' fixed buffer management
 ' introduced a message queue
2010-11-27 19:27:05 +01:00
Oliver Hahm
54172b5c86 [sys/shell project/test_cc110x_ng]
' moved monitor command from userapp to default shell command set

[sys/transceiver]
 ' make transceiver_pid "public"
2010-11-27 11:09:42 +01:00
Oliver Hahm
413b2898ec * missing file from last commit 2010-11-27 10:52:17 +01:00
Oliver Hahm
f5ab5c27bb [drivers/cc1100_ng sys/transceiver]
' added a monitor mode

[sys/shell projects/test_cc1100_ng]
 ' moved shell commands to get/set channel and address and sending a packet from
 userapp to default shell command set
2010-11-27 10:50:18 +01:00
Oliver Hahm
e6752c739b [drivers/cc110x_ng projects/test_cc110x_ng sys/transceiver]
* fixed length handling
 * more sophisticated sending function in userapp
2010-11-26 17:06:54 +01:00
Oliver Hahm
1956603065 [sys/transceiver.c]
* fixed pointer handling in receive function
2010-11-26 15:02:43 +01:00
Oliver Hahm
29cb64a37e * NOTE: simple packet exchange using cc110x_ng seems to work now
* added TX functions to cc110x_ng driver and transceiver module
* split up cc1100_ng functions to more files
* added address asignment and request functions to driver and transceiver module
2010-11-26 10:23:46 +01:00
Oliver Hahm
d378ee1930 * added getter and setter for the channel to transceiver
* receiving now seems to work...
2010-11-24 21:45:38 +01:00
Oliver Hahm
4ebfaefce1 * additionally debug for transceiver receiving functions
* added set_channel function to cc110x_ng
2010-11-24 13:47:31 +01:00
Oliver Hahm
d950fbcf81 * CC1100_NG still not working!
* added some debugging stuff
* changed cc1100_ng <-> transceiver msg api
* revised test application
2010-11-24 11:20:27 +01:00
Oliver Hahm
8d5a4890e4 * revised buffer and messaging management of transceiver
* renamed cc1100_ng header
2010-11-23 11:37:13 +01:00
Stephan Zeisberg
20ce94fd61 functions to get buffer pos implemented 2010-11-22 12:52:56 +01:00
Oliver Hahm
d98545f378 * changed buffer format for cc110x_ng and transceiver
* added some documentation
* added support for more than one transceiver
2010-11-21 14:00:24 +01:00
Oliver Hahm
044616bf19 * some work on rx handling in cc110x_ng
* added first version of cc110x_ng test application
* introduced a generic transceiver interface and module
2010-11-19 20:10:09 +01:00
Oliver Hahm
ee4b68371c * added readc and putc to uart0 library
* allow overwrote of port by argument for pyterm
2010-11-18 17:33:25 +01:00
Oliver Hahm
14e2a4718f * changed rtc interface 2010-11-17 17:20:40 +01:00
Stephan Zeisberg
5ab4ca3768 renamed defines 2010-11-09 22:20:26 +01:00
Oliver Hahm
fb784c6628 * fixed units in ltc command 2010-11-09 18:51:04 +01:00
Oliver Hahm
37eb17417f Merge branch 'master' of ssh://ukleos.des-mesh.net/home/git/ukleos 2010-11-09 18:49:25 +01:00
Oliver Hahm
75c0962363 * added get_interval function to ltc4150
* fixed date command (problem with leading zeros)
2010-11-09 18:48:45 +01:00
79d2902d2b * added initial cc1100 shell commands 2010-11-09 17:08:54 +01:00
5df2aa6fb7 * added initial cc1100 shell commands 2010-11-09 17:08:35 +01:00