73e70a4cc3 | ||
---|---|---|
.azuredevops | ||
.bundle | ||
.github/workflows | ||
__tests__ | ||
android | ||
docs | ||
ios | ||
src | ||
.buckconfig | ||
.eslintrc.js | ||
.flowconfig | ||
.gitattributes | ||
.gitignore | ||
.prettierrc.js | ||
.ruby-version | ||
.svgrrc | ||
.watchmanconfig | ||
Gemfile | ||
Gemfile.lock | ||
LICENSE | ||
README.md | ||
app.json | ||
babel.config.js | ||
bumpVersion.sh | ||
createReleaseFile.sh | ||
index.js | ||
metro.config.js | ||
package-lock.json | ||
package.json | ||
podinstall.js | ||
tsconfig.json |
README.md
Azure IoT Central PaaD
A Phone-as-a-Device solution to easily connect with Azure IoT Central by using a smartphone or tablet as an IoT device.
Android
What is this?
An useful tool to start playing with Azure IoT Central without using a real IoT device. The smartphone or tablet can send telemetry data from its embedded sensors (accelerometer, gyroscope...) and registered health platforms (Apple Health Kit, Google Fit). It can also receive properties and commands to demonstrate basic functionalities.
Features
The main features of the app are:
- Telemetry data from real embedded sensors and health platform records.
- Real-time charts.
- Sample properties (readonly and writeable).
- Commands handling to enable/disable telemetry items and set their sending interval.
- Commands logs to trace data in app.
- Bluetooth Gateway (see Bluetooth.md for documentation/implementation details)
Build and Run
The application is available for both Android and iOS. It can be run on simulator as well (Android Studio or Xcode required). In this case, sensor data is randomly generated.
Required tools
See React Native Getting Started and click on React Native CLI Quickstart for more detailed instructions. "Installing dependencies" is the section that explains developer setup. If you are developing on Windows for Android you will need:
- Node.JS (12+)
- Java SE Development Kit (JDK 8+)
- Python 3.7+
- Android Studio
- React Native command line interface
- Npm or Yarn
To set up a real device for development, follow the instructions for device setup here.
Installation
git clone https://github.com/Azure/iot-central-paad
cd iot-central-paad
npm install