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

656 Commits

Author SHA1 Message Date
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
903ec54a43 making include directives consistent 2013-12-19 15:31:37 +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
Martin Lenders
41da8481dd Merge pull request #421 from OlegHahm/revert_tcp_optional
Revert tcp optional
2013-12-17 05:45:30 -08: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
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
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
Oleg Hahm
2f5530083b Merge pull request #350 from OlegHahm/ipv6_csum
IPv6 Upper-Layer Checksums
2013-12-08 16:11:26 -08: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
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
Christian Mehlis
00956e9ba5 Merge pull request #351 from OlegHahm/tcp_optional
make TCP in destiny optional
2013-12-03 02:19:44 -08: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
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
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
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
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
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
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
19f4f45445 added some debug output for the network stack 2013-11-14 10:46:21 +01: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
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
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
Martin Lenders
a9bbcb0868 Fix sixlowpan/icmp.h
size_t in function definition needs stddef.h include
2013-11-04 11:08:37 +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
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
1b4a9a336f Merge pull request #263 from OlegHahm/sixlowpan_fixes
sixlowpan address initialization
2013-10-29 02:49:39 -07: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
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
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
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
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
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
Martin
c37dce2d31 fixup payload offset calculation for fragmented packets 2013-10-07 16:07:20 +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
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
Oleg Hahm
6d130a45ac updated license headers
(No code changes!)
2013-08-16 10:20:23 +02: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
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
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
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
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
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
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
d7a297957f removed unmaintained micro mesh routing code 2013-08-12 22:38:18 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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