WL865E4-P Use Case 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.
WL865E4-P Use Case 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 4
WL865E4-P Use Case Reference Guide 1VV0301570 Rev. 0.0 2019-06-14...
3.1.2 Limited AP Mode ......................15 3.1.2.1 Use Case 1: Create an Access Point/Network/Limited AP ........15 3.2 Concurrent Mode ........................16 3.2.1 Use Case 1:To configure WL865E4-P module in Concurrent Mode ......16 4 Data Transfer ..........................19 4.1 TCP (Transmission Control Protocol) ..................19 4.1.1 TCP Client ........................19...
Page 6
WL865E4-P Use Case Reference Guide 4.3.1 Use Case 1: .........................25 4.4 MQTT ............................26 4.4.1 Use Case 1: .........................26 5 Advanced Services ........................29 5.1 Application Features ......................29 5.1.1 Provisioning .........................29 5.1.1.1 Use Case 1: Wi-Fi Provisioning with BLE ............29 5.1.2 Firmware Upgrade ......................37 5.1.2.1 Use Case 1: Firmware upgrade using OTAFU ............37...
1.2 Audience This document is intended for Telit customers, who are integrators, about to implement their applications using our WL865E4-P modules. Readers of this document should be familiar with Telit modules and their ease of controlling by means of AT Commands.
WL865E4-P Use Case Reference Guide 1.4 Text Convention Table 1, page 9, 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.
WL865E4-P Use Case Reference Guide 1.5.2 Related Documents requiring a Non Disclosure Agreement – Authorized Software User Guides – Product firmware 1VV0301570 Rev. 0.0 2019-06-14...
WL865E4-P Use Case Reference Guide 2 General Operations This chapter describes the use cases for generic operations as required by Serial to Wireless Application. • IP Configuration, page 11 2.1 IP Configuration 2.1.1 Static IP Configuration 2.1.1.1 Use Case 1: Static IP Configuration In this use case, 192.168.45.3 is used as fixed IP address to configure the Telit node in...
WL865E4-P Use Case Reference Guide 2.1.2 DHCP Server 2.1.2.1 Use Case 1: Start DHCP Server To configure Telit node in AP mode and enable DHCP server, where the client associates Description to the node and obtains an IP address automatically.
WL865E4-P Use Case Reference Guide 3 Wireless This chapter describes the use cases for configurations and operations related to advanced services of Network and WL865E4-P supported Application features. • Wireless Mode, page 13 • Concurrent Mode, page 16 3.1 Wireless Mode 3.1.1 Station Mode...
Page 14
WL865E4-P Use Case Reference Guide 1VV0301570 Rev. 0.0 2019-06-14...
WL865E4-P Use Case Reference Guide 3.1.2 Limited AP Mode 3.1.2.1 Use Case 1: Create an Access Point/Network/Limited AP Description Prerequisite Precondition Setup Architecture Following commands are used to configure Telit module in AP mode, configure the node Procedure as AP, where the IP of the node is set as 192.168.45.3 and the SSID set as GS_LAP.
Description Prerequisite Precondition Setup Architecture Following are the steps used to configure WL865E4-P module in concurrent mode. Procedure Enable New AT Commands by using AT+YLC=0. 2.Initial NCM for STA mode by using the command AT+WNI. 3.Connect the module to the Access Point of SSID - “Telit_Demo”, channel – 6 and Passphrase –...
Page 17
WL865E4-P Use Case Reference Guide Now connect your Laptop to "Telit_AP_Demo" 11.Open the Chrome Browser. Enter the following URLhttp://192.168.240.1/telit.html. This will open the webpage and asks to enter Authentication credentials. Enter "admin", “admin” as username and password. While ping is responding over the STA Interface, Telit module responds to the Laptop as well by serving the webpages.
Page 18
WL865E4-P Use Case Reference Guide Logs 1VV0301570 Rev. 0.0 2019-06-14...
WL865E4-P Use Case Reference Guide 4 Data Transfer This chapter describes the use cases for configurations and operations related to advanced services of Network and WL865E4-P supported Application features. • TCP (Transmission Control Protocol), page 19 • UDP (User Datagram Protocol), page 22 •...
Page 20
WL865E4-P Use Case Reference Guide 1VV0301570 Rev. 0.0 2019-06-14...
WL865E4-P Use Case Reference Guide 4.1.2 TCP Server 4.1.2.1 Use Case 1: Demonstrates the transfer of data from Telit node (TCP server) to TCP client, where Telit Description node is configured as TCP server and sends data to TCP client.
WL865E4-P Use Case Reference Guide 4.2 UDP (User Datagram Protocol) This section describes how to setup UDP Server and UDP client on Telit evaluation board using the AT commands. 4.2.1 UDP Client 4.2.1.1 Use Case 1: Demonstrates the transfer of data from Telit node (UDP client) to UDP server where, Telit Description node is configured as UDP client and sends data to UDP server.
Page 23
WL865E4-P Use Case Reference Guide at+wni=0 // at+wncn=1,"Telit_Guest","qwerty123456" // at+wncn=1,"ssid","password" at+sc=2,2,0 // AT+SC=<Family>,<Type>,[<Protocol>] at+sn=0,192.168.0.96,8355,5,telit // at+sn=CID,,,datalen, data Logs 1VV0301570 Rev. 0.0 2019-06-14...
WL865E4-P Use Case Reference Guide 4.2.2 UDP Server 4.2.2.1 Use Case 1: Demonstrates the transfer of data from Telit node (UDP server) to UDP client where, Telit Description node is configured as UDP server and sends data to UDP client.
WL865E4-P Use Case Reference Guide 4.3 HTTP Client (HTTPC) 4.3.1 Use Case 1: Demonstrates the configuration of Telit node for HTTP GET, using HTTP GET. The client Description receives 1kb.html file from server. Prerequisite 1kb.html file must be present in the server with IP address is 192.168.2.26.
Following commands are used to demonstrate data subscribe and publish to Mosquito Procedure server. Here mqtt.fx client is used to demonstrate this feature. WL865E4-P is a mqtt client and a mqtt.fx is another mqtt client - both are connected with Mosquito server.
Page 27
WL865E4-P Use Case Reference Guide at+wni=0 // station mode configuration at+wncn=1,"Telit_test" // associating with Telit_test at+nmqttinit=0 // configuration for without SSL at+nmqttconnect=0,"test.mosquitto.org",1883,"test123" AT+NMQTTSUBSCRIBE=0,1,675,"thing/gainspan/property/light" AT+NMQTTRR=0 // read enable at+nmqttr=0,54 // Here 54 is a message ID -- +NMQTTR:0,54,54,0029thing/gainspan/property/light0017test mqtt message // reading by 54 message ID, it reads published message - "test mqtt message"...
Page 28
WL865E4-P Use Case Reference Guide 1VV0301570 Rev. 0.0 2019-06-14...
Wi-Fi scan results and implements the provisioning procedure. A “client device” that uses the scan result and selects provisioning AP is referred to as a “Mobile App”. WL865E4-P Module with latest firmware version, Android phone with Provisioning Prerequisite application installed from Google Play store.
Page 30
WL865E4-P Use Case Reference Guide WL865E4-P module comes with pre-programmed firmware. Now issue the following Procedure commands to stop auto connection, save into profile, and reset the module. Serial2WiFi APP ATC0 AT&W0 AT+BI=1 AT+BIOCAP=0 AT+WNWEBPROV=2 Following are the logs, for the above procedures: Logs 1.
Page 31
WL865E4-P Use Case Reference Guide 3. Enabling Location Settings. 1VV0301570 Rev. 0.0 2019-06-14...
Page 32
WL865E4-P Use Case Reference Guide 4. Provisioning application main page. 1VV0301570 Rev. 0.0 2019-06-14...
Page 33
WL865E4-P Use Case Reference Guide 5. Issue of AT Command in tera term for Provisioning. 6. Pairing of the device. 1VV0301570 Rev. 0.0 2019-06-14...
Page 34
WL865E4-P Use Case Reference Guide 7. Display of the available SSID. 8. Connecting to a specific SSID. 1VV0301570 Rev. 0.0 2019-06-14...
Page 35
WL865E4-P Use Case Reference Guide 9. Provision of IP address using AT commands. 10. Connection status of Provisioning application. 1VV0301570 Rev. 0.0 2019-06-14...
Page 36
WL865E4-P Use Case Reference Guide 11. Status of the device after internal reset. 1VV0301570 Rev. 0.0 2019-06-14...
WL865E4-P Use Case Reference Guide 5.1.2 Firmware Upgrade 5.1.2.1 Use Case 1: Firmware upgrade using OTAFU Demonstrates the OTAFU feature where, Telit node downloads a binary image and Description upgrade it. Binary image must be present in the server. Prerequisite Precondition The setup requires a Telit node, a AP or router and a server.
Page 38
WL865E4-P Use Case Reference Guide 1VV0301570 Rev. 0.0 2019-06-14...
Need help?
Do you have a question about the WL865E4-P and is the answer not in the manual?
Questions and answers