Commit 8d370802fc9494c0be61adc3dce98debac70277e
1 parent
e4e0d6d3
--no commit message
Showing
3 changed files
with
28 additions
and
1 deletions
Project/applications/smartcities/doc/doxygen/Doxyfile
@@ -47,7 +47,7 @@ PROJECT_BRIEF = "Remote sensing made easy" | @@ -47,7 +47,7 @@ PROJECT_BRIEF = "Remote sensing made easy" | ||
47 | # exceed 55 pixels and the maximum width should not exceed 200 pixels. | 47 | # exceed 55 pixels and the maximum width should not exceed 200 pixels. |
48 | # Doxygen will copy the logo to the output directory. | 48 | # Doxygen will copy the logo to the output directory. |
49 | 49 | ||
50 | -PROJECT_LOGO = | 50 | +PROJECT_LOGO = ../modularsense.png |
51 | 51 | ||
52 | # The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) | 52 | # The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) |
53 | # base path where the generated documentation will be put. | 53 | # base path where the generated documentation will be put. |
Project/applications/smartcities/doc/modularsense.png
0 → 100644
17.1 KB
Project/applications/smartcities/mainpage.dox
0 → 100644
1 | +/*! | ||
2 | +* \mainpage Main Page | ||
3 | +* | ||
4 | +* This is the documentation for the Wi-Sense <a href="http://lewis.upc.es/modularsense/wordpress/?page_id=11">Wi-Sense</a> software. | ||
5 | +* | ||
6 | +* This software is based on the WiSmart library (libwismart) and STM32 Periph library. | ||
7 | +* | ||
8 | +* <br> | ||
9 | +* \section outline Product Outline | ||
10 | + | ||
11 | +* The software consists in a first \ref boot and a \ref loop. | ||
12 | + | ||
13 | +* \subsection boot Boot Stage | ||
14 | +* At the boot stage, it tries to connect to the default or previously configured (if applicable) Wi-Fi network. If this succeeds, it starts the \ref loop, but should it not work, then it will set up an AP called "modularsense" in which a web server is configured, allowing the user to set up the new parameters. | ||
15 | + | ||
16 | +* \subsection loop Main Loop | ||
17 | +* At the main loop, it initially scans for sensors and registers them in the SENTILO-compatible platform already configured on the device. Then, it collects data every 5 minutes, allocating memory for each iteration in which data is retrieved. After 30 minutes have passed, it sends the data to the platform if an Internet connection is available, if not, it will store it up until connectivity is reestablished. | ||
18 | +* This loop repeats until power runs out or until it runs out of memory, if that happens, it stops collecting data and tries to send the stored data until it is successful, then it frees the memory and resumes the cycle. | ||
19 | + | ||
20 | +* \subsection data Data Collection | ||
21 | +* Data collection is achieved using the internal I2C bus. Scanning is performed first to enumerate all the sensors available in the bus, then, data is fetched from them in a timely fashion. | ||
22 | +* The sound sensor uses one of the internal ADC to sample the sound pressure level. The internal battery level sensor also uses another ADC. | ||
23 | + | ||
24 | +* \author Imanol Barba Sabariego | ||
25 | +* \date 07/06/2013 | ||
26 | +*/ | ||
27 | + |