dialog DA16200 Provisioning the Mobile App for Android/iOS User Manual
- June 6, 2024
- dialog
Table of Contents
- Terms and Definitions
- Overview
- System Requirements
- Sequence Diagram for Wi-Fi Provisioning
- Install Mobile Application
- Test Provisioning
- Test AWS IoT on Mobile Phone
- Revision History
- Status Definitions
- Disclaimer
- RoHS Compliance
- Contact Dialog Semiconductor
- Read User Manual Online (PDF format)
- Download This Manual (PDF format)
DA16200 Provisioning the Mobile App for Android/iOS
User Manual
Terms and Definitions
TCP | Transmission Control Protocol |
---|---|
TLS | Transport Layer Security |
AP | Access Point |
IDE | Integrated Development Environment |
SDK | Software Development Kit |
AWS | Amazon Web Service |
IoT | Internet of Things |
Overview
This document describes how to configure the DA16200 Wi-Fi profile information using the Dialog’s Wi-Fi provisioning mobile app for Android/iOS.
System Requirements
Table 1: DA16200
Supported SDK Version | 2.3.4.1 or higher |
---|
You can check the SDK version using the ver command in the serial console.
Figure 1: Check SDK Version
Table 2: Android
Android OS Version | 5.0 (Lollipop) and higher |
---|---|
IDE | Android Studio 4.1.2 |
Compile SDK Version | 30 |
Language | Java |
Gradle Version | 4.0.0 |
Table 3: iOS
Deployment Version | iOS 12.0 and higher |
---|---|
IDE | Xcode 12.4 |
Swift Language Version | Swift 5 |
Sequence Diagram for Wi-Fi Provisioning
Figure 2: Sequence Diagram for Wi-Fi Provisioning
Install Mobile Application
Android Application
You can find and install the Dialog WiFi Provisioning app on Google
Play Store using the keyword “da16200”.
Figure 3: Dialog WiFiProvisioning App on Play Store
iOS Application
You can find and install the Dialog WiFi Provisionin g app on Apple
App Store using the keyword “da16200”.
Figure 4: Dialog WiFiProvisioning App on App Store
Test Provisioning
Use the Factory Reset or Switch button (depends on the device option) to switch the DA16200 to AP Mode.
Figure 5: DA16200 Factory Reset or Switch Button
Test Provisioning on Android Phone
Start the Dialog Provisioning Tool for Android and find the DA16200, and then do the following steps on your Android device:
1. Click the Start DA16200-based button.| 2. Click the I’m ready to
button.| 3. DA16200 with “Dialog_DA16200” SSID automatically connects to
app.| 4. When the DA16200 and the phone are
connected, click the NEXT button.
5. When the DA16200 and the phone
socket are connected, the app receives Wi-Fi network information from the
DA16200, and a list appears.| 6. Click the name of the Wi-Fi network you want
to connect to in the list.| 7. Enter the password and click the Go!
button.| Wi-Fi provisioning is completed.
Provisioning to Hidden Wi-Fi Network
You can connect the DA16200 to a hidden Wi-Fi network by directly entering
the SSID and password of Wi-Fi network.
1. After the app is connected to the DA16200 Wi-Fi, click the Hidden Wi-Fi
network button.| 2. Enter the SSID and the password of Wi-Fi network,
select the security option if needed, and then click the OK button.
---|---
Socket Switching
You can switch between TLS secured socket and an unsecured socket.
A green lock icon is displayed when a secure connection is established; a red
lock is displayed if the connection is not secure.
Test Provisioning on iPhone
Start the Dialog Provisioning Tool for iOS and find the DA16200, and then
do the following steps on your iPhone:
1. Click the Start DA16200-based button.| 2. Click the I’m ready
button.| 3. Click the Join button to connect to the DA16200 with
“Dialog_DA16200”| 4. When the DA16200 and the phone are
connected, click the NEXT button.
5. When the DA16200 and the phone socket are connected, the app receives Wi- Fi network information from the DA16200, and a list appears.| 6. Click the name of the Wi-Fi network you want to connect to in the list.| 7. Enter the password, and then click the Go! button.| Wi-Fi provisioning is completed.
When provisioning is completed successfully, the DA16200 is assigned an IP address as shown in Figure 6.
Figure 6: Console Log with Assigned IP Address
Provisioning to Hidden Wi-Fi Network
You can connect the DA16200 to a hidden Wi-Fi network by directly entering
the SSID and password of Wi-Fi network.
1. After the app is connected to the DA16200 Wi-Fi, click the Hidden Wi-Fi
network button.| 2. Enter the SSID and the password of the Wi-Fi network,
select the security option if needed, and then click the OK button.
---|---
Socket Switching
You can switch between TLS secured socket and an unsecured socket.
A green lock icon is displayed when a secure connection is established; a red
lock is displayed if the connection is not secure.
Test AWS IoT on Mobile Phone
If the DA16200 is provisioned using an SDK that supports AWS IoT, you can test AWS IoT with “Thing” pre-registered by Dialog Semiconductor.
NOTE
Contact Dialog Semiconductor to be assigned a test “Thing” name.
The AWS IoT application works in an environment as shown in Figure 7.
Figure 7: Architecture of AWS for IoT
Do the following steps on your mobile phone:
1. Click the Menu icon.| 2. Click the AWS IoT button.| 3. Click the lock icon to open the closed door.| 4. The door status changes to open.
If provisioning is not performed in the SDK that supports AWS IoT or if the SDK that does not support AWS IoT is used, a pop-up window appears as shown in Figure 8.
Figure 8: Does not Support AWS IoT
Revision History
Revision | Date | Description |
---|---|---|
1.6 | 19-Jul-2021 | • Added how to check the SDK version |
• Added information about the installation of mobile app
• Added console log when provisioning completed successfully
1.5| 14-Jul-2021| Added provisioning to hidden Wi-Fi network.
1.4| 13-May-2021| Added AWS loT application on DA16200.
1.3| 21-Apr-2021| Added text to show supported SDK version.
1.2| 05-Apr-2021| Changed UI according to operation scenario change.
1.1| 24-Mar-2021| Changed UI text.
1.0| 05-Mar-2021| First Release.
Status Definitions
Status | Definition |
---|---|
DRAFT | The content of this document is under review and subject to formal |
approval, which may result in modifications or additions.
APPROVED or unmarked| The content of this document has been approved for
publication.
Disclaimer
Unless otherwise agreed in writing, the Dialog Semiconductor products (and any
associated software) referred to in this document are not designed,
authorized, or warranted to be suitable for use in life support, life-critical
or safety-critical systems or equipment, nor in applications where failure or
malfunction of a Dialog Semiconductor product (or associated software) can
reasonably be expected to result in personal injury, death or severe property
or environmental damage. Dialog Semiconductor and its suppliers accept no
liability for the inclusion and/or use of Dialog Semiconductor products (and
any associated software) in such equipment or applications and therefore such
inclusion and/or use is at the customer’s own risk.
Information in this document is believed to be accurate and reliable. However,
Dialog Semiconductor does not give any representations or warranties, express
or implied, as to the accuracy or completeness of such information. Dialog
Semiconductor furthermore takes no responsibility whatsoever for the content
in this document if provided by any information source outside of Dialog
Semiconductor.
Dialog Semiconductor reserves the right to change without notice the
information published in this document, including, without limitation, the
specification and the design of the related semiconductor products, software
and applications. Notwithstanding the foregoing, for any automotive-grade
version of the device, Dialog Semiconductor reserves the right to change the
information published in this document, including, without limitation, the
specification and the design of the related semiconductor products, software,
and applications, in accordance with its standard automotive change
notification process.
Applications, software, and semiconductor products described in this document
are for illustrative purposes only. Dialog Semiconductor makes no
representation or warranty that such applications, software, and semiconductor
products will be suitable for the specified use without further testing or
modification. Unless otherwise agreed in writing, such testing or modification
is the sole responsibility of the customer and Dialog Semiconductor excludes
all liability in this respect.
Nothing in this document may be construed as a license for customers to use
the Dialog Semiconductor products, software, and applications referred to in
this document. Such license must be separately sought by a customer with
Dialog Semiconductor.
All use of Dialog Semiconductor products, software and applications referred
to in this document is subject to Dialog Semiconductor’s Standard Terms and
Conditions of Sale, available on the company website (www.dialog-
semiconductor.com) unless otherwise
stated.
Dialog, Dialog Semiconductor, and the Dialog logo are trademarks of Dialog
Semiconductor Plc or its subsidiaries. All other product or service names and
marks are the property of their respective owners.
© 2021 Dialog Semiconductor. All rights reserved.
RoHS Compliance
Dialog Semiconductor’s suppliers certify that its products are in compliance with the requirements of Directive 2011/65/EU of the European Parliament on the restriction of the use of certain hazardous substances in electrical and electronic equipment. RoHS certificates from our suppliers are available on request.
Contact Dialog Semiconductor
General Enquiry:
Enquiry Form
Local Offices:
https://www.dialog-semiconductor.com/contact/sales-offices