...
- Edit - When the user clicks on this button, it provides a dialog box similar to that when you clicked on the Add Device button. You can make changes to the device information provided earlier. However, the Device ID and Device Type variables properties can not be edited once a device has been added.
- Remove - This button removes the device. It prompts a dialog box requiring the user to confirm if the device is to be removed.
- Sensors - Stores data of specific categories or types. For instance, temperature and humidity data values stored as sensor type DHT. It makes retrieval of data easy.
...
Code Block | ||||
---|---|---|---|---|
| ||||
String apiUri = "POST /api/ucw/v1/data-streams/%dataStream/messages/%deviceId HTTP/1.1"; apiUri.replace("%dataStream", data_stream_namedataStreamName); apiUri.replace("%deviceId", deviceId); |
...