March 2002
Intermediate to advanced
432 pages
9h
English
With the Project Trailblazer database created, populated with test data, and queried, you are ready to move on to developing the Project Trailblazer target and CGI integration scripts.
The collection and storage of temperature data requires two bash scripts:
temperatureReport— The collection script temperatureReport, shown in Listing 12.2, executes continuously on a target board, periodically communicates with an external temperature sensor, and then reports the temperature value via an HTTP connection. The target board's init program or a startup script starts the temperatureReport script.
temperatureRecord— The database storage script temperatureRecord ...
Read now
Unlock full access