[Tinyos-2-commits]
CVS: tinyos-2.x/doc/html/tutorial index.html, 1.4,
1.5 lesson7.html, 1.3, 1.4
Prabal Dutta
prabal at users.sourceforge.net
Thu Apr 19 00:25:39 PDT 2007
- Previous message: [Tinyos-2-commits] CVS: tinyos-2.x/tools/release build-rpms, 1.3,
1.4 tinyos.files, 1.3, 1.4 tinyos.spec, 1.3, 1.4
- Next message: [Tinyos-2-commits] CVS: tinyos-2.x/apps/tutorials/PacketParrot
PacketParrotP.nc, 1.2, 1.3 README.txt, 1.2, 1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/tinyos/tinyos-2.x/doc/html/tutorial
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv27501/doc/html/tutorial
Modified Files:
index.html lesson7.html
Log Message:
Incorporate David Gay's feedback on the tutorial
Index: index.html
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/doc/html/tutorial/index.html,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** index.html 12 Apr 2007 22:23:59 -0000 1.4
--- index.html 19 Apr 2007 07:25:37 -0000 1.5
***************
*** 61,69 ****
</dd>
! <h1>Lesson 7: Storage</h1>
! <dd> Lesson 7 introduces the TinyOS storage model. A sample
! application illustrates storing data. This tutorial is currently
! unfinished.
</dd>
--- 61,69 ----
</dd>
! <h1><a href="lesson7.html">Lesson 7: Storage</a></h1>
! <dd> Lesson 7 introduces the TinyOS storage model. Sample
! applications illustrate the use of the Mount, ConfigStorage,
! LogRead and LogWrite interfaces.
</dd>
Index: lesson7.html
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/doc/html/tutorial/lesson7.html,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** lesson7.html 14 Apr 2007 07:16:23 -0000 1.3
--- lesson7.html 19 Apr 2007 07:25:37 -0000 1.4
***************
*** 27,34 ****
<li>Store configuration data that survives a power cycle.
! <li>Provide a link to example code using the logging abstraction.
- <li>Provide a link to example code use large objects storage in
- non-volatile flash.
</ul>
--- 27,33 ----
<li>Store configuration data that survives a power cycle.
! <li>Store packets using the logging abstraction and retransmit the
! overheard packets after a power cycle.
</ul>
***************
*** 98,108 ****
<p>
! <h2>Naming Wrappers</h2>
! <p>The preceding components are actually <em>naming wrappers</em>.
! Since TinyOS supports multiple platforms, each of which might have its
! own implementation of the storage drivers, platform-specific naming
! wrappers are used to bridge the general storage interfaces to their
! underlying, platform-specific implementations.
<p>For example, the preceding links are all specific to the ST
--- 97,108 ----
<p>
! <h2>Implementations</h2>
! <p>The preceding components are actually <em>chip-specific
! implementations</em> of these abstractions. Since TinyOS supports
! multiple platforms, each of which might have its own implementation of
! the storage drivers, you may need to be aware of platform-specific
! constants or other details (e.g. erase size) that can couple a storage
! client to the underlying chip-specific implementation.
<p>For example, the preceding links are all specific to the ST
***************
*** 115,119 ****
<p>If you are curious, the following links will let you browse the
! naming wrappers for the Atmel AT45DB family of flash memories used in
the Mica2/MicaZ motes:
--- 115,119 ----
<p>If you are curious, the following links will let you browse the
! implementations of the Atmel AT45DB family of flash memories used in
the Mica2/MicaZ motes:
***************
*** 129,134 ****
</ul>
! <p>Finally, the following links will let you browse the naming
! wrappers for the Intel imote2 flash memory:
<p>
--- 129,134 ----
</ul>
! <p>Finally, the following links will let you browse the implementation
! for the Intel imote2 flash memory:
<p>
***************
*** 330,336 ****
</pre>
! <li>Config storage <em>uses</em> the <code>Mount</code> and
! <code>ConfigStorage</code> interfaces (note that we rename
! <code>ConfigStorage</code> to <code>Config</code>).
<pre>
--- 330,337 ----
</pre>
! <li>BlinkConfigC, the application code for this simple demo,
! <em>uses</em> the <code>Mount</code> and <code>ConfigStorage</code>
! interfaces (note that we rename <code>ConfigStorage</code> to
! <code>Config</code>).
<pre>
***************
*** 549,556 ****
event void AMControl.startDone(error_t err) {
if (err == SUCCESS) {
! error_t e;
! do {
! e = call LogRead.read(&m_entry, sizeof(logentry_t));
! } while (e != SUCCESS);
}
else {
--- 550,556 ----
event void AMControl.startDone(error_t err) {
if (err == SUCCESS) {
! if (call LogRead.read(&m_entry, sizeof(logentry_t)) != SUCCESS) {
! // Handle error
! }
}
else {
- Previous message: [Tinyos-2-commits] CVS: tinyos-2.x/tools/release build-rpms, 1.3,
1.4 tinyos.files, 1.3, 1.4 tinyos.spec, 1.3, 1.4
- Next message: [Tinyos-2-commits] CVS: tinyos-2.x/apps/tutorials/PacketParrot
PacketParrotP.nc, 1.2, 1.3 README.txt, 1.2, 1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Tinyos-2-commits
mailing list