Changes between Version 1 and Version 2 of Ticket #529, comment 5
- Timestamp:
- Mar 4, 2014, 10:53:59 AM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #529, comment 5
v1 v2 56 56 }}} 57 57 58 3. Retrieval of sensor title, exemplified by sensor URL `http://givare2.onk.lu.se/`:[[BR]]a. `String content = fetchDataFromUrl( http://givare2.onk.lu.se/params.inc);`[[BR]]b. A standard JSON-style string `jsonStr` is obtained by processing `content` according to step 2 above.[[BR]]c. The sensor title `labSensorName` is obtained using the open-source class `Base64Coder` (see http://www.source-code.biz for details):58 3. Retrieval of sensor title, exemplified by sensor URL `http://givare2.onk.lu.se/`:[[BR]]a. `String content = fetchDataFromUrl("http://givare2.onk.lu.se/params.inc");`[[BR]]b. A standard JSON-style string `jsonStr` is obtained by processing `content` according to step 2 above.[[BR]]c. The sensor title `labSensorName` is obtained using the open-source class `Base64Coder` (see http://www.source-code.biz for details): 59 59 {{{ 60 60 try … … 87 87 }}} 88 88 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):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