Note the following details of the code protection feature on Microchip devices:
•
•
•
Microchip products meet the specification contained in their particular Microchip Data Sheet.
Microchip believes that its family of products is one of the most secure families of its kind on the market today, when used in the
intended manner and under normal conditions.
There are dishonest and possibly illegal methods used to breach the code protection feature. All of these methods, to our
knowledge, require using the Microchip products in a manner outside the operating specifications contained in Microchip’s Data
Sheets. Most likely, the person doing so is engaged in theft of intellectual property.
Microchip is willing to work with the customer who is concerned about the integrity of their code.
Neither Microchip nor any other semiconductor manufacturer can guarantee the security of their code. Code protection does not
mean that we are guaranteeing the product as “unbreakable.”
•
•
Code protection is constantly evolving. We at Microchip are committed to continuously improving the code protection features of our
products. Attempts to break Microchip’s code protection feature may be a violation of the Digital Millennium Copyright Act. If such acts
allow unauthorized access to your software or other copyrighted work, you may have a right to sue for relief under that Act.
Information contained in this publication regarding device
applications and the like is provided only for your convenience
and may be superseded by updates. It is your responsibility to
ensure that your application meets with your specifications.
MICROCHIP MAKES NO REPRESENTATIONS OR
WARRANTIES OF ANY KIND WHETHER EXPRESS OR
IMPLIED, WRITTEN OR ORAL, STATUTORY OR
OTHERWISE, RELATED TO THE INFORMATION,
INCLUDING BUT NOT LIMITED TO ITS CONDITION,
QUALITY, PERFORMANCE, MERCHANTABILITY OR
FITNESS FOR PURPOSE. Microchip disclaims all liability
arising from this information and its use. Use of Microchip
devices in life support and/or safety applications is entirely at
the buyer’s risk, and the buyer agrees to defend, indemnify and
hold harmless Microchip from any and all damages, claims,
suits, or expenses resulting from such use. No licenses are
conveyed, implicitly or otherwise, under any Microchip
intellectual property rights unless otherwise stated.
Trademarks
The Microchip name and logo, the Microchip logo, AnyRate,
dsPIC, FlashFlex, flexPWR, Heldo, JukeBlox, KeeLoq,
KeeLoq logo, Kleer, LANCheck, LINK MD, MediaLB, MOST,
MOST logo, MPLAB, OptoLyzer, PIC, PICSTART, PIC32 logo,
RightTouch, SpyNIC, SST, SST Logo, SuperFlash and UNI/O
are registered trademarks of Microchip Technology
Incorporated in the U.S.A. and other countries.
ClockWorks, The Embedded Control Solutions Company,
ETHERSYNCH, Hyper Speed Control, HyperLight Load,
IntelliMOS, mTouch, Precision Edge, and QUIET-WIRE are
registered trademarks of Microchip Technology Incorporated
in the U.S.A.
Analog-for-the-Digital Age, Any Capacitor, AnyIn, AnyOut,
BodyCom, chipKIT, chipKIT logo, CodeGuard, dsPICDEM,
dsPICDEM.net, Dynamic Average Matching, DAM, ECAN,
EtherGREEN, In-Circuit Serial Programming, ICSP, Inter-Chip
Connectivity, JitterBlocker, KleerNet, KleerNet logo, MiWi,
motorBench, MPASM, MPF, MPLAB Certified logo, MPLIB,
MPLINK, MultiTRAK, NetDetach, Omniscient Code
Generation, PICDEM, PICDEM.net, PICkit, PICtail,
PureSilicon, RightTouch logo, REAL ICE, Ripple Blocker,
Serial Quad I/O, SQI, SuperSwitcher, SuperSwitcher II, Total
Endurance, TSHARC, USBCheck, VariSense, ViewSpan,
WiperLock, Wireless DNA, and ZENA are trademarks of
Microchip Technology Incorporated in the U.S.A. and other
countries.
SQTP is a service mark of Microchip Technology Incorporated
in the U.S.A.
Microchip received ISO/TS-16949:2009 certification for its worldwide
headquarters, design and wafer fabrication facilities in Chandler and
Tempe, Arizona; Gresham, Oregon and design centers in California
and India. The Company’s quality system processes and procedures
are for its PIC
®
MCUs and dsPIC
®
DSCs, K
EE
L
OQ
®
code hopping
devices, Serial EEPROMs, microperipherals, nonvolatile memory and
analog products. In addition, Microchip’s quality system for the design
and manufacture of development systems is ISO 9001:2000 certified.
Silicon Storage Technology is a registered trademark of
Microchip Technology Inc. in other countries.
GestIC is a registered trademarks of Microchip Technology
Germany II GmbH & Co. KG, a subsidiary of Microchip
Technology Inc., in other countries.
All other trademarks mentioned herein are property of their
respective companies.
© 2016, Microchip Technology Incorporated, Printed in the
U.S.A., All Rights Reserved.
ISBN: 978-1-5224-0362-3
QUALITY MANAGEMENT SYSTEM
CERTIFIED BY DNV
==
ISO/TS 16949
==
DS50002467A-page 2
2016 Microchip Technology Inc.
RN1810 WiFly COMMAND
REFERENCE USER’S GUIDE
Table of Contents
Preface ........................................................................................................................... 5
Chapter 1. Overview
1.1 Introduction ..................................................................................................... 9
1.2 Features ......................................................................................................... 9
1.3 Configuration ................................................................................................ 10
Chapter 2. Command Reference
2.1 Introduction ................................................................................................... 11
2.2 Command Syntax ......................................................................................... 11
2.3 Command Organization ............................................................................... 11
2.4 Set Commands ............................................................................................. 12
2.5 Get Commands ............................................................................................ 28
2.6 Action Commands ........................................................................................ 30
2.7 Show Commands ......................................................................................... 35
Chapter 3. Advanced Features and Settings
3.1 Introduction ................................................................................................... 37
3.2 Soft Access Point (AP) Mode ....................................................................... 37
3.3 Sleep and Wake Methods ............................................................................ 38
3.4 TX Flush Methods ........................................................................................ 38
3.5 Scan Output Format ..................................................................................... 39
Chapter 4. Application Examples
4.1 Joining Networks and Making Connections ................................................. 41
4.2 Sending Data Using TCP - Module is a TCP Server .................................... 42
4.3 Sending Data Using TCP - Module is a TCP Client ..................................... 43
4.4 Sending Data Using IPv6 - Module is a TCP Client ..................................... 43
4.5 Sending Data Using UDP - Module is a UDP Client .................................... 44
4.6 Sending Data Using TLS - Module is a TLS Server ..................................... 44
4.7 Sending Data Using TLS - Module is a TLS Client ...................................... 45
4.8 FTP Client .................................................................................................... 46
4.9 Wi-Fi Protected Setup (WPS) ....................................................................... 47
4.10 SNTP Client ................................................................................................ 49
4.11 Configuration Web Server .......................................................................... 50
4.12 Using the Web Server to Configure the RN1810 ....................................... 51
4.13 Auto-Connection and Sleep Timers ........................................................... 52
Chapter 5. RN1810 I/O Pins
5.1 I/O PIN Descriptions ..................................................................................... 55
5.2 I/O Pin Function Select ................................................................................. 58
2016 Microchip Technology Inc.
DS50002467A-page 3
RN1810 WiFly COMMAND
REFERENCE USER’S GUIDE
Preface
NOTICE TO CUSTOMERS
All documentation becomes dated, and this manual is no exception. Microchip tools and
documentation are constantly evolving to meet customer needs, so some actual dialogs
and/or tool descriptions may differ from those in this document. Please refer to our web site
(www.microchip.com) to obtain the latest documentation available.
Documents are identified with a “DS” number. This number is located on the bottom of each
page, in front of the page number. The numbering convention for the DS number is
“DSXXXXXXXXA”, where “XXXXXXXX” is the document number and “A” is the revision level
of the document.
For the most up-to-date information on development tools, see the MPLAB
®
IDE online help.
Select the Help menu, and then Topics to open a list of available online help files.
INTRODUCTION
This chapter contains general information that will be useful to know before using the
RN1810 module. Items discussed in this chapter include:
•
•
•
•
•
•
•
Document Layout
Conventions Used in this Guide
Recommended Reading
The Microchip Web Site
Development Systems Customer Change Notification Service
Customer Support
Document Revision History
DOCUMENT LAYOUT
This document provides information for configuring the RN1810 module, including a
command reference, advanced features, and application examples. The document is
organized as follows:
•
Chapter 1. “Overview”
– This chapter introduces the RN1810 module and
provides a brief overview of various features.
• Chapter 2. “Command Reference”
– This chapter provides information on the
commands used to configure RN1810 module and gives examples.
• Chapter 3. “Advanced Features and Settings”
– This chapter describes the
WiFly module’s advanced features, including techniques to put the module to
sleep and wake it up.
• Chapter 4. “Application Examples”
– This chapter provides application exam-
ples in using the RN1810 module.
• Chapter 5. “RN1810 I/O Pins”
– This chapter describes the RN1810 I/O pins.
2016 Microchip Technology Inc.
DS50002467A-page 5