Dialog Semiconductor DA16200 User Manual

User Manual
DA16200 Provisioning
the Mobile App for Android/iOS
UM-WI-042

Abstract

This document describes how to use Dialog's Wi-Fi provisioning mobile app for Android/iOS.
UM-WI-042
DA16200 Provisioning the Mobile App for Android/iOS
User Manual
Revision 1.5
14-Jul-2021
CFR0012
2 of 15
© 2021 Dialog Semiconductor

Contents

Abstract ................................................................................................................................................ 1
Contents ............................................................................................................................................... 2
Figures .................................................................................................................................................. 2
1 Terms and Definitions ................................................................................................................... 3
2 Overview ......................................................................................................................................... 4
3 System Requirement ..................................................................................................................... 4
3.1 DA16200 ............................................................................................................................... 4
3.2 Android .................................................................................................................................. 4
3.3 iOS ........................................................................................................................................ 4
4 Sequence Diagram for Wi-Fi Provisioning ................................................................................. 5
5 How to Test Provisioning ............................................................................................................. 6
5.1 Test Provisioning on Android Phone ..................................................................................... 6
5.1.1 Provisioning to Hidden Wi-Fi Network ................................................................... 7
5.1.2 Socket Switching ................................................................................................... 8
5.2 Test Provisioning on iPhone ................................................................................................. 9
5.2.1 Provisioning to Hidden Wi-Fi Network ................................................................. 10
5.2.2 Socket Switching ................................................................................................. 11
6 Test AWS IoT on Mobile Phone ................................................................................................. 12
Revision History ................................................................................................................................ 14

Figures

Figure 1: Sequence Diagram for Wi-Fi Provisioning ............................................................................. 5
Figure 2: DA16200 Factory Reset or Switch Button ............................................................................. 6
Figure 3: Architecture of AWS for IoT ................................................................................................. 12
Figure 4: Does not Support AWS IoT .................................................................................................. 13
UM-WI-042
DA16200 Provisioning the Mobile App for Android/iOS
User Manual
Revision 1.5
14-Jul-2021
CFR0012
3 of 15
© 2021 Dialog Semiconductor

1 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
UM-WI-042
DA16200 Provisioning the Mobile App for Android/iOS
User Manual
Revision 1.5
14-Jul-2021
CFR0012
4 of 15
© 2021 Dialog Semiconductor

2 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.

3 System Requirement

3.1 DA16200

Supported SDK Version: 2.3.4.1 or higher

3.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

3.3 iOS

Deployment Version: iOS 12.0 and higher
IDE: Xcode 12.4
Swift Language Version: Swift 5
UM-WI-042
DA16200 Provisioning the Mobile App for Android/iOS
User Manual
Revision 1.5
14-Jul-2021
CFR0012
5 of 15
© 2021 Dialog Semiconductor

4 Sequence Diagram for Wi-Fi Provisioning

Figure 1: Sequence Diagram for Wi-Fi Provisioning
UM-WI-042
DA16200 Provisioning the Mobile App for Android/iOS
User Manual
Revision 1.5
14-Jul-2021
CFR0012
6 of 15
© 2021 Dialog Semiconductor

5 How to Test Provisioning

Use the Factory Reset or Switch button (depends on the device option) to switch the DA16200 to AP Mode.
Figure 2: DA16200 Factory Reset or Switch Button

5.1 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 button.
3. DA16200 with Dialog_DA16200 SSID automatically connects to app.
4. When the DA16200 and the phone are connected, click the NEXT button.
Press for 5 seconds for a factory reset.
UM-WI-042
DA16200 Provisioning the Mobile App for Android/iOS
User Manual
Revision 1.5
14-Jul-2021
CFR0012
7 of 15
© 2021 Dialog Semiconductor
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.

5.1.1 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 security option if needed, and then click the
OK button.
UM-WI-042
DA16200 Provisioning the Mobile App for Android/iOS
User Manual
Revision 1.5
14-Jul-2021
CFR0012
8 of 15
© 2021 Dialog Semiconductor

5.1.2 Socket Switching

You can switch between TLS secured socket and 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.
UM-WI-042
DA16200 Provisioning the Mobile App for Android/iOS
User Manual
Revision 1.5
14-Jul-2021
CFR0012
9 of 15
© 2021 Dialog Semiconductor

5.2 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 SSID.
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.
UM-WI-042
DA16200 Provisioning the Mobile App for Android/iOS
User Manual
Revision 1.5
14-Jul-2021
CFR0012
10 of 15
© 2021 Dialog Semiconductor

5.2.1 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 security option if needed, and then click the OK button.
UM-WI-042
DA16200 Provisioning the Mobile App for Android/iOS
User Manual
Revision 1.5
14-Jul-2021
CFR0012
11 of 15
© 2021 Dialog Semiconductor

5.2.2 Socket Switching

You can switch between TLS secured socket and 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.
UM-WI-042
DA16200 Provisioning the Mobile App for Android/iOS
User Manual
Revision 1.5
14-Jul-2021
CFR0012
12 of 15
© 2021 Dialog Semiconductor

6 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 3.
Figure 3: 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.
UM-WI-042
DA16200 Provisioning the Mobile App for Android/iOS
User Manual
Revision 1.5
14-Jul-2021
CFR0012
13 of 15
© 2021 Dialog Semiconductor
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 4.
Figure 4: Does not Support AWS IoT
UM-WI-042
DA16200 Provisioning the Mobile App for Android/iOS
User Manual
Revision 1.5
14-Jul-2021
CFR0012
14 of 15
© 2021 Dialog Semiconductor

Revision History

Revision
Date
Description
1.5
14-Jul-2021
Added provisioning to hidden Wi-Fi network.
1.4
13-May-2021
Added AWS IoT 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.
UM-WI-042
DA16200 Provisioning the Mobile App for Android/iOS
User Manual
Revision 1.5
14-Jul-2021
CFR0012
15 of 15
© 2021 Dialog Semiconductor
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 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 customer to use the Dialog Semiconductor products, software and applications referred to in this document. Such license must be separately sought by 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.
Contacting Dialog Semiconductor
United Kingdom (Headquarters)
Dialog Semiconductor (UK) LTD
Phone: +44 1793 757700
Germany
Dialog Semiconductor GmbH
Phone: +49 7021 805-0
The Netherlands
Dialog Semiconductor B.V.
Phone: +31 73 640 8822
North America
Dialog Semiconductor Inc.
Phone: +1 408 845 8500
Japan
Dialog Semiconductor K. K.
Phone: +81 3 5769 5100
Taiwan
Dialog Semiconductor Taiwan
Phone: +886 281 786 222
Hong Kong
Dialog Semiconductor Hong Kong
Phone: +852 2607 4271
Korea
Dialog Semiconductor Korea
Phone: +82 2 3469 8200
China (Shenzhen)
Dialog Semiconductor China
Phone: +86 755 2981 3669
China (Shanghai)
Dialog Semiconductor China
Phone: +86 21 5424 9058
Email:
enquiry@diasemi.com
Web site:
www.dialog-semiconductor.com
Loading...