5159e1d27f
Bumps [tough-cookie](https://github.com/salesforce/tough-cookie) from 4.1.2 to 4.1.3. - [Release notes](https://github.com/salesforce/tough-cookie/releases) - [Changelog](https://github.com/salesforce/tough-cookie/blob/master/CHANGELOG.md) - [Commits](https://github.com/salesforce/tough-cookie/compare/v4.1.2...v4.1.3) --- updated-dependencies: - dependency-name: tough-cookie dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> |
||
---|---|---|
.azuredevops | ||
.bundle | ||
.github/workflows | ||
__tests__ | ||
android | ||
docs | ||
ios | ||
patches | ||
src | ||
.buckconfig | ||
.eslintrc.js | ||
.flowconfig | ||
.gitattributes | ||
.gitignore | ||
.prettierrc.js | ||
.ruby-version | ||
.svgrrc | ||
.watchmanconfig | ||
Gemfile | ||
Gemfile.lock | ||
LICENSE | ||
README.md | ||
SECURITY.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 Bluetooth-LowEnergy (BLE) devices. 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.
- 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)
You can read more about all features with instructions here.
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.
Setup
git clone https://github.com/Azure/iot-central-paad
cd iot-central-paad
npm install
iOS
Install pods
cd ios && pod install
Build source code
Source code can be validated and formatted to ensure js bundle gets correctly generated. However this does not guarantee the application can run as expected on each platform due to the various native modules. Always run the application on simulators to check functionalities.
Format, Lint and Typescript compile:
npm run build
Run Android
# runs on default simulator (as configured in Android Studio)
npm run android
Run iOS
# runs on default simulator (as configured in XCode)
npm run ios
# runs on specific device
npm run ios --device <device-id>