Commit graph

12063 commits

Author SHA1 Message Date
fros4943 3d66a54bdc bug fix: interfering already interfered (prolonging) radios 2006-10-05 08:19:41 +00:00
fros4943 d6bbf0cf3d added support for new busy-wait radio interfaces (+fixed null pointer bug) 2006-10-05 07:53:06 +00:00
fros4943 b25f16936b added possibility to interfere with radio receptions "in the future" - reduces code complexity for radio mediums 2006-10-05 07:49:59 +00:00
fros4943 cb7dbad086 minor change, risk that simulation stalls if busywait counter is set to negative 2006-10-05 07:48:15 +00:00
fros4943 ad08af59f0 bug fix: busy-waiting before checking data length 2006-10-05 07:46:53 +00:00
fros4943 eb0b2f137e rewrote switch-procedure in asm
(solves problems with different gcc versions)
2006-10-04 15:05:37 +00:00
oliverschmidt 50fda17c3e Moved error_exit() to the Win32 Contiki Core. 2006-10-03 11:27:51 +00:00
fros4943 f5cee13b01 making sure that core actually handles button press event before releasing button again (possible bug during busy-waits) 2006-10-03 08:45:28 +00:00
fros4943 dcf40292a3 added beeper interface panel 2006-10-03 08:44:21 +00:00
oliverschmidt 58be00541d Added the CCIF (Contiki Core InterFace) declarations necessary for fatal error display on Win32. 2006-10-03 00:30:42 +00:00
oliverschmidt d62f9608dc Improved error handling. 2006-10-03 00:28:36 +00:00
adamdunkels a043ca000b Short description added 2006-10-02 22:06:14 +00:00
adamdunkels 60c700b66e Added documentation of the Contiki build system 2006-10-02 22:04:09 +00:00
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