Wiki

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
resources:eval:user-guides:eval-adicup3029:smart_app:ios_app [08 Sep 2017 22:29] – [ADICUP3029 Demo Projects Supported by iOS App] Brandon Busheyresources:eval:user-guides:eval-adicup3029:smart_app:ios_app [30 Jul 2019 20:59] (current) – updating to IoTNode 2.0 Brandon Bushey
Line 1: Line 1:
-====== iOS Smart Device App ====== +====== iOS Smart App Overview ======
-====== iOS App Overview ======+
  
-**IoTNode** is iOS Smart Device App developed by **Analog Devices Inc.** to showcase example project using **EVAL-ADICUP3029**.+**IoTNode** is iOS Smart Device App developed by **Analog Devices Inc.** to showcase example projects using **EVAL-ADICUP3029**.
  
 ===== iOS Device Minimum Requirement ===== ===== iOS Device Minimum Requirement =====
Line 10: Line 9:
   * Bluetooth Version: v4 or higher   * Bluetooth Version: v4 or higher
  
-====== Using the Pre-Build App ======  
 ===== How to Download & Install IoTNode App on your iOS Device ===== ===== How to Download & Install IoTNode App on your iOS Device =====
-Follow below instructions to download Analog Devices Sensor Node App on iOS Device.+Follow below instructions to download Analog Devices IoTNode app on iOS Device.
    - Go to App Store on your iOS Device.    - Go to App Store on your iOS Device.
-   - Search **IoTNode**. Make sure you select 1.0 version.+   - Search **IoTNode**.
    - Tap "GET" and then "INSTALL".    - Tap "GET" and then "INSTALL".
 Wait until installation is successful. Wait until installation is successful.
 +
 <WRAP round 40% download> <WRAP round 40% download>
 Direct link to [[https://appsto.re/ie/jkUekb.i|App Store]]  Direct link to [[https://appsto.re/ie/jkUekb.i|App Store]] 
 </WRAP> </WRAP>
-===== How to Run IoTNode =====+ 
 +===== How to use IoTNode ===== 
 Follow below instructions to run the App. Follow below instructions to run the App.
-  - Turn on device Bluetooth by navigating to Settings -> Bluetooth -> Turn ON Slider. +  - Turn on device Bluetooth by navigating to Settings -> Bluetooth -> Turn Slider **ON**
-  - iOS homescreen navigate to **IoTNode** and tap to open. {{ :resources:eval:user-guides:eval-adicup3029:smart_app:ios_app:presentation1.png?nolink&150 |}} \\ +  - On the iOS homescreen navigate to **IoTNode** and tap to open. {{ :resources:eval:user-guides:eval-adicup3029:smart_app:smart_app_logo.png?200 |}}\\ 
-  - Below is **IoTNode** app homesceen{{ :resources:eval:user-guides:eval-adicup3029:smart_app:ios_app:appscreen_1.png?nolink&600 |}} \\ +  - Once open, the app should automatically find Bluetooth devices within range, so you'll want to find and open the project you are working on
-  - Now tap "Tap To Connect" on the app homescreen to search for nearby **EVAL-ADICUP3029** BLE DeviceOnce device is foundBluetooth name will be shown on the app homescreenFor example"ADI_CO_SENSOR". {{ :resources:eval:user-guides:eval-adicup3029:smart_app:ios_app:device.png?nolink&600 |}} \\ +  - Once connected, the app will provide you an option for which sensor(s) you are connected to that Bluetooth device. 
-  - Tap on "Connect". The app will show data corresponding to the connected sensor. +    - It's usually only single sensorso make sure it's "Checked on" and hit "View Data". 
-\\ +  - You are now connectedand data should start to display on the app.{{ :resources:eval:user-guides:eval-adicup3029:smart_app:smart_app_ios_all_screens.png?800 |}}\\  
-===== 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. +===== Interfacing Data to IoTNode =====
-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 ==== +The **IoTNode** app supports an easy to interface registration, configurationand data packet system.  For complete details on writing embedded code to interface to the IoTNode smart app, please check out the link below.
-{{ :resources:eval:user-guides:eval-adicup3029:smart_app:ios_app:reg_pkt_new.png?nolink |}} +
-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 ==== +
-{{ :resources:eval:user-guides:eval-adicup3029:smart_app:ios_app:data_pkt.png?nolink |}} +
-Sensor data packet contains the data corresponding to each of the sensor connectedFor 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 =====+  * [[resources:eval:user-guides:eval-adicup3029:smart_app:ble_connect|Interfacing Data with IoTNode]]
  
-Here is a list of projects that support out of the box connection to the iOS App. 
-  * [[resources:eval:user-guides:eval-adicup3029:reference_designs:demo_cn0357|Toxic Gas (CO) Measurement demo using EVAL-CN0357-ARDZ]] 
  
resources/eval/user-guides/eval-adicup3029/smart_app/ios_app.txt · Last modified: 30 Jul 2019 20:59 by Brandon Bushey