You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
device-mgt-plugins/features/iot-plugins-feature/raspberrypi-plugin-feature/org.wso2.carbon.device.mgt..../src/main/resources/agent
Shabirmean b4665f36bf
Fixes to the RaspberryPi DeviceTypes to generate real-tome stats and send operations
9 years ago
..
src Fixes to the RaspberryPi DeviceTypes to generate real-tome stats and send operations 9 years ago
README.md Added jot plugins features 9 years ago
RaspberryService.sh Added jot plugins features 9 years ago
deviceConfig.properties refactored topic structure 9 years ago
org.eclipse.paho.mqtt.python.tar Fixes on the RPi API and modifications for MQTT Communication for RPi 9 years ago
sketch.properties Added jot plugins features 9 years ago
startService.sh Added jot plugins features 9 years ago
testAgent.sh moving down 'paho-library' installation to enable it in both virtual & real mode 9 years ago

README.md

Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. WSO2 Inc. licenses this file to you under the Apache License,Version 2.0 (the "License"); you may not use this file except in compliance with the License.You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

                                            --------------
                                              testAgent.sh
                                            --------------

This script is used to run this service in a testing environment. It can be run on a real Raspberry Pi device or in a virtual environment.

To run: sudo ./testAgent.sh and follow the instructions.

                                            -------------------
                                              startService.sh
                                            -------------------

After testing, this script can be used to deploy this application as a service on Raspberry Pi which will get loaded during boot up process.

create a service: sudo ./startService.sh

get current state of the service: sudo service RaspberryService.sh status

start service: sudo service RaspberryService.sh start

stop service: sudo service RaspberryService.sh stop

restart service: sudo service RaspberryService.sh restart