org.wso2.carbon.device.mgt.iot.raspberrypi.service.impl

## Interface RaspberryPiService

- All Known Implementing Classes:
    RaspberryPiServiceImpl

      public interface RaspberryPiService

- - ### Method Summary

    Methods
    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)`

- - ### Method Detail

    - #### switchBulb

          javax.ws.rs.core.Response switchBulb(String deviceId,
                                             String state)

    - #### getRaspberryPiTemperatureStats

          javax.ws.rs.core.Response getRaspberryPiTemperatureStats(String deviceId,
                                                                 long from,
                                                                 long to)

      Retreive Sensor data for the device type

    - #### downloadSketch

          javax.ws.rs.core.Response downloadSketch(String deviceName,
                                                 String sketchType)

      download the agent.

Copyright © 2017 WSO2. All rights reserved.