public class RaspberryPiServiceImpl extends Object implements RaspberryPiService
| Constructor and Description |
|---|
RaspberryPiServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
downloadSketch(String deviceName,
String sketchType)
download the agent.
|
javax.ws.rs.core.Response |
getRaspberryPiTemperatureStats(String deviceId,
long from,
long to)
Retreive Sensor data for the device type
|
javax.ws.rs.core.Response |
switchBulb(String deviceId,
String state) |
public javax.ws.rs.core.Response switchBulb(String deviceId, String state)
switchBulb in interface RaspberryPiServicepublic javax.ws.rs.core.Response getRaspberryPiTemperatureStats(String deviceId, long from, long to)
RaspberryPiServicegetRaspberryPiTemperatureStats in interface RaspberryPiServicepublic javax.ws.rs.core.Response downloadSketch(String deviceName, String sketchType)
RaspberryPiServicedownloadSketch in interface RaspberryPiServiceCopyright © 2017 WSO2. All rights reserved.