Перейти к файлу
lucadruda 89dda955df fix ios release certificate 2021-04-19 17:03:07 +02:00
__tests__
android fix keystore 2021-04-19 15:19:14 +02:00
ios fix ios release certificate 2021-04-19 17:03:07 +02:00
src
.buckconfig
.eslintrc.json
.flowconfig
.gitattributes
.gitignore
.prettierrc.js
.svgrrc
.watchmanconfig
README.md
_editorconfig
app.json
azure-pipelines.yml update sdk 2021-04-19 16:27:33 +02:00
babel.config.js
bumpVersion.sh add bumbVersion 2021-04-19 15:17:31 +02:00
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

develop: Build status

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.

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:

  1. Node.JS (10+)
  2. Java SE Development Kit (JDK 8+)
  3. Python 2.7+/3.7+
  4. Android Studio
  5. React Native command line interface
  6. Npm or Yarn

To set up a real device for development, follow the instructions for device setup here.

Installation

git clone https://github.com/lucadruda/cpm-poc

cd cpm-poc

yarn install ( or 'npm install' if using npm)