Download Print this page

Texas Instruments SimpleLink Wi-Fi CC3 20 Series User Manual

Hide thumbs Also See for SimpleLink Wi-Fi CC3 20 Series:

Advertisement

Quick Links

SimpleLink™ Wi-Fi
This user's guide describes Texas Instruments SimpleLink™ Wi-Fi
applications, specifically on the usage of the Android™ and iOS
networking, and provisioning APIs required for building the mobile application.
Abbreviation or Term
AP
APIs
Bcast
HTTP
JSON
mDNS
SC
UDP
UI
...................................................................................................................
1
2
3
4
5
®
6
7
......................................................................................................................
8
Settings
9
Logger and Email
Trademarks
SimpleLink, Internet-on-a chip, SmartConfig, Texas Instruments are trademarks of Texas Instruments.
Bluetooth is a registered trademark of Bluetooth SIG, Inc.
iOS is a registered trademark of Cisco.
Android is a trademark of Google, Inc..
Wi-Fi is a registered trademark of Wi-Fi Alliance.
All other trademarks are the property of their respective owners.
SWRU472A - February 2017 - Revised April 2019
Submit Documentation Feedback
®
CC3x20 and CC3x35 Provisioning for
Terms and Abbreviations
Access Point
Application Interfaces
Broadcast
Hypertext Transfer Protocol
Javascript Object Notation
Multicast DNS
SmartConfig
User Datagram Protocol
User Interface
......................................................................................................
..............................................................................................
...................................................................................................
...................................................................................................
.........................................................................................................
...........................................................................................................
SimpleLink™ Wi-Fi
Copyright © 2017-2019, Texas Instruments Incorporated
SWRU472A - February 2017 - Revised April 2019
Mobile Applications
provisioning solution for mobile
®
building blocks for UI requirements,
®
Meaning and Explanation
Contents
......................................................................
®
CC3x20 and CC3x35 Provisioning for Mobile
User's Guide
2
4
6
9
14
17
18
19
19
1
Applications

Advertisement

loading

Summary of Contents for Texas Instruments SimpleLink Wi-Fi CC3 20 Series

  • Page 1: Table Of Contents

    Settings ......................Logger and Email Trademarks SimpleLink, Internet-on-a chip, SmartConfig, Texas Instruments are trademarks of Texas Instruments. Bluetooth is a registered trademark of Bluetooth SIG, Inc. iOS is a registered trademark of Cisco. Android is a trademark of Google, Inc..
  • Page 2: Introduction

    Introduction www.ti.com Introduction Overview ® This document describes the Texas Instruments SimpleLink™ Wi-Fi provisioning solution for mobile ® applications. The main focus of this document is on the usage of the Android™ and iOS building blocks for UI requirements, networking, and provisioning APIs required for building the mobile application.
  • Page 3 Internet-on-a chip™ Solution Device Provisioning) and the mobile application. Figure 1. General Overview SWRU472A – February 2017 – Revised April 2019 ® SimpleLink™ Wi-Fi CC3x20 and CC3x35 Provisioning for Mobile Submit Documentation Feedback Applications Copyright © 2017–2019, Texas Instruments Incorporated...
  • Page 4: Top-Level Architecture

    Top-Level Architecture Top-Level Blocks Figure 2 illustrates the top-level architecture. Figure 2. Top-Level Architecture ® SWRU472A – February 2017 – Revised April 2019 SimpleLink™ Wi-Fi CC3x20 and CC3x35 Provisioning for Mobile Applications Submit Documentation Feedback Copyright © 2017–2019, Texas Instruments Incorporated...
  • Page 5 In this case, the device is configured but the confirmation feedback is transferred using the direct connection. SWRU472A – February 2017 – Revised April 2019 ® SimpleLink™ Wi-Fi CC3x20 and CC3x35 Provisioning for Mobile Submit Documentation Feedback Applications Copyright © 2017–2019, Texas Instruments Incorporated...
  • Page 6: Provisioning - Smartconfig

    (as opposed to other methods that require disconnection). ® SWRU472A – February 2017 – Revised April 2019 SimpleLink™ Wi-Fi CC3x20 and CC3x35 Provisioning for Mobile Applications Submit Documentation Feedback Copyright © 2017–2019, Texas Instruments Incorporated...
  • Page 7 SmartConfig™ Flow Chart Figure 3 illustrates the SmartConfig™ flow chart. Figure 3. SmartConfig™ Flow Chart SWRU472A – February 2017 – Revised April 2019 ® SimpleLink™ Wi-Fi CC3x20 and CC3x35 Provisioning for Mobile Submit Documentation Feedback Applications Copyright © 2017–2019, Texas Instruments Incorporated...
  • Page 8 SmartConfig™ Sequence Figure 4 illustrates the SmartConfig™ sequence. Figure 4. SmartConfig™ Sequence ® SWRU472A – February 2017 – Revised April 2019 SimpleLink™ Wi-Fi CC3x20 and CC3x35 Provisioning for Mobile Applications Submit Documentation Feedback Copyright © 2017–2019, Texas Instruments Incorporated...
  • Page 9: Android™ Block Diagram

    AP. The device and the phone are hidden. The SmartConfig™ command is activated by the following class: Android™: class SmartConfig SWRU472A – February 2017 – Revised April 2019 ® SimpleLink™ Wi-Fi CC3x20 and CC3x35 Provisioning for Mobile Submit Documentation Feedback Applications Copyright © 2017–2019, Texas Instruments Incorporated...
  • Page 10 Starts SmartConfig™ packets transmission, based on the init values. transmitSettings() For example: smartConfig.transmitSettings(); ® SWRU472A – February 2017 – Revised April 2019 SimpleLink™ Wi-Fi CC3x20 and CC3x35 Provisioning for Mobile Applications Submit Documentation Feedback Copyright © 2017–2019, Texas Instruments Incorporated...
  • Page 11 Ping class handles both ping generation, accepting ping responses, and creating an HTTP request for validating the device name. SWRU472A – February 2017 – Revised April 2019 ® SimpleLink™ Wi-Fi CC3x20 and CC3x35 Provisioning for Mobile Submit Documentation Feedback Applications Copyright © 2017–2019, Texas Instruments Incorporated...
  • Page 12 Wrong_Password “3” Ip_add_failed Any other string Failure For example: CFG_Result_Enum result_Enum = NetworkUtil.cfgEnumForResponse(resultString) ® SWRU472A – February 2017 – Revised April 2019 SimpleLink™ Wi-Fi CC3x20 and CC3x35 Provisioning for Mobile Applications Submit Documentation Feedback Copyright © 2017–2019, Texas Instruments Incorporated...
  • Page 13 String getDeviceName(String baseUrl, DeviceVersion version) Texas Instruments™ recommends setting a device name, because if other devices respond to mDNS, the mobile device cannot decide which one belongs to the active one, as no name was set.
  • Page 14: Provisioning - Ap Mode

    Starter Pro") the transition between AP mode and SmartConfig™ is set by a button on the "Settings" screen. ® SWRU472A – February 2017 – Revised April 2019 SimpleLink™ Wi-Fi CC3x20 and CC3x35 Provisioning for Mobile Applications Submit Documentation Feedback Copyright © 2017–2019, Texas Instruments Incorporated...
  • Page 15 Figure 6 illustrates the AP mode flow chart. Figure 6. AP Mode Flow Chart SWRU472A – February 2017 – Revised April 2019 ® SimpleLink™ Wi-Fi CC3x20 and CC3x35 Provisioning for Mobile Submit Documentation Feedback Applications Copyright © 2017–2019, Texas Instruments Incorporated...
  • Page 16 Ping task should be activated when the mobile application connects to the local network. There is no use for mDNS listener while the device is in AP mode. ® SWRU472A – February 2017 – Revised April 2019 SimpleLink™ Wi-Fi CC3x20 and CC3x35 Provisioning for Mobile Applications Submit Documentation Feedback Copyright © 2017–2019, Texas Instruments Incorporated...
  • Page 17: Ios Versus Android™ Development Guidelines

    (from the device list), the user should specify if and what the password is for this AP. SWRU472A – February 2017 – Revised April 2019 ® SimpleLink™ Wi-Fi CC3x20 and CC3x35 Provisioning for Mobile Submit Documentation Feedback Applications Copyright © 2017–2019, Texas Instruments Incorporated...
  • Page 18: Porting Instructions

    9. In case of failure, the error (wrong password, range issues, and so forth) should be inspected and fixed. ® SWRU472A – February 2017 – Revised April 2019 SimpleLink™ Wi-Fi CC3x20 and CC3x35 Provisioning for Mobile Applications Submit Documentation Feedback Copyright © 2017–2019, Texas Instruments Incorporated...
  • Page 19 ® Both iOS and Android™ applications store data logs for sending the information to Texas Instruments™, in case a problem should be reported (passwords are not stored as a part of this log file). The log file exists on the local storage of the application, and in some cases it is not exposed from the phone UI.
  • Page 20 Added paragraph to Section 5.1 ..................... • Added paragraph to Section 5.7.4 ....................• Deleted last bulleted item in Section 8 Revision History SWRU472A – February 2017 – Revised April 2019 Submit Documentation Feedback Copyright © 2017–2019, Texas Instruments Incorporated...
  • Page 21 TI products. TI’s provision of these resources does not expand or otherwise alter TI’s applicable warranties or warranty disclaimers for TI products. Mailing Address: Texas Instruments, Post Office Box 655303, Dallas, Texas 75265 Copyright © 2019, Texas Instruments Incorporated...

This manual is also suitable for:

Simplelink wi-fi cc3 35 series