Commit Graph

325 Commits

Author SHA1 Message Date
adamdunkels 0266411332 Use the sht11_sensor instead of directly interfacing the sht11 driver 2010-01-15 08:51:56 +00:00
adamdunkels 2d0802de72 Activate the light sensor before obtaining the value, deactivate it afterwards 2010-01-14 20:15:34 +00:00
nifi 67ae9fe26a Updated to match the new sensors API 2010-01-14 18:18:51 +00:00
joxe d9900a474a fixed to work with new sensor API 2010-01-14 17:39:22 +00:00
joxe d39234cfd9 fixed for new sensors API 2010-01-14 15:03:28 +00:00
joxe a6abcbe578 fixed to compile with new sensors API 2010-01-14 14:32:22 +00:00
joxe 82241f640e fixed for new sensor APIs 2010-01-14 14:04:39 +00:00
nvt-se 553589d0bb argument must be qualified as const 2009-12-28 18:18:23 +00:00
nifi e032f7ac2c fixed compiler warnings 2009-12-18 15:26:35 +00:00
adamdunkels df784546ee Remove sniff and debug commands to save code space 2009-12-06 23:28:25 +00:00
nifi b9418a91d7 Added call to putchar to force linking (fixes compilation error). 2009-11-20 10:45:07 +00:00
nifi 5de7d07093 fixed compiler warning 2009-11-19 17:31:23 +00:00
nifi e6015bce4c added printout of sender of received messages 2009-11-19 17:29:41 +00:00
fros4943 4b775d3d47 removed some commands to make binary fit on sky platform 2009-11-14 11:31:28 +00:00
adamdunkels 3a6f44fb34 Updated to use the command line options 2009-11-04 07:48:37 +00:00
adamdunkels 51ecb15435 Example code for using the shell netperf command 2009-11-03 22:56:27 +00:00
adamdunkels 6a8443b46b Removed Rime ping command to save flash space, added the single-hop Rime debug commands instead 2009-10-27 14:13:30 +00:00
adamdunkels e14a30262c Updated the Rime channel numbers so that all examples can be run in the same network without channel clashes 2009-10-18 17:52:08 +00:00
adamdunkels f97cbce055 Added broadcast example for completeness 2009-10-18 17:49:24 +00:00
zhitao 30875da288 a little faster autoconfiguration 2009-10-16 15:13:25 +00:00
nvt-se 8d4021529c Added a generic file-upload command. shell-upload only takes .ce files. 2009-09-29 15:46:38 +00:00
nifi 6b60454f2d cleaned up error messages and break at first error 2009-09-21 14:14:46 +00:00
nvt-se f3e304ec40 Removed duplicate test return value. 2009-09-17 14:32:57 +00:00
zdshelby 83988ef554 - Removed rime_test from the Makefile 2009-09-09 07:34:53 +00:00
zdshelby 0e9220716e Initial commit of examples for the Sensinode/cc2430 platform. 2009-09-08 19:47:50 +00:00
nifi d4b619bcc5 Renamed SPI_WAITFOREOTxBUF to SPI_WAITFORTxREADY for clarity and generalized SPI transmission status checks to work with both AVR and MSP430 2009-09-07 11:31:26 +00:00
nifi 6680d2c6c2 Changed to monitor the UART transmitter buffer ready flag instead of the UART transmitter empty flag. This almost doubles the speed of transmitting data to CC2420. Patch by James Brown. 2009-09-01 09:29:40 +00:00
dak664 ed9d31ef7c Add documentation 2009-07-23 23:51:36 +00:00
dak664 42a9e1e2e0 Add Huginn and Muninn web content 2009-07-23 16:21:56 +00:00
dak664 c1b7375a5a *** empty log message *** 2009-07-23 16:13:48 +00:00
dak664 e0138add63 Remove signature bytes from hex file 2009-07-08 21:46:13 +00:00
dak664 49989dbe45 Add rf230bb radio driver with conditional make on RF230BB=1 2009-07-08 15:26:17 +00:00
nifi 89ce58f576 fixed debug output to show the correct remote address 2009-06-29 12:31:03 +00:00
nifi 74ccc5a732 replaced DEFAULT_TARGET with Makefile.target for specifying default target 2009-06-26 12:11:26 +00:00
nifi f0a3477dd2 replaced DEFAULT_TARGET with Makefile.target for specifying default target 2009-06-26 12:04:46 +00:00
fros4943 501416fca0 disabled rime commands to decrease rom usage 2009-06-26 09:51:18 +00:00
joxe 3b97f72c0c added makefile with saved target 2009-06-23 21:03:13 +00:00
dak664 728c482cc3 remove .fuse section from hex file, add mcu 2009-06-19 18:46:41 +00:00
adamdunkels 617eae6ca1 Removed the debug and sniff commands to make code size smaller so that the compiled binary fits in ROM 2009-06-18 09:01:16 +00:00
adamdunkels 4c22ef33d0 Moved compile-platforms from examples/ to tools/release-tools 2009-06-18 08:40:57 +00:00
fros4943 7741d58cdb minor fix: removed superfluous etimer_reset 2009-06-09 19:31:55 +00:00
fros4943 45e3b5a8b3 transmit with random intervals: 2-4 seconds 2009-06-09 09:27:03 +00:00
c_oflynn 0946203c57 Remove fuses from .hex, Pass MCU name to avr-size 2009-06-02 21:58:32 +00:00
nvt-se f115894193 switched to larger type size for the file size.
use AND on characters read back since the file size is larger than 255 bytes.
2009-05-26 13:48:32 +00:00
adamdunkels 7bd7cd64b3 Rewrote the webserver so that sensor data is loaded using Ajax-style XmlHttpRequest and that a spinner icon is shown when the data is loaded 2009-05-11 17:38:29 +00:00
adamdunkels e6d2fada05 Added the tweet command 2009-05-11 17:37:15 +00:00
adamdunkels d1b97feb88 Added a telnet server with Twitter commands 2009-05-11 17:36:13 +00:00
adamdunkels 381beac299 Code style fixes 2009-05-06 15:03:49 +00:00
nvt-se 3eac697f85 fixed a compiler warning by providing an int type of the argument to
printf, as specified by the format.
2009-05-04 22:09:52 +00:00
joxe eec984dfe3 minor bugfix - added process_pause 2009-04-25 22:38:00 +00:00
joxe 889a2bb024 minor improvements 2009-04-25 10:21:51 +00:00
joxe 19a30284e5 fixed minor bug in viewer 2009-04-25 10:04:38 +00:00
joxe d8d7e9142d added a hi-res RSSI scanner and viewer for sky/jcreate 2009-04-25 09:41:37 +00:00
fros4943 0d82fcb143 contiki shell example with only platform independent commands 2009-04-23 08:42:07 +00:00
fros4943 71c3c8e86c enabled download and sendcmd commands + cleanup 2009-04-20 13:08:56 +00:00
nvt-se d86ee2c665 changed address setup slightly. 2009-04-10 16:51:16 +00:00
nvt-se 73d5025e04 changed udp examples into a client and a server, added multi-hop routing,
clarified the code.
2009-04-09 21:35:38 +00:00
nvt-se 2eaec8d38a print the file version more seldom. 2009-04-07 15:14:17 +00:00
nvt-se d936dc1d09 print the time of the test. 2009-04-03 11:12:17 +00:00
nvt-se ca617f5559 updated the documentation. 2009-04-02 10:35:08 +00:00
fros4943 4706ddf023 exec shell command and elfloader example 2009-03-26 12:46:19 +00:00
adamdunkels ebbae099ce A program that displays the number of neighbors on the JCreate LEDs 2009-03-24 19:45:46 +00:00
adamdunkels d0b969ec5a Rewrote the multihop example to better show how to use the multihop layer. Now also shows how to use the memb, list, and annoncement mechanisms. 2009-03-23 18:10:09 +00:00
adamdunkels 61d33173a3 Renamed the serial module to serial-line 2009-03-18 07:20:18 +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
zhitao 77c8524aa5 wait until rime finishes forwarding to send 2009-03-10 14:36:48 +00:00
adamdunkels 151853ca37 Added example announcement code 2009-03-08 20:27:42 +00:00
fros4943 659c7e7311 added webserver-nogui source and WITH_NULLMAC to example code (too large otherwise) 2009-03-03 17:25:33 +00:00
fros4943 6c1207c5d5 updated runicast example: added sender history to detect duplicate callbacks 2009-03-03 12:28:39 +00:00
oliverschmidt b4d6dd6893 Added webserver and irc. 2009-03-01 23:37:49 +00:00
nvt-se 75d8c75768 use more suitable process name. 2009-02-27 19:32:28 +00:00
nvt-se a0226e2418 switched all users of cfs_seek(x,y) to cfs_seek(x,y,CFS_SEEK_SET) 2009-02-27 14:28:02 +00:00
fros4943 a6fc125b64 printing local ipv6 address at startup. addresses must match in order for the examples to work 2009-02-26 09:02:09 +00:00
nvt-se 31bc37a043 Added Deluge and tests for it. 2009-02-25 17:00:00 +00:00
fros4943 90767a76b3 moved ipv6 udp example processes from apps/udp to inside examples/udp-receiver-ipv6 and examples/udp-sender-ipv6
* transmitting human readable strings between the two processes
* remote address configurable at compile time via DEFINES=...
2009-02-25 12:11:17 +00:00
fros4943 cb56161c94 moved ipv6 udp example processes from apps/udp to inside examples/udp-receiver-ipv6 and examples/udp-sender-ipv6 2009-02-25 12:10:10 +00:00
nvt-se 3f71499c96 format first to get deterministic results. 2009-02-22 15:17:36 +00:00
nvt-se a2d651af72 seek test (-25) failed sometimes because it assumed a default file size of 8kb. reserve the file instead so the default doesn't matter. 2009-02-17 15:08:01 +00:00
fros4943 ab61e8b8b5 bugfix: including random.h to avoid random_rand() assumed signed, and timer intervals becoming very very small 2009-02-17 08:44:44 +00:00
adamdunkels 0d699abe79 Disabled checkpointing for the default sky-shell build to reduce object code size, instead added a separate sky-checkpoint build with checkpointing but without the 'sky-alldata' command 2009-02-14 22:53:00 +00:00
adamdunkels 585620c102 Reverted the recent change from random_rand() to rand(). It turned out that
since libc rand() returns a signed int, there were frequently problems with
timer values wrapping. By reverting to random_rand(), we can provide a
random generator that returns an unsigned and the timer problems are solved.
2009-02-11 11:08:53 +00:00
adamdunkels 9c4d2da561 Bugfix: it is etimer_reset() that makes timer behavior stable, not etimer_restart() 2009-02-07 22:38:01 +00:00
adamdunkels 67f649c4aa Use etimer_restart() to avoid synchronization effects from the abc_send() invocation taking time to complete 2009-02-07 22:28:25 +00:00
adamdunkels c10ae7b6dc Increased the inter-packet time to work better on the sky platform 2009-02-07 16:17:33 +00:00
adamdunkels 2e55bb5151 Removed the blink process to make the code simpler, added randomness to the transmission intervals 2009-02-06 10:12:52 +00:00
fros4943 1795dbf199 added checkpoint and rollback commands:
writes/reads checkpoint images from file system.

(temporarily disabled rime debug and sniff commands)
2009-02-04 17:54:28 +00:00
julienabeille 2218d8ef8b Added an application and example to run IPSo interoperability test using RAVEN boards 2009-01-27 10:57:28 +00:00
nifi 4eebe9afd9 Updated to match new mesh API. Thanks to Carlo Alberto Boano for fixing. 2009-01-19 13:24:42 +00:00
nifi 677dd296a6 Updated to match new multihop API. Thanks to Carlo Alberto Boano for fixing. 2009-01-16 17:40:16 +00:00
adamdunkels fdf5836763 Example shell for the Sentilla JCreate 2009-01-15 22:11:58 +00:00
fros4943 008d4ba33f sky example running both webserver and serial shell (overrides default slip handler) 2009-01-15 13:18:19 +00:00
nifi 0371d20a40 updated for new rimeaddr API 2008-12-16 17:05:14 +00:00
nifi 52c2f23e28 CLOCK_CONF_SECOND must be a power of two for MSP430 platforms (see cpu/msp430/clock.c for details) 2008-12-16 16:53:04 +00:00
nvt-se 747d27ecda updated cooja/mspsim test for coffee. now with GC 2008-12-12 13:24:42 +00:00
nvt-se 1f03e79a89 added a simple garbage collection test. 2008-12-12 10:28:11 +00:00
adamdunkels f0f9314e7e Reversed byte order to match the old ->u16 approach to make the automated tests & scripts work again 2008-12-02 08:09:46 +00:00
adamdunkels c0ce2efd89 Removed the rimeaddr ->u16 field 2008-12-01 15:19:11 +00:00
adamdunkels a847ff738d Removed reliance on the ->u16 field in rimeaddr 2008-12-01 14:17:36 +00:00
adamdunkels 33bf01534c Rewrote code that used the old ->u16 field in rimeaddr_t to access Rime addresses to use rimeaddr_copy() and the ->u8 field instead 2008-11-30 18:36:55 +00:00
nifi 1865f13f3a fixed more robust parsing 2008-11-26 14:22:54 +00:00