public class ArduinoServiceImpl extends Object implements ArduinoService
| Constructor and Description |
|---|
ArduinoServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
downloadSketch(String deviceName)
download device agent
|
javax.ws.rs.core.Response |
getArduinoTemperatureStats(String deviceId,
long from,
long to)
Retrieve Sensor data for the device type
|
javax.ws.rs.core.Response |
readControls(String deviceId) |
javax.ws.rs.core.Response |
switchBulb(String deviceId,
String state) |
public javax.ws.rs.core.Response switchBulb(String deviceId, String state)
switchBulb in interface ArduinoServicepublic javax.ws.rs.core.Response readControls(String deviceId)
readControls in interface ArduinoServicepublic javax.ws.rs.core.Response getArduinoTemperatureStats(String deviceId, long from, long to)
ArduinoServicegetArduinoTemperatureStats in interface ArduinoServicepublic javax.ws.rs.core.Response downloadSketch(String deviceName)
ArduinoServicedownloadSketch in interface ArduinoServiceCopyright © 2017 WSO2. All rights reserved.