Telit Wireless Solutions WE866E4-P At Commands Reference Manual
Telit Wireless Solutions WE866E4-P At Commands Reference Manual

Telit Wireless Solutions WE866E4-P At Commands Reference Manual

Hide thumbs Also See for WE866E4-P:
Table of Contents

Advertisement

Quick Links

WE866E4-P AT Commands Reference Guide
WE866E4-P AT Commands Reference
80572ST10887A Rev. 0.0
80572ST10887A
1
Guide
Rev. 0.0 – 2018-02-16
2018-02-16

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the WE866E4-P and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Telit Wireless Solutions WE866E4-P

  • Page 1 WE866E4-P AT Commands Reference Guide WE866E4-P AT Commands Reference Guide Rev. 0.0 – 2018-02-16 80572ST10887A 80572ST10887A Rev. 0.0 2018-02-16...
  • Page 2: Applicability Table

    WE866E4-P AT Commands Reference Guide APPLICABILITY TABLE PRODUCT WE866E4-P Software Release 7.0.0B 80572ST10887A Rev. 0.0 2018-02-16...
  • Page 3: Notice

    WE866E4-P AT Commands Reference Guide SPECIFICATIONS ARE SUBJECT TO CHANGE WITHOUT NOTICE NOTICE While reasonable efforts have been made to assure the accuracy of this document, Telit assumes no liability resulting from any inaccuracies or omissions in this document, or from use of the information obtained herein.
  • Page 4: Usage And Disclosure Restrictions

    WE866E4-P AT Commands Reference Guide USAGE AND DISCLOSURE RESTRICTIONS I.License Agreements The software described in this document is the property of Telit and its licensors. It is furnished by express license agreement only and may be used only in accordance with the terms of such an agreement.
  • Page 5: Table Of Contents

    WE866E4-P AT Commands Reference Guide Contents APPLICABILITY TABLE .......................2 NOTICE ............................3 COPYRIGHTS ..........................3 COMPUTER SOFTWARE COPYRIGHTS ...................3 USAGE AND DISCLOSURE RESTRICTIONS ................4 I.License Agreements ......................4 II.Copyrighted Materials ......................4 III.High Risk Materials ......................4 IV.Trademarks ........................4 V.Third Party Rights .......................4 Document History ..........................9 1 Introduction ..........................
  • Page 6 WE866E4-P AT Commands Reference Guide 6.3.2 Save Profile ........................27 6.3.3 Set Profile ........................27 6.4 System Settings ........................29 6.4.1 Open File ........................29 6.4.2 Close File ........................30 6.4.3 Delete File ........................30 6.4.4 File Length ........................31 6.4.5 File List .........................32 6.4.6 Read File ........................33 6.4.7 Write File ........................35...
  • Page 7 WE866E4-P AT Commands Reference Guide 8.2.5 NDNS Client Resolve URL ...................74 8.2.6 Set NDNS Client Server IP Address ................75 8.2.7 Get NDNS Client Server IP Address ................76 8.2.8 NDNS Server Host Addition ..................77 8.2.9 NDNS Service Discovery .....................78 8.2.10 NDNS Get Target Information ..................79 9 Data Transfer ..........................
  • Page 8 WE866E4-P AT Commands Reference Guide 10.1.2.1 Start NMDNS Server ..................123 10.1.2.2 Stop NMDNS Server ..................124 10.1.2.3 NMDNS Host Name Registration ..............125 10.1.2.4 NMDNS Service Registration ................126 10.1.2.5 NMDNS Service De-registration ..............127 10.1.2.6 Start NMDNS Module ..................128 10.1.2.7 Get NmDNS Start ....................129 10.1.2.8 NMDNS Text Update ..................130...
  • Page 9: Document History

    WE866E4-P AT Commands Reference Guide Document History Revision Date Changes February 2018 First Issue. 80572ST10887A Rev. 0.0 2018-02-16...
  • Page 10: Introduction

    1.2 Audience This document is intended for Telit customers, who are integrators, about to implement their applications using our WE866E4-P modules. Readers of this document should be familiar with Telit modules and their ease of controlling by means of AT Commands.
  • Page 11: Text Convention

    WE866E4-P AT Commands Reference Guide 1.4 Text Convention Table 1, page 11, shows the symbol conventions used in this manual for notification and important instructions. Table 1 Symbol Conventions Icon Type Description Provides helpful suggestions needed in understanding Note a feature or references to material not available in the manual.
  • Page 12: Related Documents Requiring A Non Disclosure Agreement

    WE866E4-P AT Commands Reference Guide 1.5.2 Related Documents requiring a Non Disclosure Agreement – Authorized Software User Guides – Product firmware 80572ST10887A Rev. 0.0 2018-02-16...
  • Page 13: Overview

    WE866E4-P AT Commands Reference Guide 2 Overview This chapter provides the guidelines for using AT command line interface to design, configure and provision WE866E4-P module in a Wi-Fi network using serial commands. • About the Document, page 13 • AT Commands, page 13 •...
  • Page 14 WE866E4-P AT Commands Reference Guide Table 2 Document Text Conventions Convention Type Description Enclose optional parameters. Choose none; or select one or more an unlimited number of times each. Do not enter brackets as part of any command. Square brackets...
  • Page 15: At Command Syntax

    WE866E4-P AT Commands Reference Guide 2.2.2 AT Command Syntax Table 3, page 15, describes the syntax rules followed by Telit implementation used in this manual for software procedures that are explained using the AT command line interface. Table 3 AT Command Syntax...
  • Page 16 WE866E4-P AT Commands Reference Guide 80572ST10887A Rev. 0.0 2018-02-16...
  • Page 17: Getting Started

    Flash the binary using module programmer user guide on the custom hardware or – GS evaluation board and execute in RUN mode. (Refer “WE866E4-P Module Programming User Guide”). 2. Design the custom hardware by following the design guidelines. (Refer WE866E4-P Hardware Design Guidelines) 3. Develop Host firmware –...
  • Page 18: Using Sdk Builder

    – Perform generic recommendations in production line – Perform RF tests NOTE: Refer “WE866E4-P Use Case Reference Guide document for detailed use cases and examples 3.2 Using SDK Builder 3.2.1 Serial-to-WiFi Module Information Selecting the Serial-to-WiFi (Hosted) under the SDK Builder Configuration screen displays the module information that includes the module selected, firmware version.
  • Page 19: Architecture

    • System Initialization, page 19 4.1 Working Principle Figure 1, page 19, representation shows the communication between WE866E4-P Module and the Host: Figure 1 Communication between the Module and the Host 4.2 System Initialization During the initialization process, the module SW tries to fetch the configuration file (also called as profile) from the file system.
  • Page 20 WE866E4-P AT Commands Reference Guide In the profile, configuration related to wireless network, UDP/TCP/DNS/mDNS/HTTP/MQTT are kept. If the auto connection mode is set, then the module will attempt to join the wireless network and will try to open connection based on the UDP/TCP/HTTP/MQTT configuration.
  • Page 21: Host Interaction

    WE866E4-P AT Commands Reference Guide 5 Host Interaction This chapter describes how a communication interface is established between Host and WE866E4-P module. • Startup Handling, page 21 • Interface, page 21 5.1 Startup Handling Content required NOTE: 5.2 Interface 5.2.1 Configure UART This command is used to configure UART and set UART parameters.
  • Page 22 WE866E4-P AT Commands Reference Guide Table 4 Configure UART Parameters Parameters Mandatory/Optional Value Description Value range: 110-921600 BaudRate Mandatory Format: Integer It specifies the UART parameters Default value: 115200 Value range: 0-3 Bits per Optional Format: Integer It specifies the bits per character.
  • Page 23: General Operations

    WE866E4-P AT Commands Reference Guide 6 General Operations This chapter describes the commands for generic operations as required by Serial-to-WiFi Application. • Version, page 23 • Time Setting, page 23 • Profile Setting, page 26 • System Settings, page 29 •...
  • Page 24: Get Time

    WE866E4-P AT Commands Reference Guide Table 7 Set Time Parameters Parameters Mandatory/Optional Value Description Value range: 0-1 Format: Integer Absolute Mandatory It specifies the absolute time to be set Default value: Time 09/01/12,11:15:00 Response Table 8, page 24, describes the responses and remarks for Set Time command.
  • Page 25 WE866E4-P AT Commands Reference Guide Table 10 Get Time Parameters Parameters Value Description Value range: 0-1 Format: Integer Time It specifies the time that has been set. Default value: 09/01/12,11:15:00 Response Table 11, page 25, describes the responses and remarks for Get Time command.
  • Page 26: Profile Setting

    WE866E4-P AT Commands Reference Guide 6.3 Profile Setting The following AT commands are sequentially executed for setting a profile: To view the current profile To write to profile settings To load a profile To reboot with particular profile To factory Reset 6.3.1 Read Profile...
  • Page 27: Save Profile

    WE866E4-P AT Commands Reference Guide Table 15 Read Profile Synchronous Response Responses Remarks Success. ERROR If parameter is not valid. Example ATZ0 6.3.2 Save Profile This command is used to save the profile to the file system. Command Syntax AT&WNP=<Profile Number>...
  • Page 28 WE866E4-P AT Commands Reference Guide Parameter Description Table 18, page 28, describes the Set Profile parameters. Table 18 Set Profile Parameters Parameters Mandatory/Optional Value Description Value range: 0-1 Profile Format: Integer Mandatory It specifies the profile number to be set.
  • Page 29: System Settings

    WE866E4-P AT Commands Reference Guide 6.4 System Settings 6.4.1 Open File This command is used to open a specified file with options in the file name. Command Syntax AT+YFOP=<FIle Name>,<Options> Parameter Description Table 21, page 29, describes the Open File parameters.
  • Page 30: Close File

    WE866E4-P AT Commands Reference Guide Table 23 Open File Synchronous Response Responses Remarks Success. ERROR If parameter is not valid. 6.4.2 Close File This command is used to close a specified file. Prior to issuing this command, user is required to open a File.
  • Page 31: File Length

    WE866E4-P AT Commands Reference Guide Table 26 Delete File Parameters Parameters Mandatory/Optional Value Description Value range: 1-64 Format: String It specifies the file name to remove or File Name Mandatory delete. Default value: Response Table 27, page 31, describes the responses and remarks for Delete File command.
  • Page 32: File List

    WE866E4-P AT Commands Reference Guide Table 29 File Length Response Responses Remarks ERROR If parameter is not valid. Synchronous Response Table 30, page 32, describes the synchronous responses and remarks for File Length command. Table 30 File Length Synchronous Response...
  • Page 33: Read File

    WE866E4-P AT Commands Reference Guide Table 32 File List Response Responses Remarks ERROR If parameter is not valid. Synchronous Response Table 33, page 40, describes the synchronous responses and remarks for File List command. Table 33 File List Synchronous Response...
  • Page 34 WE866E4-P AT Commands Reference Guide Table 34 Read File Parameters Parameters Mandatory/Optional Value Description Value range: 0X0-0XFFFFFFFF File It specifies the value returned while Mandatory Format: Hexa Descriptor opening a file. Default value: Value range: 0-1024 It specifies offset from the starting of the...
  • Page 35: Write File

    WE866E4-P AT Commands Reference Guide 6.4.7 Write File This command is used to write the specified file from a given offset. Prior to issuing this command, the file must be open. Command Syntax AT+YFWR=<FIle Descriptor>,<Offset>,<Data> Parameter Description Table 37, page 35, describes the Write File parameters.
  • Page 36: Auto Mode

    WE866E4-P AT Commands Reference Guide 6.4.8 Auto Mode This command is used to enable or disable Auto mode. Command Syntax ATCn Parameter Description Table 39, page 36, describes the Auto Mode parameters. Table 39 Auto Mode Parameters Parameters Mandatory/Optional Value...
  • Page 37: Data Mode

    WE866E4-P AT Commands Reference Guide Table 42 Get Auto Mode Parameters Parameters Value Description Value range: 0,1 It specifies the status of the Auto mode Status Format: String operation (ENABLE or DISABLE). Default value: 1 Response Table 43, page 37, describes the responses and remarks for Get Auto Mode command.
  • Page 38: Echo Mode

    WE866E4-P AT Commands Reference Guide Response Table 46, page 38, describes the responses and remarks for Data Mode command. Table 46 Data Mode Response Responses Remarks Success. ERROR If parameter is not valid. Synchronous Response Table 47, page 38, describes the synchronous responses and remarks for Data Mode command.
  • Page 39: Verbose Mode

    WE866E4-P AT Commands Reference Guide Table 49 Data Mode Response Responses Remarks Success. ERROR If parameter is not valid. Synchronous Response Table 50, page 39, describes the synchronous responses and remarks for Data Mode command. Table 50 Data Mode Synchronous Response...
  • Page 40 WE866E4-P AT Commands Reference Guide Synchronous Response Table 53, page 40, describes the synchronous responses and remarks for Verbose Mode command. Table 53 Verbose Mode Synchronous Response Responses Remarks Success. ERROR If parameter is not valid. 80572ST10887A Rev. 0.0 2018-02-16...
  • Page 41: Heap Information

    WE866E4-P AT Commands Reference Guide 6.5 Heap Information This command is used to get information on total heap size and available memory for allocation. Command Syntax AT+YHD Response Table 54, page 41, describes the responses and remarks for Heap Information command.
  • Page 42: System Reset

    WE866E4-P AT Commands Reference Guide 6.6 System Reset This command is used to perform a soft reset to the module. Command Syntax AT+YSR Response Table 56, page 42, describes the responses and remarks for System Reset command. Table 56 System Reset Response...
  • Page 43: Sntp Settings

    WE866E4-P AT Commands Reference Guide 6.7 SNTP Settings 6.7.1 SNTP Configuration This command is used to configure the server in SNTP module. Prior to issuing this command, user is required to issue SNTP start command. Command Syntax AT+NSNTPCFG=<Server Address>,<Server ID>...
  • Page 44: Get Sntp Configuration

    WE866E4-P AT Commands Reference Guide Table 60 SNTP Configuration Synchronous Response Responses Remarks Success. ERROR If parameter is not valid. 6.7.2 Get SNTP Configuration This command is used to get the status of the server configuration in SNTP module. Prior to issuing this command, user is required to issue SNTP start command.
  • Page 45: Start Sntp

    WE866E4-P AT Commands Reference Guide Table 62 Get SNTP Configuration Response Responses Remarks ERROR If parameter is not valid. Synchronous Response Table 63, page 45, describes the synchronous responses and remarks for Get SNTP Configuration command. Table 63 Get SNTP Configuration Synchronous Response...
  • Page 46: Get Sntp Start

    WE866E4-P AT Commands Reference Guide 6.7.4 Get SNTP Start This command is used to get the status of SNTP start. Command Syntax AT+NSNTPSTART? Parameter Description Table 66, page 46, describes the Get SNTP Start parameters. Table 66 Get SNTP Start Configuration Parameters...
  • Page 47: Wireless

    WE866E4-P AT Commands Reference Guide 7 Wireless This chapter describes commands for configurations and operations related to WLAN layer • Wireless Generic, page 47 • Wireless Network Connection Management, page 52 7.1 Wireless Generic 7.1.1 Initialization This command is used to initialize WLAN interface.
  • Page 48: Scanning

    WE866E4-P AT Commands Reference Guide Table 71 Initialization Synchronous Response Responses Remarks Success. ERROR If parameter is not valid. 7.1.2 Scanning This command is used to scan the WLAN channel and provide information of the surrounding APs. Prior to isuing this command user is required enable the WLAN interface using the initialization command.
  • Page 49: Set Mac Address

    WE866E4-P AT Commands Reference Guide Table 73 Scanning Response Responses Remarks Success. ERROR If parameter is not valid. Synchronous Response Table 74, page 49, describes the synchronous responses and remarks for Scanning command. Table 74 Scanning Synchronous Response Responses Remarks Success.
  • Page 50: Get Mac Address

    WE866E4-P AT Commands Reference Guide Table 76 Set MAC Address Response Responses Remarks Success. ERROR If parameter is not valid. Synchronous Response Table 77, page 50, describes the synchronous responses and remarks for Set MAC Address command. Table 77 Set MAC Address Synchronous Response...
  • Page 51: Disassociation

    WE866E4-P AT Commands Reference Guide Table 79 Get MAC Address Response Responses Remarks ERROR If parameter is not valid. Synchronous Response Table 80, page 51, describes the synchronous responses and remarks for Get MAC Address command. Table 80 Get MAC Address Synchronous Response...
  • Page 52: Wireless Network Connection Management

    WE866E4-P AT Commands Reference Guide Synchronous Response Table 83, page 52, describes the synchronous responses and remarks for Disassociation command. Table 83 Disassociation Synchronous Response Responses Remarks Success. ERROR If parameter is not valid. 7.2 Wireless Network Connection Management 7.2.1 AP Configuration This command is used to set the configuration values to create a Network.
  • Page 53 WE866E4-P AT Commands Reference Guide Table 84 AP Configuration Parameters Parameters Mandatory/Optional Value Description It specifies the hidden SSID created for a Value range: 0,1 Network, where: Hidden SSIDMandatory Format: Integer 0- disables the hidden SSID and Default value: 0...
  • Page 54: Get Ap Configuration

    WE866E4-P AT Commands Reference Guide 7.2.2 Get AP Configuration This command is used to get the configuration of the AP. Command Syntax AT+WNAPC? Parameter Description Table 87, page 54, describes the Get AP Configuration parameters. Table 87 Get AP Configuration Parameters...
  • Page 55: Ip Configuration In Ap Mode

    WE866E4-P AT Commands Reference Guide Table 89 Get AP Configuration Synchronous Response Responses Remarks Success. ERROR If parameter is not valid. 7.2.3 IP Configuration in AP mode This command is used to set the IPv4 start address, IPv4 range and lease time for an Ap that is required to create a Network.
  • Page 56: Get Ip Configuration In Ap Mode

    WE866E4-P AT Commands Reference Guide Response Table 91, page 56, describes the responses and remarks for IP Configuration command. Table 91 IP Configuration Response Responses Remarks Success. ERROR If parameter is not valid. Synchronous Response Table 92, page 56, describes the synchronous responses and remarks for IP Configuration command.
  • Page 57 WE866E4-P AT Commands Reference Guide Table 93 Get IP Configuration Parameters Parameters Mandatory/Optional Value Description It specifies the return value from Value range: 0,1 AT+WNI=1 command. WHANDLE Mandatory Format: Integer The user is required to be in AP mode Default value: 0 while issuing this command.
  • Page 58: Ap Statistics

    WE866E4-P AT Commands Reference Guide 7.2.5 AP Statistics This command is used to get the statistics of WLAN interface in AP mode. Prior to issuing this command, the user is required to issue AT+WNCR command. Command Syntax AT+WNAPST Response Table 96, page 58, describes the responses and remarks for AP Statistics command.
  • Page 59: Connection

    WE866E4-P AT Commands Reference Guide Command Syntax AT+WNASTINFO Response Table 98, page 59, describes the responses and remarks for Associated Station Information command. Table 98 Associated Station Information Response Responses Remarks Success. ERROR If parameter is not valid. Synchronous Response...
  • Page 60 WE866E4-P AT Commands Reference Guide Table 100 Connection Parameters Parameters Mandatory/Optional Value Description It specifies the return value from Value range: 0,1 AT+WNI=0 command. WHANDLE Mandatory Format: Integer The user is required to be in Station mode Default value: 0 while issuing this command.
  • Page 61: Create Network

    WE866E4-P AT Commands Reference Guide Table 102 Connection Synchronous Response Responses Remarks Success. ERROR If parameter is not valid. 7.2.8 Create Network This command is used to create a Network. Prior to issuing this command, the user is required to issue the initialize NCM command.
  • Page 62 WE866E4-P AT Commands Reference Guide Table 103 Create Network Parameters Parameters Mandatory/Optional Value Description It specifies the security type provided for a Value range: 3-4 secured Network. Security Format: String Mandatory Security types are WEP, WPA and WPA2. Type Default value:...
  • Page 63: Get Network

    WE866E4-P AT Commands Reference Guide 7.2.9 Get Network This command is used to get the status of the created Network. Command Syntax AT+WNCR? Response Table 106, page 63, describes the responses and remarks for Get Network command. Table 106 Get Network Response...
  • Page 64: Initialization

    WE866E4-P AT Commands Reference Guide Response Table 109, page 64, describes the responses and remarks for Disconnect Network command. Table 109 Disconnect Network Response Responses Remarks Success. ERROR If parameter is not valid. Synchronous Response Table 110, page 64, describes the synchronous responses and remarks for Disconnect Network command.
  • Page 65: Wncm Interface Configuration

    WE866E4-P AT Commands Reference Guide Table 112 Initialization Response Responses Remarks Success. ERROR If parameter is not valid. Synchronous Response Table 113, page 65, describes the synchronous responses and remarks for Initialization command. Table 113 Initialization Synchronous Response Responses Remarks Success.
  • Page 66: Wncm Ip Configuration

    WE866E4-P AT Commands Reference Guide Synchronous Response Table 115, page 66, describes the synchronous responses and remarks for Interface Configuration command. Table 115 Interface Configuration Synchronous Response Responses Remarks Success. ERROR If parameter is not valid. 7.2.13 WNCM IP Configuration This command is used to set the IPv4 start address, IPv4 range and lease time for an Ap that is required to create a Network.
  • Page 67: Get Wncm Ip Configuration

    WE866E4-P AT Commands Reference Guide Table 116 IP Configuration Parameters Parameters Mandatory/Optional Value Description Value range: 7-32 Format: Integer It specifies the static IPV4 address for the IP Address Optional Default value: device. It may be STA mode or AP mode.
  • Page 68: Wlan Interface Statistics

    WE866E4-P AT Commands Reference Guide Command Syntax AT+WNIPC? Response Table 119, page 68, describes the responses and remarks for Get WNCM IP Configuration command. Table 119 GEt WNCM IP Configuration Response Responses Remarks Success. ERROR If parameter is not valid.
  • Page 69 WE866E4-P AT Commands Reference Guide Table 121 Interface Statistics Response Responses Remarks +WNSTAST:ucastTxPkts, ucastRxPkts, mcastTxPkts, mcastRxPkts, Success. bcastTxPkts, bcastRxPkts ucastNonNullTxPkts, ucastNonNullRxPkts, ucastFilteredAcceptedTxPkts, ucastFilteredAcceptedRxPkts, mcastFilteredAcceptedTxPkts, mcastFilteredAcceptedRxPkts, bcastFilteredAcceptedTxPkts, bcastFilteredAcceptedRxPkts, ucastFilteredRejectedTxPkts, ucastFilteredRejectedRxPkts, mcastFilteredRejectedTxPkts, mcastFilteredRejectedRxPkts, bcastFilteredRejectedTxPkts, bcastFilteredRejectedRxPkts, nullTxPkts, nullRxPkts, qosNullTxPkts, qosNullRxPkts, psPollTxPkts, psPollRxPkts, txRetryCnt, beaconMissCnt, beaconsReceivedCnt,...
  • Page 70: Network

    WE866E4-P AT Commands Reference Guide 8 Network This chapter describes commands for configurations and operations related to Network layer. • Network Interface Filter, page 70 • DNS, page 70 8.1 Network Interface Filter Content required NOTE: 8.2 DNS 8.2.1 NDNS Server Start This command is used to start DNS server.
  • Page 71: Get Ndns Server Start

    WE866E4-P AT Commands Reference Guide Table 124 NDNS Server Start Response Responses Remarks Success. ERROR If parameter is not valid. Synchronous Response Table 125, page 71, describes the synchronous responses and remarks for NDNS Server Start command. Table 125 NDNS Server Start Synchronous Response...
  • Page 72: Ndns Server Stop

    WE866E4-P AT Commands Reference Guide Table 127 Get NDNS Server Start Response Responses Remarks NOT STARTED Unsuccessful. Synchronous Response Table 128, page 72, describes the synchronous responses and remarks for Get NDNS Server Start command. Table 128 Get NDNS Server Start Synchronous Response...
  • Page 73: Ndns Server Stop

    WE866E4-P AT Commands Reference Guide Synchronous Response Table 131, page 73, describes the synchronous responses and remarks for Get NDNS Server Stop command. Table 131 Get NDNS Server Stop Synchronous Response Responses Remarks Success. ERROR If parameter is not valid.
  • Page 74: Ndns Client Resolve Url

    WE866E4-P AT Commands Reference Guide Table 134 NDNS Server Stop Synchronous Response Responses Remarks Success. ERROR If parameter is not valid. 8.2.5 NDNS Client Resolve URL This command is used to resolve the URL in DNS module. Before resolving the Client request, issue DNS start and server addition commands.
  • Page 75: Set Ndns Client Server Ip Address

    WE866E4-P AT Commands Reference Guide Table 137 NDNS Client Resolve URL Synchronous Response Responses Remarks Success. ERROR If parameter is not valid. 8.2.6 Set NDNS Client Server IP Address This command is used to set the IP server in DNS module. Before setting the server IP address request, ID of the server IP address has to be set.
  • Page 76: Get Ndns Client Server Ip Address

    WE866E4-P AT Commands Reference Guide Table 140, page 76, describes the synchronous responses and remarks for Set NDNS Client Server IP Address command. Table 140 Set NDNS Client Server IP Address Synchronous Response Responses Remarks Success. ERROR If parameter is not valid.
  • Page 77: Ndns Server Host Addition

    WE866E4-P AT Commands Reference Guide Table 143 Get NDNS Client Server IP Address Synchronous Response Responses Remarks Success. ERROR If parameter is not valid. 8.2.8 NDNS Server Host Addition This command is used to add a Host in DNS module. Before issuing this command user is required to issue L2 and L3, along with server start commands.
  • Page 78: Ndns Service Discovery

    WE866E4-P AT Commands Reference Guide Table 145 NDNS Server Host Addition Response Responses Remarks ERROR If parameter is not valid. Synchronous Response Table 146, page 78, describes the synchronous responses and remarks for NDNS Server Host Addition command. Table 146 NDNS Server Host Addition Synchronous Response...
  • Page 79: Ndns Get Target Information

    WE866E4-P AT Commands Reference Guide Table 147 DNS Service Discovery Parameters Parameters Mandatory/Optional Value Description Value range:1-64 Format: String Instance It specifies the name of the service to be Mandatory Default value: Name discovered. _Mydevice.tcp.loc Value range: 4,6,46 It specifies IP version to be used in service...
  • Page 80 WE866E4-P AT Commands Reference Guide Command Syntax AT+NDNSSDGETTARGETINFO=<Device ID>,<Instance Name>,[<IP Version>,<Time Out>] Parameter Description Table 150, page 80, describes the NDNS Get Target Information parameters. Table 150 NDNS Get Target Information Parameters Parameters Mandatory/Optional Value Description Value range:0,1 It specifies the Device ID obtained during...
  • Page 81 WE866E4-P AT Commands Reference Guide Table 152 NDNS Get Target Information Synchronous Response Responses Remarks Success. ERROR If parameter is not valid. 80572ST10887A Rev. 0.0 2018-02-16...
  • Page 82: Data Transfer

    WE866E4-P AT Commands Reference Guide 9 Data Transfer This chapter describes commands for configurations and operations related to Transport and Application layers. • Data Transfer Configuration, page 82 • Socket, page 82 • UDP/TCP, page 94 • MQTT, page 108 •...
  • Page 83: Socket Bind

    WE866E4-P AT Commands Reference Guide Response Table 154, page 83, describes the responses and remarks for Socket Accept command. Table 154 Socket Accept Response Responses Remarks Success. ERROR If parameter is not valid. Synchronous Response Table 155, page 83, describes the synchronous responses and remarks for Socket Accept command.
  • Page 84: Socket Close

    WE866E4-P AT Commands Reference Guide Table 156 Socket Bind Parameters Parameters Mandatory/Optional Value Description Value range:0-15 It specifies the value given by issuing Mandatory Format: Integer AT+SC command. Default value: 0 Value range:7-40 Local IP Format: Integer Optional It specifies the Local IP address to bind.
  • Page 85: Socket Connection

    WE866E4-P AT Commands Reference Guide Table 159, page 85, describes the Socket Bind parameters. Table 159 Socket Close Parameters Parameters Mandatory/Optional Value Description Value range:0-15 It specifies the value given by issuing Mandatory Format: Integer AT+SC or AT+SA command. Default value: 0...
  • Page 86: Socket Create

    WE866E4-P AT Commands Reference Guide Table 162 Socket Connection Parameters Parameters Mandatory/Optional Value Description Value range:0-15 It specifies the value given by issuing Mandatory Format: Integer AT+SC command. Default value: 0 Value range:7-40 Server IP Format: Integer It specifies the Server IP address that is to...
  • Page 87: Socket Information

    WE866E4-P AT Commands Reference Guide Table 165, page 87, describes the Socket Create parameters. Table 165 Socket Create Parameters Parameters Mandatory/Optional Value Description Value range:2-5 It specifies the communication domain in Family Mandatory Format: Integer which a socket is required to be created.
  • Page 88: Socket Status Information

    WE866E4-P AT Commands Reference Guide Parameter Description Table 168, page 88, describes the Socket Information parameters. Table 168 Socket Information Parameters Parameters Mandatory/Optional Value Description Value range:0-15 It specifies the value given by issuing Mandatory Format: Integer AT+SC or AT+SA command.
  • Page 89: Socket Listen

    WE866E4-P AT Commands Reference Guide Table 171 Socket Status Information Parameters Parameters Mandatory/Optional Value Description Value range:0-15 It specifies the value given by issuing Mandatory Format: Integer AT+SC or AT+SA command. Default value: 0 It specifies whether to reset the counter or...
  • Page 90: Socket Receive

    WE866E4-P AT Commands Reference Guide Table 174 Socket Listen Parameters Parameters Mandatory/Optional Value Description Value range:0-15 It specifies the value given by issuing Mandatory Format: Integer AT+SC command. Default value: 0 Value range:0-15 It specifies the maximum length of the...
  • Page 91: Socket Receive Ready

    WE866E4-P AT Commands Reference Guide Table 177 Socket Receive Parameters Parameters Mandatory/Optional Value Description Value range:0-15 It specifies the value given by issuing Mandatory Format: Integer AT+SC command for UPD or AT+SA for TCP. Default value: 0 Value range: 0-1460...
  • Page 92: Socket Send

    WE866E4-P AT Commands Reference Guide Table 180 Socket Receive Ready Parameters Parameters Mandatory/Optional Value Description Value range:0-15 It specifies the value given by issuing Mandatory Format: Integer AT+SC command for UPD or AT+SA for TCP. Default value: 0 Response Table 181, page 92, describes the responses and remarks for Socket Receive Ready command.
  • Page 93 WE866E4-P AT Commands Reference Guide Table 183 Socket Send Parameters Parameters Mandatory/Optional Value Description Value range:0-15 It specifies the value given by issuing Mandatory Format: Integer AT+SC command for UPD or AT+SA for TCP. Default value: 0 Value range:7-40 Destination...
  • Page 94: Udp/Tcp

    WE866E4-P AT Commands Reference Guide 9.3 UDP/TCP 9.3.1 Secured (SSL) 9.3.1.1 SSL Certificate Delete This command is used to delete a list of certificate/CA data in non-volatile Memory. It is issued anytime irrespective of any operation. Command Syntax AT+NSSLCERTDELETE=<Certificate Type>,<Certificate Name>...
  • Page 95: Ssl Certificate List

    WE866E4-P AT Commands Reference Guide Table 188 SSL Certificate Delete Synchronous Response Responses Remarks ERROR If parameter is not valid. Asynchronous Response Table 189, page 95, describes the asynchronous responses and remarks for SSL Certificate Delete command. Table 189 SSL Certificate Delete Asynchronous Response...
  • Page 96: Ssl Certificate Store

    WE866E4-P AT Commands Reference Guide Synchronous Response Table 192, page 96, describes the synchronous responses and remarks for SSL Certificate List command. Table 192 SSL Certificate List Synchronous Response Responses Remarks Success. ERROR If parameter is not valid. Asynchronous Response...
  • Page 97: Ssl Certificate Accept

    WE866E4-P AT Commands Reference Guide Table 194 SSL Certificate Store Parameters Parameters Mandatory/Optional Value Description Value range:0-3 It specifies the type of certificate, Certificate Type Mandatory Format: Integer 0 - For CA certificate, Default value: 0 1- For client/server certificate.
  • Page 98: Ssl Bind

    WE866E4-P AT Commands Reference Guide Command Syntax AT+NSSLA=<CID> Parameter Description Table 197, page 98, describes the SSL Certificate Accept parameters. Table 197 SSL Certificate Accept Parameters Parameters Mandatory/Optional Value Description Value range:0-15 It specifies the connection ID after Mandatory Format: Integer AT+NSSLINIT command.
  • Page 99: Ssl Close

    WE866E4-P AT Commands Reference Guide Table 200 SSL Certificate Bind Parameters Parameters Mandatory/Optional Value Description Value range:0-15 It specifies the connection ID after Mandatory Format: Integer AT+NSSLINIT command. Default value: 0 Value range:0-15 Local IP Address Optional Format: Integer It specifies the local IP Address to bind.
  • Page 100: Configure Ssl

    WE866E4-P AT Commands Reference Guide Table 203 SSL Close Parameters Parameters Mandatory/Optional Value Description Value range:0-15 It specifies the connection ID after Mandatory Format: Integer AT+NSSLINIT command. Default value: 0 Response Table 204, page 100, describes the responses and remarks for SSL Close command.
  • Page 101 WE866E4-P AT Commands Reference Guide Table 206 Configure SSL Parameters Parameters Mandatory/Optional Value Description Value range:0-15 It specifies the connection ID after Mandatory Format: Integer AT+NSSLINIT command. Default value: 0 0: Invalid configuration parameter, 1: To set SSL certificate, 2: To Set SSL CA Certificate,...
  • Page 102: Ssl Connection

    WE866E4-P AT Commands Reference Guide 9.3.1.8 SSL Connection This command is used to connect to the SSL server. Prior to issuing this command, user is required to establish L2 and L3 connection. Command Syntax AT+NSSLCO=<CID>,<Server IP Address>,<Server port number> Parameter Description Table 209, page 102, describes the SSL Connection parameters.
  • Page 103: Ssl Initialize

    WE866E4-P AT Commands Reference Guide 9.3.1.9 SSL Initialize This command is used to connect to SSL. Prior to issuing this command, user is required to establish L2 and L3 connection. Command Syntax AT+NSSLINIT=<SSL Client/Server>,<Protocol> Parameter Description Table 212, page 103, describes the SSL Initialize parameters.
  • Page 104: Ssl Listen

    WE866E4-P AT Commands Reference Guide 9.3.1.10 SSL Listen This command is used to listen to SSL socket. Prior to issuing this command, user is required to establish L2 and L3 connection. Command Syntax AT+NSSLL=<CID>,[<Backlog>] Parameter Description Table 215, page 104, describes the SSL Listen parameters.
  • Page 105: Ssl Receive

    WE866E4-P AT Commands Reference Guide Command Syntax AT+NSSLRD=<CID>,[<Length of the data>] Parameter Description Table 218, page 105, describes the SSL Read parameters. Table 218 SSL Read Parameters Parameters Mandatory/Optional Value Description Value range:0-15 It specifies the value given by issuing...
  • Page 106: Ssl Send

    WE866E4-P AT Commands Reference Guide Parameter Description Table 221, page 106, describes the SSL Receive parameters. Table 221 SSL Receive Parameters Parameters Mandatory/Optional Value Description Value range:0-15 It specifies the value given by issuing Mandatory Format: Integer command AT+NSSLINIT. Default value: 0...
  • Page 107 WE866E4-P AT Commands Reference Guide Table 224 SSL Send Parameters Parameters Mandatory/Optional Value Description Value range:0-15 It specifies the value given by issuing Mandatory Format: Integer command AT+NSSLINIT. Default value: 0 Value range:7-40 Format: Integer It specifies the destination IP address to...
  • Page 108: Mqtt

    WE866E4-P AT Commands Reference Guide 9.4 MQTT 9.4.1 MQTT Connect This command is used to make MQTT connection with MQTT broker. Prior to issuing this command, user is required to establish L2 and L3 connection. Command Syntax AT+NMQTTCONNECT=<Host>,[<Port>],<Client ID>,[<User Name>,<Password>,<Keep Alive>,<Time Out>,<SSL>,<Certificate>]...
  • Page 109: Get Mqtt Connect

    WE866E4-P AT Commands Reference Guide Table 227 MQTT Connect Parameters Parameters Mandatory/Optional Value Description Value range: 0-180 It specifies the maximum time limit to Time Out Optional Format: Integer connect to the server. Default value: 75 It specifies the secured connection using...
  • Page 110: Mqtt Publish

    WE866E4-P AT Commands Reference Guide Table 230, page 110, describes the Get MQTT Connect parameters. Table 230 Get MQTT Connect Parameters Parameters Mandatory/Optional Value Description Value range: N/A Connection Format: String It specifies the status of MQTT connection Mandatory Status (CONNECTED or NOT CONNECTED).
  • Page 111 WE866E4-P AT Commands Reference Guide Table 233 MQTT Publish Parameters Parameters Mandatory/Optional Value Description Value range:0-15 Format: Integer It specifies the connection ID after MQTT Mandatory connect command. Default value: Value range:0-15 Format: Integer It specifies the level of assurance to Mandatory delivery the application message.
  • Page 112: Mqtt Subscribe

    WE866E4-P AT Commands Reference Guide Synchronous Response Table 235, page 112, describes the synchronous responses and remarks for MQTT Publish command. Table 235 MQTT Publish Synchronous Response Responses Remarks Success. ERROR If parameter is not valid. 9.4.4 MQTT Subscribe This command is used to subscribe to MQTT topic. Prior to issuing this command, user is required to establish MQTT connection.
  • Page 113: Mqtt Disconnect

    WE866E4-P AT Commands Reference Guide Table 237, page 113, describes the responses and remarks for MQTT Subscribe command. Table 237 MQTT Subscribe Response Responses Remarks Success. ERROR If parameter is not valid. Synchronous Response Table 238, page 113, describes the synchronous responses and remarks for MQTT Subscribe command.
  • Page 114: Mqtt Receive Request

    WE866E4-P AT Commands Reference Guide Table 240 MQTT Connect Response Responses Remarks Success. ERROR If parameter is not valid. Synchronous Response Table 241, page 114, describes the synchronous responses and remarks for MQTT Disconnect command. Table 241 MQTT Disconnect Synchronous Response...
  • Page 115: Receive Mqtt Data

    WE866E4-P AT Commands Reference Guide Table 243 MQTT Receive Request Response Responses Remarks Success. ERROR If parameter is not valid. Synchronous Response Table 244, page 115, describes the synchronous responses and remarks for MQTT Receive Request command. Table 244 MQTT Receive Request Synchronous Response...
  • Page 116 WE866E4-P AT Commands Reference Guide Table 246 Recieve MQTT Data Response Responses Remarks Success. ERROR If parameter is not valid. Synchronous Response Table 247, page 116, describes the synchronous responses and remarks for Receive MQTT Data command. Table 247 Receive MQTT Data Synchronous Response...
  • Page 117: Http

    WE866E4-P AT Commands Reference Guide 9.5 HTTP 9.5.1 Initiate NHTTP Client Connection This command is used to initialize the HTTP Client Connection. Prior to issuing this command L2 and L3 connection has to be established. Command Syntax AT+NHTTPCINIT=[<Timeout>,<Maximum body length>,<Maximum header length>]...
  • Page 118: Configure Nhttp Client Connection

    WE866E4-P AT Commands Reference Guide Synchronous Response Table 250, page 118, describes the synchronous responses and remarks for Initiate NHTTP Client Connection command. Table 250 Initiate NHTTP Client Connection Synchronous Response Responses Remarks Success. ERROR If parameter is not valid.
  • Page 119: Send Nhttp Client Connection

    WE866E4-P AT Commands Reference Guide Table 252 Configure NHTTP Client Connect Connection Response Responses Remarks Success. ERROR If parameter is not valid. Synchronous Response Table 253, page 119, describes the synchronous responses and remarks for Configure NHTTP Client Connection command.
  • Page 120: Close Nhttp Client Connection

    WE866E4-P AT Commands Reference Guide Response Table 255, page 120, describes the responses and remarks for Send NHTTP Client Connection command. Table 255 Send NHTTP Client Connect Connection Response Responses Remarks Success. ERROR If parameter is not valid. Synchronous Response...
  • Page 121 WE866E4-P AT Commands Reference Guide Table 258 Close NHTTP Client Connect Connection Response Responses Remarks Success. ERROR If parameter is not valid. Synchronous Response Table 259, page 121, describes the synchronous responses and remarks for Close NHTTP Client Connection command.
  • Page 122: Advanced Services

    WE866E4-P AT Commands Reference Guide 10 Advanced Services This chapter describes the commands for configurations and operations related to advanced services of Network and WE866E4-P supported Application features. • Network, page 122 • Application Features, page 133 10.1 Network 10.1.1 Ping This command is used to test the accessibility of the host on the Internet Protocol network.
  • Page 123: Service Discovery Using Nmdns

    WE866E4-P AT Commands Reference Guide Table 261 Network Ping Response Responses Remarks Success. ERROR If parameter is not valid. Synchronous Response Table 262, page 123, describes the synchronous responses and remarks for Network Ping command. Table 262 Network Ping Synchronous Response...
  • Page 124: Stop Nmdns Server

    WE866E4-P AT Commands Reference Guide Table 264 Start NMDNS Server Response Responses Remarks Success. ERROR If parameter is not valid. Synchronous Response Table 265, page 124, describes the synchronous responses and remarks for Start NMDNS Server command. Table 265 Start NMDNS Server Synchronous Response...
  • Page 125: Nmdns Host Name Registration

    WE866E4-P AT Commands Reference Guide Table 267 Stop NMDNS Server Response Responses Remarks ERROR If parameter is not valid. Synchronous Response Table 268, page 125, describes the synchronous responses and remarks for Stop NMDNS Server command. Table 268 Stop NMDNS Server Synchronous Response...
  • Page 126: Nmdns Service Registration

    WE866E4-P AT Commands Reference Guide Synchronous Response Table 271, page 126, describes the synchronous responses and remarks for NMDNS Host Name Registration command. Table 271 NMDNS Host Name Registration Synchronous Response Responses Remarks Success. ERROR If parameter is not valid.
  • Page 127: Nmdns Service De-Registration

    WE866E4-P AT Commands Reference Guide Table 273 NMDNS Service De Registration Response Responses Remarks Success. ERROR If parameter is not valid. Synchronous Response Table 274, page 127, describes the synchronous responses and remarks for NMDNS Service Registration command. Table 274 NMDNS Service Registration Synchronous Response...
  • Page 128: Start Nmdns Module

    WE866E4-P AT Commands Reference Guide Table 276 NMDNS Service De-registration Response Responses Remarks Success. ERROR If parameter is not valid. Synchronous Response Table 277, page 128, describes the synchronous responses and remarks for NMDNS Service De-registration command. Table 277 NMDNS Service De-registration Synchronous Response...
  • Page 129: Get Nmdns Start

    WE866E4-P AT Commands Reference Guide Table 279 Start NMDNS Module Synchronous Response Responses Remarks Success. ERROR If parameter is not valid. 10.1.2.7 Get NmDNS Start This command is used to start mDNS module. Before issuing this command is required to issue L2 and L3 commands.
  • Page 130: Nmdns Text Update

    WE866E4-P AT Commands Reference Guide 10.1.2.8 NMDNS Text Update This command is used to update a text record of the service in mDNS module.Prior to issuing this command user is required to issue NMDNS start, set Host name and service registration command.
  • Page 131: Stop Nmdns Module

    WE866E4-P AT Commands Reference Guide 10.1.2.9 Stop NMDNS Module This command is used to start mDNS module. Before issuing this command is required to issue L2 and L3 commands. Command Syntax AT+NMDNSSTOP Response Table 286, page 131, describes the responses and remarks for Stop NMDNS Module command.
  • Page 132 WE866E4-P AT Commands Reference Guide Response Table 289, page 132, describes the responses and remarks for Get NMDNS Stop command. Table 289 Get NMDNS Stop Response Responses Remarks Success. ERROR If parameter is not valid. Synchronous Response Table 290, page 132, describes the synchronous responses and remarks for Get NMDNS Stop command.
  • Page 133: Application Features

    WE866E4-P AT Commands Reference Guide 10.2 Application Features 10.2.1 Firmware Update 10.2.1.1 Over the Air Firmware Upgrade This set of commands is for over the air frame upgrade using pull method. This module uses the HTTP client to download the binaries form an HTTP server. AT+HTTPCONF command is used to configure any header(s) that need to be present in the HTTP GET request.
  • Page 134 WE866E4-P AT Commands Reference Guide Table 291 FWUP HTTP Client Parameters Parameters Mandatory/Optional Value Description Value range: 1-63 Server Format: String It specifies the HTTP server address or the Mandatory Address name. Default value: Value range: 1-65535 Server Port Optional It specifies the HTTP server port.
  • Page 135 WE866E4-P AT Commands Reference Guide Table 293 FWUP HTTP Client Synchronous Response Responses Remarks Success. ERROR If parameter is not valid. Example AT+FUHTTPC="192.168.45.22", 80, "\ota.bin", 100 10.2.1.1.2 FWUP Trial Image This command is used to handle the trial image after a successful firmware upgrade.
  • Page 136: Provisioning

    WE866E4-P AT Commands Reference Guide Table 295, page 136, describes the responses and remarks for FWUP Trial Image command. Table 295 FWUP Trial Image Response Responses Remarks Success. ERROR If parameter is not valid. Synchronous Response Table 296, page 136, describes the synchronous responses and remarks for FWUP Trial Image command.
  • Page 137 WE866E4-P AT Commands Reference Guide Table 297 Web Provisioning Parameters Parameters Mandatory/Optional Value Description Value range:0, 1 1- starts the web provisioning server Start Mandatory Format: Integer 0- stops the web provisioning server. Default value: 0 Value range:0-9999 It specifies the Port on which the server is...
  • Page 138 WE866E4-P AT Commands Reference Guide Table 299 Web Provisioning Synchronous Response Responses Remarks Success. ERROR If parameter is not valid. 80572ST10887A Rev. 0.0 2018-02-16...
  • Page 139: Power Management - Radio And System

    WE866E4-P AT Commands Reference Guide 11 Power Management - Radio and System This chapter describes the commands for configurations and operations related to power management for radio and system. • Radio Receive Setting, page 139 • Battery Measurement, page 139 •...
  • Page 140: Peripheral

    WE866E4-P AT Commands Reference Guide 12 Peripheral This chapter describes commands for configurations and operations related to WE866E4-P supported peripherals such as I2C, PWM, GPIO, and so on • PWM, page 140 • GPIO, page 140 12.1 PWM Content required NOTE: 12.2 GPIO...
  • Page 141: Production And Debug

    WE866E4-P AT Commands Reference Guide 13 Production and Debug This chapter describes commands for configurations and operations used in Production and helpful in debugging. • RF Test, page 141 • Live Calibration, page 141 • Debug, page 141 13.1 RF Test...
  • Page 142: List Of Acronyms

    WE866E4-P AT Commands Reference Guide 14 List of Acronyms Telit Technical Support Centre TTSC Universal Serial Bus High Speed Data Terminal Equipment Universal Mobile Telecommunication System UMTS Wide band Code Division Multiple Access WCDMA High Speed Downlink Packet Access HSDPA...
  • Page 143 WE866E4-P AT Commands Reference Guide Vector Network Analyzer 80572ST10887A Rev. 0.0 2018-02-16...

Table of Contents