Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/Azure/iotc-android-sample

IoT Central Android Sample
https://github.com/Azure/iotc-android-sample

Last synced: 3 months ago
JSON representation

IoT Central Android Sample

Awesome Lists containing this project

README

        

# Azure IoTCentral Bluetooth Android Gateway
This Android application will help you connect your BLE(Bluetooth-Low-Energy) device to Azure IoTCentral

## Features
* IoTCentral application management (list, creation)
* IoTCentral device management (list,creation)
* BLE discovery
* BLE Characteristic to IoTCentral telemetry mapping

## Binaries
APKs for installing on Android are available in the [Release page](https://github.com/Azure/iotc-android-sample/releases)

Application list

Device Templates list

Device list

BLE discovery list

BLE Service discovery

BLE Service mapping


## Sync telemetry fields to BLE characteristic
It is possible to synchronize telemetry mapping with the cloud application in a bi-directional way (update from/to cloud). The device model must contain the following settings with the right names:

* A device property of type _text_ with field name "ble_mapping"
* A device property of type _number_ with field name "ble_version"
* A command of type _text_ with field name "updMapping" and two input fields:
* a field of type _text_ with name "mapping" which will contain the telemetry as a JSON string
* a field of type _number_ with name "version" which will contain the mapping version to keep track on synchronization.

If operator wants to update mapping on the mobile application can run the "updMapping" command and the device will sync values on properties.