Changes between Initial Version and Version 1 of Ticket #529, comment 5
- Timestamp:
- Mar 4, 2014, 10:52:40 AM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #529, comment 5
initial v1 87 87 }}} 88 88 89 4. Retrieval of sensor title, exemplified by sensor URL `http://givare2.onk.lu.se/`:[[BR]]a. `String content = fetchDataFromUrl(http://givare2.onk.lu.se/current.inc);`[[BR]]b. A standard JSON-style string `jsonStr` is obtained by processing `content` according to step 2 above.[[BR]]c. The sensor serial number, local measurement time, temperature, and humidity values are obtained using the open-source class `Base64Coder` (see http://www.source-code.biz for details):89 4. Retrieval of sensor serial number, local measurement time, temperature, and humidity values, exemplified by sensor URL `http://givare2.onk.lu.se/`:[[BR]]a. `String content = fetchDataFromUrl(http://givare2.onk.lu.se/current.inc);`[[BR]]b. A standard JSON-style string `jsonStr` is obtained by processing `content` according to step 2 above.[[BR]]c. The sensor serial number, local measurement time, temperature, and humidity values are obtained using the open-source class `Base64Coder` (see http://www.source-code.biz for details): 90 90 {{{ 91 91 // Initialize lab temperature and humidity data