Wiki

This version is outdated by a newer approved version.DiffThis version (08 Sep 2017 22:29) was approved by Brandon Bushey.The Previously approved version (06 Jun 2017 07:44) is available.Diff

This is an old revision of the document!


iOS Smart Device App

iOS App Overview

IoTNode is iOS Smart Device App developed by Analog Devices Inc. to showcase example project using EVAL-ADICUP3029.

iOS Device Minimum Requirement

Make sure you have an iOS device with following minimum requirement.

  • iOS Software Version: iOS 9.0 or higher.
  • System Memory: minimum 15MB
  • Bluetooth Version: v4 or higher

Using the Pre-Build App

How to Download & Install IoTNode App on your iOS Device

Follow below instructions to download Analog Devices Sensor Node App on iOS Device.

  1. Go to App Store on your iOS Device.
  2. Search IoTNode. Make sure you select 1.0 version.
  3. Tap “GET” and then “INSTALL”.

Wait until installation is successful.

Direct link to App Store

How to Run IoTNode

Follow below instructions to run the App.

  1. Turn on device Bluetooth by navigating to Settings → Bluetooth → Turn ON Slider.
  2. iOS homescreen navigate to IoTNode and tap to open.
  3. Below is IoTNode app homesceen.
  4. Now tap “Tap To Connect” on the app homescreen to search for nearby EVAL-ADICUP3029 BLE Device. Once a device is found, Bluetooth name will be shown on the app homescreen. For example, “ADI_CO_SENSOR”.
  5. Tap on “Connect”. The app will show data corresponding to the connected sensor.


Support for Generic Sensor

iOS app IoTNode support generic sensor. Any sensor connected to EVAL-ADICUP3029, the corresponding data can be sent to iOS app using BLE. This feature can be used for rapid development of a prototype. Following is the packet structure to be sent to initialize the App to display generic sensor data. There are two types of packets to be sent from EVAL-ADICUP3029 to iOS device, are explained as follows.

Sensor Registration Packet

This is to be sent only once and it should be the first packet after connection is established with iOS device. For more than one generic sensor, registration packet is to be sent that many times equal to number of sensors.
Following is the Field explanation:

  • Packet Type: For Sensor Registration packet this field should be set to 0.
  • ID of Sensor: The application must assign a unique ID to each of the connected sensor.
  • Sensor Type: For Generic Sensor this field is 0x00 (Hex).
  • Num Data Types, Type Key 1, Type Key 2, Type Key N: These fields does not exists for a generic sensor. Sensor Name follows Sensor Type. For example, the entire registration packet can be {0x00,0x00,“pH Sensor”}.

Sensor Data Packet

Sensor data packet contains the data corresponding to each of the sensor connected. For each sensor type, a different sensor data packet is to be sent and iOS app will plot the data accordingly. Following the field description:

  • Packet Type: For Sensor Data Packet this field should be set to 1.
  • ID of Sensor: The application must assign a unique ID to each of the connected sensors.
  • Sensor Type: For generic sensor this field should be 0x00 (Hex).
  • RTC Time Stamp: Time Stamp is given by the RTC on ADuCM3029. This is a 4 byte time stamp and value is in seconds.
  • Sensor Type: It contains the Sensor Data. This is a 15 byte field.

ADICUP3029 Demo Projects Supported by iOS App

Here is a list of projects that support out of the box connection to the iOS App.

resources/eval/user-guides/eval-adicup3029/smart_app/ios_app.1504902576.txt.gz · Last modified: 08 Sep 2017 22:29 by Brandon Bushey