Commit 124ac0a8f472c9187a55064178070d5d373e56d9
1 parent
4b1076c5
--no commit message
Showing
1 changed file
with
2 additions
and
2 deletions
Project/applications/smartcities/mainpage.dox
@@ -14,11 +14,11 @@ | @@ -14,11 +14,11 @@ | ||
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. | 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 | 15 | ||
16 | * \subsection loop Main Loop | 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. | 17 | +* At the main loop, it initially scans for sensors and registers them in the <a href="http://sentilo.io" target="_blank">SENTILO</a>-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 | * <br><br>This loop repeats until power runs out or until it runs out of memory. Given the case, it stops collecting data and tries to send the stored data until it is successful, then it frees the memory and resumes the cycle. | 18 | * <br><br>This loop repeats until power runs out or until it runs out of memory. Given the case, 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 | 19 | ||
20 | * \subsection data Data Collection | 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. | 21 | +* Data collection is achieved using the internal I2C bus. Scanning is performed first to enumerate all the sensors available in the bus, upon completion, data is fetched from them in a timely fashion. |
22 | * <br>The sound sensor uses one of the internal ADC to sample the sound pressure level. The internal battery level sensor also uses another ADC. | 22 | * <br>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 | 23 | ||
24 | * \author Imanol Barba Sabariego | 24 | * \author Imanol Barba Sabariego |