Commit graph

192 commits

Author SHA1 Message Date
nvt-se 25cc327acc avoid hanging in TX mode after CCA check failed.
minor memory savings.
2009-03-25 15:25:05 +00:00
nvt-se 96fbf3b853 use old style C comments.
convert printf to PRINTF.
remove unnecessary MS_DELAY calls from setupTX and setupRX.
2009-03-24 15:32:26 +00:00
nvt-se 15c447e57e remove some unnecessary instructions and function calls. patch from Jesper Karlsson. 2009-03-24 15:13:11 +00:00
nvt-se 143c7f9cea switched from serial to serial_line. patch from Jesper Karlsson. 2009-03-24 15:02:03 +00:00
nvt-se 6b22fa60e8 - avoid costly rx state initialization if the radio is already on.
- code formatting.
2009-03-19 14:43:31 +00:00
nvt-se 8f85355f02 print the MAC protocol name when starting the node 2009-03-19 14:14:06 +00:00
nvt-se b9ef907690 enable serial line tools using the same commands as the sky platform's Makefile 2009-03-17 22:27:14 +00:00
nvt-se 7e329ab467 removed obsolete file. 2009-03-17 22:20:04 +00:00
adamdunkels 727c5a2dbe Renamed serial module to serial-line 2009-03-17 20:32:22 +00:00
nvt-se 7f3def31b7 removed duplicate inclusion of header, and sorted the entries. 2009-03-17 15:02:19 +00:00
nvt-se 6d0fc26ec1 disabled unstable SD driver. 2009-03-17 15:01:40 +00:00
adamdunkels 65eb5fd4e8 Renamed the rimebuf module to packetbuf to signal that the module is used outside of a pure Rime context (e.g., the sicslowpan code uses it). 2009-03-12 21:58:20 +00:00
nvt-se 80bbc92ffe patch from Jesperk Karlsson. ensures that the fp_uart_handler type is known
in the header.
2009-03-12 12:23:22 +00:00
nvt-se c148e2e7ea Do not include codeprop.h by default. 2009-02-23 14:44:26 +00:00
zhitao 5789bf5596 Modified comments for receiver filter bandwidth settings 2009-02-02 08:52:49 +00:00
zhitao a50d5b701e direct the UART input stream to the default Contiki serial process 2008-12-09 15:56:39 +00:00
nvt-se 79d4d22ee7 replaced usage of 16-bit rimeaddr field. 2008-12-02 16:00:15 +00:00
zhitao 6b33cf434f bug fix: using memcpy() to append CRC checksum to odd-size payload caused memory corruption, use individual byte assignments instead 2008-11-25 16:05:22 +00:00
nvt-se 98a42524d3 minor formatting changes 2008-11-17 16:18:52 +00:00
zhitao 0be308b7ce changed RSSI samples count to maximum (=16) 2008-11-17 16:14:09 +00:00
nvt-se 90691eb6a2 crc calculation contributed by Carlo Alberto Buano + some refactoring. 2008-11-11 12:24:43 +00:00
nvt-se 1a6c909736 added sd_write declaration. 2008-11-10 14:32:49 +00:00
nvt-se 7ac98ee257 added missing watchdog_periodic 2008-11-04 15:46:59 +00:00
joxe bc39f2a86c added get_rssi_packet for getting RSSI from the last packet received 2008-10-29 09:22:39 +00:00
nvt-se 4829ffea50 removed supererogatory file 2008-10-28 14:07:32 +00:00
nvt-se 59012007b9 added an SD example application 2008-10-28 12:56:57 +00:00
nvt-se 1fdb3c21f0 fixed problems with uart and sd cards. 2008-10-28 12:42:53 +00:00
nvt-se 9c3f5beec7 added a small guide. 2008-09-26 18:14:12 +00:00
nvt-se 37fa4da899 support 9600 baud 2008-09-19 12:18:04 +00:00
nvt-se deefb97c16 Changed clock value so it is a power of two. 2008-08-14 11:11:34 +00:00
nvt-se f83000af8a clear bit when uart edge is set. 2008-05-29 22:06:18 +00:00
nvt-se 36fec8dd01 moved sdspi.c to the sd file list. 2008-05-29 22:04:30 +00:00
nvt-se 44c93fcd93 cleared lock semantics 2008-05-28 13:17:08 +00:00
nvt-se fed62e1642 added timeout 2008-05-27 14:22:55 +00:00
nvt-se 07f8875963 added missing header 2008-05-27 14:05:09 +00:00
nvt-se f2c6f77f7d removed debug print 2008-05-27 14:04:15 +00:00
nvt-se ce84dce702 reset locks on forced mode switch 2008-05-27 13:05:52 +00:00
nvt-se 9c9c2573c3 lock UART for RS232 in putchar 2008-05-27 13:03:19 +00:00
nvt-se bff587e32c lock SPI bus when erasing 2008-05-27 13:01:27 +00:00
nvt-se a26bcf30f7 added SPI parameters. 2008-05-27 12:25:48 +00:00
nvt-se 73978e3133 only include sdspi.h if WITH_SDC is on. 2008-03-31 14:33:23 +00:00
nvt-se acf01a0c58 fixed compilation error. 2008-03-31 14:32:00 +00:00
nifi f916c7b130 initialize ctimer after initialization of process 2008-03-31 14:01:26 +00:00
nvt-se 067e4c3c06 include contiki-conf.h for type definitions. 2008-03-31 13:48:03 +00:00
nvt-se f7b3d9fc99 moved files to sd/ 2008-03-31 13:45:52 +00:00
nvt-se fdcc145150 added missing file. 2008-03-31 13:43:34 +00:00
nvt-se 2822ff7ddb made more conform with contiki indentation. 2008-03-28 23:03:05 +00:00
nvt-se 10cabda581 lock wait function from Michael Baar. 2008-03-28 16:06:28 +00:00
nvt-se bd8809d35d print information about the SD card, if existent. 2008-03-28 16:02:01 +00:00
nvt-se 6486460e3f locking bugfix from Michael Baar. 2008-03-28 15:59:58 +00:00
nvt-se 3fec8ee5e7 synced with newer version by Michael Baar. 2008-03-28 15:58:43 +00:00
nvt-se d5c8b18fc2 added accelerometer test with moving average. 2008-03-27 13:08:35 +00:00
nvt-se 5631c92416 use three different input channels for the accelerometer. 2008-03-27 13:04:59 +00:00
nvt-se 1d3bae48dd added sd card support. 2008-02-28 15:49:01 +00:00
nvt-se 2cc0135e35 cleaned up and fixed an error checking problem in the locking code. 2008-02-28 15:11:22 +00:00
nvt-se a06b85f74b adjusted uIP parameters. 2008-02-13 15:41:04 +00:00
oliverschmidt 2632f8f937 Removed finally unnecessary cast. 2008-02-10 22:36:36 +00:00
nvt-se f0891be218 added clear channel assessment timeout. long to begin with. 2007-12-20 14:44:31 +00:00
fros4943 d8f6f03edc moving radio init to init-net files 2007-12-20 13:43:24 +00:00
fros4943 d0997c2dab major bugfix: padding synch with zero 2007-12-20 13:36:59 +00:00
nvt-se abb2731ed7 corrected comparison when bits don't need shifting. 2007-12-20 10:48:01 +00:00
nvt-se 7a6a9e62e4 improved logic. 2007-12-19 13:25:41 +00:00
nvt-se 1f00c20815 state variable must be volatile. 2007-12-19 13:09:01 +00:00
nvt-se b4a8641dda removed printf's. 2007-12-18 15:27:43 +00:00
nvt-se f9d24f0d24 Wake up from sleep in the interrupt when the receiver process is going
to be polled.
2007-12-18 15:26:25 +00:00
fros4943 d21572da02 configurable port 2007-12-18 11:55:01 +00:00
nvt-se ab115e4b10 Removed deprecated function. 2007-12-17 20:18:29 +00:00
nvt-se 1566f55e04 use smaller payload buffer size and provision for synchronization word in
the total buffer.
2007-12-17 20:15:53 +00:00
nvt-se bcefffb0e7 set ev to valid value. 2007-12-17 18:48:50 +00:00
nvt-se 004143b6b8 set rxlen to zero before enabling interrupts. 2007-12-17 16:37:15 +00:00
nvt-se 2288cdecbb small cleanup. 2007-12-17 16:23:32 +00:00
nvt-se 2d5f331b34 new line. 2007-12-17 16:20:34 +00:00
fros4943 479d74ce6a added receiver process outside interrupt 2007-12-17 15:53:57 +00:00
fros4943 7886d51045 removed old dma_init 2007-12-17 15:47:55 +00:00
fros4943 3936e0c275 updated version 2007-12-17 15:47:40 +00:00
nvt-se 5f1ca4ccdf use synchronous transmission. 2007-12-17 15:26:47 +00:00
nvt-se 2a0351afb4 improved uip support and cleaned up the source. 2007-12-17 13:33:09 +00:00
nvt-se 86ce511469 Separate files for network initialization. 2007-12-17 13:20:54 +00:00
fros4943 4da695ce72 bugfix: adding cc1020_init again, node hangs at cc1020_on (calib) otherwise 2007-12-17 11:23:57 +00:00
nvt-se 6a42706847 removed duplicate. 2007-12-17 11:15:21 +00:00
nvt-se a305e3ccbb removed lpm_on. 2007-12-17 11:14:28 +00:00
fros4943 3969ea6f9d not using usb port to program the msb 2007-12-17 11:10:45 +00:00
nvt-se 54bef4bea3 added back initializations that were missing in the previous commit. 2007-12-13 13:10:02 +00:00
nvt-se 665c58fd2a Contributions from Michael Baar:
CC1020

o   Turns off only after transmission has ended and not in between

o   Using events for DMA takes too long. It should use a callback when
    DMA finishes to turn off the transmit mode as early as possible.

Core/UART

o   Added profiling and energest initialization

o   Changed low-power mode from LPM1 to LPM3
2007-12-13 12:51:38 +00:00
nvt-se b1d87bf0d3 Removed deprecated rules. 2007-12-13 11:29:12 +00:00
nvt-se 486ea95b4f Limited support for energy estimation. 2007-12-10 12:49:08 +00:00
nvt-se 46b6ce9193 Conform to the radio_driver interface. 2007-11-18 12:25:22 +00:00
nvt-se c90a758ac5 Detect if the medium is busy right before sending. 2007-11-12 21:17:47 +00:00
nvt-se 0e4429068b Added a carrier sensing function. 2007-11-07 15:34:41 +00:00
nvt-se ee59f1fe34 Use a fresh RSSI value in the read function. 2007-11-07 15:26:00 +00:00
nvt-se a604013a88 Added more flags for the status register. 2007-11-07 15:23:35 +00:00
nvt-se 366d845336 DMA destination is now given as a parameter instead of being hardwired. 2007-11-06 15:08:55 +00:00
nvt-se dc8b6e7dcd Removed some unused headers and definitions. 2007-11-06 14:48:18 +00:00
nvt-se 882f340f17 Use a counter for the test so lost packets are spotted easily. 2007-11-06 14:44:42 +00:00
nvt-se e7dc3ec422 Initialize ctimer. 2007-10-24 13:47:50 +00:00
nvt-se e57310c0b3 Removed duplicated statement. 2007-10-22 13:07:00 +00:00
nvt-se 06f923e502 Simple test for the SHT11 driver. 2007-10-22 13:05:30 +00:00
nvt-se 91b79de654 Use sht11 driver. 2007-10-22 12:21:20 +00:00
nvt-se 045225fa05 Made driver less platform-dependent and added support for msb-430. 2007-10-22 12:19:58 +00:00
nvt-se 2d0225b0e4 Safeguard for invalid packets. 2007-10-04 10:02:08 +00:00