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 RaspberryPiService
public javax.ws.rs.core.Response getRaspberryPiTemperatureStats(String deviceId, long from, long to)
RaspberryPiService
getRaspberryPiTemperatureStats
in interface RaspberryPiService
public javax.ws.rs.core.Response downloadSketch(String deviceName, String sketchType)
RaspberryPiService
downloadSketch
in interface RaspberryPiService
Copyright © 2017 WSO2. All rights reserved.