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

975 Commits

Author SHA1 Message Date
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
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
60880821fa Merge pull request #342 from OlegHahm/transceiver_ignore
added a transceiver independent ignore function
2013-11-25 08:58:42 -08: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
7c979751e5 Merge pull request #368 from mehlis/findings
(non critical) findings
2013-11-22 18:52:13 -08: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
e4b1771276 added a transceiver independent ignore function 2013-11-23 03:33:40 +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
aca74989a5 explain loop in transceiver_register 2013-11-22 12:31:37 +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
Ludwig Ortmann
2c52c0a79d fix table header indentation 2013-11-21 22:09:42 +01:00
Christian Mehlis
ffdeb41b4d fix debug output 2013-11-21 21:38:02 +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
5c039eb4b6 Merge pull request #340 from LudwigOrtmann/ps_includes
make ps includes adhere to coding convetions
2013-11-19 08:48:49 -08:00
Ludwig Ortmann
96fe3a16ee make ps includes adhere to coding convetions 2013-11-18 18:00:35 +01:00
Ludwig Ortmann
d06e0d8717 rename runtime to reflect the unit of measurement 2013-11-18 12:14:43 +01:00
Ludwig Ortmann
18fad22e30 make chardev_thread includes adhere to coding conventions 2013-11-14 15:08:32 +01:00
Oleg Hahm
2532dda859 Merge pull request #241 from mehlis/shell
shell: don't use malloc on each line
2013-11-14 05:44:43 -08:00
Oleg Hahm
cc45909ffc Merge pull request #236 from OlegHahm/telosb
Telosb
2013-11-14 01:55:47 -08:00
Oleg Hahm
19f4f45445 added some debug output for the network stack 2013-11-14 10:46:21 +01:00
Christian Mehlis
84e73ae324 clean up shell 2013-11-14 10:45:24 +01:00
Christian Mehlis
bb85cb33d9 shell: dont't use malloc on each line 2013-11-14 10:45:24 +01:00
Christian Mehlis
97482a0227 Merge pull request #297 from OlegHahm/debug_fixes
fixed debug output for ps and vtimer
2013-11-14 01:18:51 -08: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
Oleg Hahm
1117867eaf Merge pull request #231 from thomaseichinger/maca_move
move mc1322x MACA implementation from the boards to RIOT repo
2013-11-06 14:21:58 -08:00
Oleg Hahm
726db0518c added stddef include to strings.h for size_t 2013-11-06 11:42:33 -08: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
c41fe46b54 Merge pull request #290 from authmillenon/posix_strings_header
Add POSIX compatible case insensitive compare
2013-11-04 14:07:45 -08:00
Oleg Hahm
5fea3af233 Merge pull request #294 from authmillenon/rewrite_bitarithm
Use GCC/Clang builtins for bit arithmetics
2013-11-04 12:08:02 -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
3be2a3227a shell: refactor default shell command handling
before, we actually duplicated code for handling of shell commands
supplied to shell_init and those hardcoded by MODULE_SHELL_COMMANDS.

This patch refactors shell.c find_handler and print_help so there's
no duplicated code.
2013-11-04 17:06:50 +01:00
Martin Lenders
9f9a48db9f Minor documentation fixes 2013-11-04 13:29:22 +01: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
Oleg Hahm
2f14997124 fixed debug output for ps and vtimer 2013-11-03 07:30:41 -08:00
authmillenon
18e97f6dd5 Use GCC/Clang builtins for bit arithmetics 2013-11-03 15:14:28 +01:00
Martin Lenders
af578b6497 Add POSIX compatible case insensitive compare 2013-11-03 15:04:04 +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
Christian Mehlis
6a317cdd1a add radio_packet_length_t 2013-10-29 20:36:12 +01:00
Oleg Hahm
a3854fd933 Merge pull request #286 from OlegHahm/shell_commands_Makefile
make shell commands Makefile coherent
2013-10-29 12:32:00 -07: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
932b967bd7 Merge pull request #273 from LudwigOrtmann/uart0_cleanup
Uart0 cleanup
2013-10-29 12:30:04 -07:00
Oleg Hahm
7d02eb3a44 Merge pull request #280 from LudwigOrtmann/auto_init_imports
clean up auto_init imports
2013-10-29 10:26:49 -07:00
Oleg Hahm
1b4a9a336f Merge pull request #263 from OlegHahm/sixlowpan_fixes
sixlowpan address initialization
2013-10-29 02:49:39 -07:00
Oleg Hahm
94454f455d use Makefile.base for shell_commands 2013-10-29 10:48:24 +01: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
Ludwig Ortmann
4a1005c6a1 clean up auto_init includes
Include headers only if respective module is built.
Fixes building for msb-430.
Prevents possible build breaks in the future.
2013-10-28 17:55:23 +01:00
Ludwig Ortmann
fab4cef747 remove race condition for good 2013-10-28 17:55:02 +01: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
Ludwig Ortmann
8d657b0ff6 make includes coding convention compliant 2013-10-27 12:41:21 +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
Christian Mehlis
39d5299f69 posix: add semaphore implementation 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
Martin Lenders
fa01202b65 Merge pull request #256 from OlegHahm/destiny_fixes
Destiny fixes
2013-10-25 05:27:28 -07:00
Ludwig Ortmann
05987cb6db break long line 2013-10-23 22:46:18 +02:00
Ludwig Ortmann
0f066befeb use CREATE_WOUT_YIELD on uart0 thread creation
This should remove a race condition in the case that some uart event
occurs after the uart0 thread has started and before control has
returned to the calling thread, as uart0_handler_pid would not have
been set yet.
2013-10-23 22:13:53 +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
Ludwig Ortmann
d708686a49 fix malloc include for OSX 2013-10-18 14:22:06 +02:00
Oleg Hahm
269171a99f Merge pull request #238 from mehlis/debug-guard
Debug: guard some code
2013-10-16 06:43:28 -07: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
Christian Mehlis
9c70e4501c only include debug functions if needed 2013-10-11 14:21:47 +02:00
Christian Mehlis
9fecec8f57 fix debug handling 2013-10-11 14:21:47 +02:00
Oleg Hahm
031e335e24 Merge pull request #97 from OlegHahm/makefile_windows_fixes
merged zkasmi/makefile_fixes to makefile_windows_fixes
2013-10-10 09:25:03 -07:00
Oleg Hahm
46deefe0f8 make Makefiles proof for spaces in $PATH 2013-10-09 15:28:53 +02:00
Kévin Roussel
d2535f3841 Added missing definition of 'PRIu32' in some RIOT include files
to avoid a bug in mspgcc's standard library
2013-10-09 15:10:22 +02:00
Martin
c37dce2d31 fixup payload offset calculation for fragmented packets 2013-10-07 16:07:20 +02:00
Thomas Eichinger
7abda31b0f move mc1322x MACA implementation from the boards repo to RIOT repo 2013-10-04 14:20:51 +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
9ac5a26600 include sc_heap only when building for LPC boards 2013-09-19 13:47:23 +02:00
zkasmi
ceedb9b496 Converting tabs to spaces. 2013-09-18 16:38:14 +02:00
zkasmi
4a614b8a35 add the heap command to the shell command list + coding conventions. 2013-09-18 16:38:14 +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
Ludwig Ortmann
031b53872d initalize transceiver_buffer properly 2013-09-04 20:40:58 +02:00
Christian Mehlis
16dbafe319 Merge pull request #182 from LudwigOrtmann/make_clang_happy
Fix some clang warnings in native
2013-08-31 00:25:35 -07:00
Ludwig Ortmann
a714597482 fix spelling & warning of _heap_handler parameter 2013-08-30 17:14:56 +02:00
Ludwig Ortmann
c2fcbb787e Fix some clang warnings in native
also cleans up a bit
2013-08-30 17:03:34 +02:00
Ludwig Ortmann
37c3059e1c clean up nativenet, add src addr 2013-08-29 16:16:46 +02:00
Christian Mehlis
2e44523b51 change the bloom filter to filter arrays of bytes
current implementation of the bloom filter only
handles c strings, this commits changes the hash
functions to work on byte arrays.

additionally I did:
	added to more hashes
	moved hashes in its own sys folder
2013-08-27 13:30:33 +02:00
Christian Mehlis
0dc5437e31 fixes for PRNG 2013-08-26 22:18:02 +02:00
René Kijewski
49876c15f7 Update on @mehlis' Mersene twister code
* Consistent naming
* C99 style variable definition
* Code de-duplication through mathematical conversions
* Less magic numbers (higher powers of twoof two))
2013-08-26 22:18:02 +02:00
Christian Mehlis
5ccde8340d add mersenne twister 2013-08-26 22:17:46 +02:00
Zakaria Kasmi
c52a24625f reverted license change from 0634f21542 2013-08-26 11:30:36 +02:00
Zakaria_Kasmi
3ea68ecfc1 add a handler for the heap state 2013-08-26 11:30:17 +02:00
Christian Mehlis
df1755b912 fix broken warning 2013-08-20 09:58:46 +02:00
Martin Lenders
50f4e473d2 Fix transceiver documentation 2013-08-16 13:12:12 +02:00
Oleg Hahm
6d130a45ac updated license headers
(No code changes!)
2013-08-16 10:20:23 +02:00
Oleg Hahm
fed90e2328 Merge pull request #150 from OlegHahm/6lowpan_plugtest_fixes
6lowpan plugtest fixes
2013-08-15 14:27:09 -07: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
Oleg Hahm
dc7620b4b7 fixing ifdef/elif construct around prototypes in transceiver.c 2013-08-15 20:08:18 +02:00
Oleg Hahm
50dd9c3f21 undefined payload before setting for native 2013-08-15 19:39:39 +02:00
Oleg Hahm
701b8177fb fixed some ifdefs and added necessary includes to transceiver.h 2013-08-15 19:27:31 +02:00
Oleg Hahm
e65ae85640 remove static for vtimer_print 2013-08-15 19:13:21 +02:00
Oleg Hahm
b64fb65935 Merge branch 'agilefox_clean' of https://github.com/AlaeddineWeslati/RIOT into AlaeddineWeslati-agilefox_clean
Conflicts:
	sys/include/transceiver.h
	sys/transceiver/transceiver.c

Additional changes:
* allow for multi-transceiver initialization
* change packet reception to old implementation
2013-08-15 19:07:14 +02:00
Oleg Hahm
b798663151 Merge pull request #140 from LudwigOrtmann/nativenet_transceiver
Nativenet transceiver
2013-08-15 06:06:37 -07:00
Ludwig Ortmann
708ece68cc cc1100 -> nativenet 2013-08-15 14:05:26 +02:00
Ludwig Ortmann
2b8da20476 fix PAYLOAD_SIZE define 2013-08-15 13:55:58 +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
1d9ce4d8c5 Merge pull request #142 from OlegHahm/minor_include_fixes
Minor include, function prototype, and coding convention fixes
2013-08-15 01:55:41 -07:00
Oleg Hahm
f81fc54bc7 Merge pull request #141 from LudwigOrtmann/transceiver_receive_types_fix
Fix transceiver.c: receive_packet
2013-08-15 01:43:44 -07: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
Oleg Hahm
e74eed6978 added missing include to oneway_alloc for MSP430 platforms 2013-08-15 10:31:53 +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
Oleg Hahm
9fdae28876 Merge pull request #133 from authmillenon/sixlowpan_refactor
Refactor 6LoWPAN module
2013-08-15 00:55:06 -07: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
Ludwig Ortmann
db8c0bdfcb Fix transceiver.c: receive_packet
Upper layer notification used packet type instead of transceiver type
to check monitoring threads.
2013-08-15 00:38:59 +02:00
Oleg Hahm
ec1d7b9bdf Merge pull request #139 from OlegHahm/default_stacksize
Default stacksize
2013-08-14 15:21:48 -07: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
Oleg Hahm
7eba346aff make transceiver make use of the default stacksize 2013-08-14 18:07:01 +02:00
Oleg Hahm
b1c57a9755 removed duplicated paragraph 2013-08-14 17:52:27 +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
19c67711b8 removing residual breaks in switch-case statements due to #ifdefs 2013-08-13 18:27:13 +02:00
Oleg Hahm
529afacbec some debug enhancements 2013-08-13 18:27:13 +02:00
Oleg Hahm
ecca0ee28e fix for #117 and position of preprocessor directives 2013-08-13 18:27:06 +02:00
Oleg Hahm
011154df6e clean up of ifdefs in transceiver module 2013-08-13 10:48:57 +02:00
Oleg Hahm
88b8ccf3e8 Merge pull request #108 from OlegHahm/unmaintained_libs
removed unmaintained code
2013-08-13 00:44:25 -07:00
Christian Mehlis
c6be56ad22 Merge pull request #124 from mehlis/sha256
add the default wrapper for sha256
2013-08-13 00:15:10 -07:00
Oleg Hahm
d7a297957f removed unmaintained micro mesh routing code 2013-08-12 22:38:18 +02:00
Oleg Hahm
540515bd98 removed unmaintained tracelog library 2013-08-12 22:38:18 +02:00
Oleg Hahm
5bf958ce20 removed unmaintained syslog library 2013-08-12 22:38:18 +02:00
Oleg Hahm
d9189f1756 removed unmaintained logd library 2013-08-12 22:38:13 +02:00
Oleg Hahm
2d8bb530f9 Merge pull request #106 from OlegHahm/802154_debugging
added missing include to transceiver
2013-08-12 11:32:30 -07:00
Christian Mehlis
618cb30e30 add the default wrapper for sha256 2013-08-12 19:39:54 +02:00
Alaeddine WESLATI
ab26352ee8 bugfixes : #endif was missing, and TRANSCEIVER_AT86RF231 was colliding with another transceiver. 2013-08-12 16:48:16 +02:00
Alaeddine WESLATI
3338a12d4e added AT86RF231 payload size 2013-08-12 15:17:22 +02:00
Alaeddine WESLATI
11bb09b7f8 started adding at86rf231 driver
at86rf231 TX and RX

driver is using vtimer instead of hwtimer_ functions, TO CHECK

vtimer debug function prototype fix
2013-08-12 15:17:22 +02:00
Christian Mehlis
6b22f479b1 add a barrier for msba2 due to wrong results 2013-08-12 10:01:48 +02:00
Christian Mehlis
870480049f added doxygen doc to sha256 2013-08-12 10:01:48 +02:00
René Kijewski
eda3be3316 Fix byteorder problems 2013-08-12 10:01:48 +02:00
René Kijewski
dc669fbbb3 Eliminate multiline macros, embrace C99 2013-08-12 10:01:48 +02:00
Christian Mehlis
7d84936fd7 add sha256 implementation 2013-08-12 10:01:48 +02:00
Christian Mehlis
0fb5e89c89 moved doc to header and converted it to doxygen 2013-08-10 12:13:31 +02:00
Christian Mehlis
5a45d15894 initial bloom filter import 2013-08-09 22:37:03 +02:00
Christian Mehlis
1f8a80b686 remove superfluous semicolons 2013-08-09 10:26:00 +02:00
Oleg Hahm
0815de942a fixed debugging in transceiver (stack size was too small) 2013-08-08 23:43:15 +02:00
Oleg Hahm
fe3e06bfce added missing include to transceiver 2013-08-08 22:56:49 +02:00
Oleg Hahm
88d2357295 fix warnings from #62 2013-08-08 18:34:51 +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
cf7ab7f093 add cc110x_ng include path to transceiver module 2013-08-04 03:19:51 +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
6d48859269 Merge branch 'master' of github.com:OlegHahm/RIOT 2013-07-29 01:11:42 +02:00
Oleg Hahm
ca53d9231d disabled DEBUG in auto_init 2013-07-25 21:55:49 +02:00
Oleg Hahm
f12d5628eb fixed transceiver for mc1322x 2013-07-24 23:53:23 +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