Commit graph

7100 commits

Author SHA1 Message Date
adamdunkels
5a7034fe5d A really simple Contiki program, intended to show how the build system works and how to write simple Contiki programs 2006-10-02 21:46:46 +00:00
adamdunkels
8c080b3677 Brief instructions for getting started with Contiki for Windows 2006-10-02 20:08:40 +00:00
adamdunkels
ca1045700e Updated documentation 2006-10-02 20:07:05 +00:00
adamdunkels
cffc41ff27 Updated documentation 2006-10-02 20:05:07 +00:00
adamdunkels
7b58a3212f Updated documentation 2006-10-02 20:05:07 +00:00
adamdunkels
b1ba41842f moved text to esb.txt 2006-10-02 20:04:38 +00:00
fros4943
83d4720279 added transmission duration approximation
(manchester encoding, uart-extra-bit, 19.2kbps)
2006-10-02 15:38:44 +00:00
fros4943
779ecd27a4 updated for new radio version.
not fully tested yet
2006-10-02 15:19:28 +00:00
fros4943
2ae5b09f30 new radio driver (allows for transmissions longer than one tick) 2006-10-02 15:18:55 +00:00
fros4943
c69f9298a4 new radio driver (allows for transmissions longer than one tick) 2006-10-02 15:10:57 +00:00
fros4943
54f852bf80 removed ether-process (new radio driver) 2006-10-02 15:07:59 +00:00
fros4943
68d26d4628 busy-wait before process_run()
allows glue drivers to force system to wait
2006-10-02 15:07:33 +00:00
fros4943
41578b35c4 radio driver with busy-wait support 2006-10-02 15:06:12 +00:00
fros4943
f3311d5d4c added busy-wait global variable 2006-10-02 15:05:49 +00:00
fros4943
cb71b2fca6 added support for busy-waits in simulated contiki processes
(the entire process_run()-loop is inside a Contiki multi-thread)
2006-09-29 14:32:15 +00:00
fros4943
c033cf5810 added multithreading sources to makefile 2006-09-29 12:48:48 +00:00
bg-
7b981562ad Use minileds by default. 2006-09-27 10:00:42 +00:00
bg-
fa02e72526 Bit-banging I2C master. 2006-09-27 09:43:55 +00:00
bg-
752fa92657 Minimalistic plug in replacement for the leds package. 2006-09-27 09:32:08 +00:00
adamdunkels
e117830406 Must reset uip_slen to zero after transmit to avoid confusing uIP if it is invoked after this function 2006-09-26 22:12:59 +00:00
adamdunkels
58b7f8de5b Added a hack for setting a text label on each simulated node 2006-09-26 22:10:12 +00:00
adamdunkels
15aba3d619 Cleanup 2006-09-26 22:09:26 +00:00
adamdunkels
b9607d3be2 Fixed the order of the statistics fields, added UIP_APPDATA_PTR pointer that always points to the application data space in the uip_buf buffer, added the documentation for an uip_ipaddr_isbroadcast() function. 2006-09-26 21:02:35 +00:00
adamdunkels
1504f2836e Commented out unused functionality: the ability to create a process running a thread was never used. With the new code, only running 'bare' threads is supported. If support for creating processes with a thread is needed, it may be reneabled later but currently there doesn't seem to be a need for it 2006-09-26 20:59:51 +00:00
adamdunkels
6bd28132ed Fixed the behaviour of PT_SCHEDULE() so that it returns true if a protothread is still active (yielded or waiting). Thanks to Kevin Collins for fixing. 2006-09-26 20:57:58 +00:00
adamdunkels
e072e4084a Added a function for measuring stack usage 2006-09-26 20:56:42 +00:00
adamdunkels
25a132cff2 A module that allows Contiki processes to have subprocesses. A subprocess is defined within another process and is created on the fly when needed. 2006-09-26 20:53:27 +00:00
bg-
4485e50351 Add ssd kernel and uip-udp-packet.o. 2006-09-26 15:52:37 +00:00
bg-
670f414594 * FASTSPI_READ_RAM_LE(p,a,c,n) for completeness. 2006-09-26 15:48:01 +00:00
bg-
3de6d787c9 * New function slip_write(u8_t *ptr, int len).
* Slip active detection and current address reporting.
2006-09-26 15:47:14 +00:00
bg-
1429faa22e Fancier tunslip with keepalives, address detection, route management,
route cleanup.
2006-09-26 15:45:09 +00:00
fros4943
17431ba16c changed mote state to enum type instead of int 2006-09-26 13:08:05 +00:00
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