Skip to content

Azure/iotc-android-sample

Repository files navigation

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

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.