Commit graph

9768 commits

Author SHA1 Message Date
fros4943 7ef9271567 added method to get last tick used energy 2006-09-26 12:47:06 +00:00
oliverschmidt 328071ff10 Added network support to the Win32 platform.
Network I/O is done using the usual suspect - which is WinPcap. There's no need for the WinPcap Developer's Pack! An ordinary WinPcap install - as it is i.e. part of Ethereal - is sufficient.

The code is still under development. But as I recently successfully opened HTML pages with the Contiki web browser I thought it might be the right time for an initial commit.
2006-09-23 20:25:02 +00:00
oliverschmidt f601f3a0ac Added the CCIF (Contiki Core InterFace) declarations necessary for logging from loadable code on Win32. 2006-09-23 20:12:40 +00:00
oliverschmidt 9e9677b4f0 Added the CCIF (Contiki Core InterFace) declarations necessary for a loadable ARP handler. 2006-09-23 20:10:08 +00:00
adamdunkels 1ab2bba7b8 Fix for bug when script goes past the end of a file (thanks to Till Harbaum) 2006-09-20 19:18:56 +00:00
adamdunkels cf57e00d60 uip_ipaddr_t changes fixed thanks to Marcelo Barros 2006-09-20 19:06:41 +00:00
oliverschmidt 3e92f843ba More uip_ipaddr_t fixes. 2006-09-18 23:27:42 +00:00
oliverschmidt fca710e447 More uip_ipaddr_t fixes and removal of the last occurances of WITH_ETHERNET. 2006-09-18 22:48:05 +00:00
oliverschmidt d3e4b7524d Examples really benefit from actually working ;-) 2006-09-09 23:29:50 +00:00
oliverschmidt 83561d8963 Added the CCIF (Contiki Core InterFace) declarations necessary for a loadable packet driver. 2006-09-09 23:24:39 +00:00
oliverschmidt 253dcb44ce Replaced Win32 ctrl-c handler with C-library atexit handler (taking care of ctrl-c too) now that we have a Contiki Quit menu calling exit(). 2006-09-09 23:20:39 +00:00
oliverschmidt e3dab56825 Do a consistent non-UNICODE build. 2006-09-09 23:13:09 +00:00
oliverschmidt 8a8575b63c Don't make assumptions on textentry contents beyond the first '\0'. 2006-09-09 23:09:59 +00:00
bg- 63c431a271 Oops. broken backwards compat. 2006-09-07 17:05:21 +00:00
bg- 35e6053795 Use ticks for s.ticks. 2006-09-07 15:57:59 +00:00
bg- e521d25241 Add processing of command line options but stay backwards compatible. 2006-09-07 15:48:47 +00:00
fros4943 2a221971f4 quickstart outputs error stream from compilation 2006-09-07 12:01:35 +00:00
fros4943 b06d4a9617 changed compileLibrary to accept output streams instead of message window 2006-09-07 11:59:50 +00:00
fros4943 ac57250e80 added getInputStream method. returns a stream which ends in message window 2006-09-07 11:54:15 +00:00
fros4943 3af7e79333 bugfix: possible to append to null message lsit 2006-09-07 11:03:37 +00:00
fros4943 2edf36f4cf updated move action (uses move cursor) 2006-09-07 09:54:37 +00:00
fros4943 323186791d example how to quickstart cooja 2006-09-06 14:47:59 +00:00
fros4943 c729adb8ee removed old unused makefile-quickstart code
+
tidied up some code
2006-09-06 12:26:33 +00:00
fros4943 1a3761e1a9 removed old unused makefile-quickstart code
+
tidied up makefile
2006-09-06 12:20:12 +00:00
fros4943 4c52b930c8 added copyright header 2006-09-06 10:37:08 +00:00
fros4943 f9d4fa93f8 removed old unused makefile-quickstart code 2006-09-06 10:32:31 +00:00
fros4943 bfbf253a93 removed old unused makefile-quickstart code 2006-09-06 10:23:24 +00:00
fros4943 720db06163 added new (experimental) quickstart method
example usage (from user platform):
> java -jar $CONTIKI/tools/cooja/dist/cooja.jar -quickstart=myprocsource.c -contiki=$CONTIKI
2006-09-06 10:05:22 +00:00
fros4943 0490cb7c35 outsourced 'scan for autostart processes' to static method 2006-09-05 14:57:57 +00:00
fros4943 8c16d29d5e minor bug fix 2006-09-05 14:12:48 +00:00
adamdunkels a918793e19 Put mt.c back in there, but this time the problematic code that was in the file is commented out 2006-09-01 22:57:32 +00:00
adamdunkels ea13dd9179 #if 0:ed out unused code 2006-09-01 22:56:47 +00:00
adamdunkels 80a7d1fba2 Added mtarch.c 2006-09-01 22:56:26 +00:00
adamdunkels 2ab93b730f Fixed include path 2006-09-01 22:56:18 +00:00
adamdunkels fbcb4a97c2 Made stacksize configurable via external definition 2006-09-01 22:56:02 +00:00
adamdunkels b7a0184eac Removed compilation of unused file mt.c 2006-09-01 07:13:56 +00:00
adamdunkels 7bfd457bbc Fixed bug where instruction to be relocated was fetched from an incorrect location 2006-09-01 07:10:01 +00:00
adamdunkels 2380d63260 Added uip-udp-packet.h 2006-08-31 09:36:46 +00:00
adamdunkels deba5cfcd5 Added uip-udp-packet.c. Made native the default target. Added a 'targets' target that lists all available targets. 2006-08-31 09:36:29 +00:00
adamdunkels b8bf33f53f Functions for sending individual UDP datagrams 2006-08-31 09:35:27 +00:00
oliverschmidt d3d215d142 The special handling of mouse-over detection for bitmaps and icons seems unnecessary since the the member 'h' is always present and can always be assumed to be initialized. Furthermore the special handling prevented multiline textentries to be treated correctly. Therefore the special handling is now completely removed (and the handling of the 'h' member is adjusted). 2006-08-30 23:12:33 +00:00
oliverschmidt 162ca26b65 Activated quit menu option. 2006-08-30 22:41:52 +00:00
oliverschmidt b55b0e0367 Added quit menu option. 2006-08-30 22:40:58 +00:00
oliverschmidt fba087810d Don't make assumptions on textentry contents beyond the first '\0'. 2006-08-30 22:24:12 +00:00
oliverschmidt 62a48a4138 Don't make assumptions on textentry contents beyond the first '\0'. 2006-08-30 22:15:25 +00:00
oliverschmidt 301c1f45cf Move the strcasecmp macro out of the diretory app context now that it is used in the shell app too. 2006-08-30 22:07:53 +00:00
oliverschmidt 5235bed2b2 The Contiki 2.x process entity doesn't contain a process id anymore. Therefore processes are killed by name rather then by id. 2006-08-30 22:06:18 +00:00
fros4943 da561d138b made generate source file method static (to allow for remote library compilations) 2006-08-30 14:59:35 +00:00
fros4943 b1c7153aa6 Added interface config (earlier added by Oliver) 2006-08-30 14:48:36 +00:00
fros4943 f75392de6a lowered uIP settings for smaller memory requirements during simulations 2006-08-30 10:04:08 +00:00