X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=apps%2Ftosthreads%2Fcapps%2FTestLogStorage%2FREADME;h=7016add8ef2a386d87e8f5c7ff26b26433889dc6;hb=7b07fc8ef05afcd68a293cbd6983c2df0ed98938;hp=95a0fcde367497c3fc1eda86810747c422737c2b;hpb=56cd1424ce02b2f1d37afca99a516badfee8cfe6;p=tinyos-2.x.git diff --git a/apps/tosthreads/capps/TestLogStorage/README b/apps/tosthreads/capps/TestLogStorage/README index 95a0fcde..7016add8 100644 --- a/apps/tosthreads/capps/TestLogStorage/README +++ b/apps/tosthreads/capps/TestLogStorage/README @@ -6,7 +6,7 @@ Description: TestLogStorage is a threaded implementation of an application that takes a dummy sensor readings of a counter, logs it flash, and then sends it out over the -radio at some later time. In the current implementation, each sensor reading is +serial port at some later time. In the current implementation, each sensor reading is taken once every 3000ms, and records containing a set of readings from each iteration are batched out over the radio every 10000ms. This application is very similar to the SenseStoreAndForward application contained in this same @@ -22,19 +22,19 @@ Valid platforms are currently: tmote, telosb, iris, mica2, and micaz Readings are taken from the dummy sensor and logged to flash as one record in an infinite loop. Records are then read out of flash and and sent out over the -radio interface in separate infinite loop. Before the application starts +serial interface in separate infinite loop. Before the application starts running, the entire contents of the flash drive are erased. A successful test will result in LED0 remaining solid for approximately 6s while the flash is being erased. After that LED0 will toggle with each successful sensor readings logged to flash, at a rate of 3000ms. Also, LED1 will begin toggling in rapid succession once every 10000ms as records are successfully read -from flash and sent out over the radio. Once all of the records currently +from flash and sent out over the serial port. Once all of the records currently recorded to flash since the last batch of sends have been sent out, LED2 Toggles to indicate completion. This process continues in an infinite loop forever. -Additionally, the TestLogStorage mote writes its records out to the serial -port. You can test that the application is working properly by reading these +Since the TestLogStorage mote writes its records out to the serial +port, you can test that the application is working properly by reading these packets (e.g., through seriallisten) and checking that they have reasonable values, counting up from 0. E.g.: