background image

The data received by the module's serial port will be broadcast to each of its client connections.

3.4.3MULTIS Caution

When there is one client connection, the GPIO10 pin will be pulled low to indicate client access, when there is no client

connection in the module server link, GPIO10 will be pulled high to indicate no client access.

When there is no client connection in the module server link, GPIO10 will be pulled high to indicate that there is no

access from any of the clients.

Messages from any TCP client will be printed out by the module's serial port, and messages entered by the module's

serial port will be broadcast by the server to each of its client links.

Each client can choose to go offline at any time without restarting the configuration server.

When the server already has a link to 4 clients, the server will automatically kick off the earliest client link to the server

when there is another access.

3.5 Multi-link mode for clients (MULTIC)

When the module works in MULTIC mode, other modes or sub-functions will not be used, MULTIC means that the

module can support multiple server connection mode as a client, currently this mode supports access to two server links

at the same time, A B two for common TCP/UDP links; in this example, the module will be made to work in the

Summary of Contents for E103-W02

Page 1: ...E103 W02 User Manual Serial wifi SMD small volume PCB antenna MQTT...

Page 2: ...s 15 3 1 5 Web Configuration 21 3 1 6 Remote AT Commands 22 3 2 MQTT CLIENT MODE MQTT 23 3 2 1 Setup process 23 3 2 2 Device Access Demonstration 24 3 2 3MQTT Notes 27 3 3 HTTP CLIENT MODE HTTP 27 3 3...

Page 3: ...ory and the actual results may be slightly different It is hereby declared that all trade names trademarks and registered trademarks mentioned here are the property of their respective owners The fina...

Page 4: ...consumption is less than 5uA in the lowest power consumption mode 2 High speed transmissions The module supports 3Mbit high speed transmission 3 Web configuration support The module can be accessed vi...

Page 5: ...o listen for connection signals The Client communicates with it through the Connection Module Server For more features please see the related application documentation 1 3 Electrical parameters No Par...

Page 6: ...0 85 Industrial grade chip range please modify according to crystal parameters 17 Working Humidit y 10 90 Relative humidity non condensing 18 Storage temperat ure 40 85 Industrial grade 1 4 Electrical...

Page 7: ...ground 2 GPIO26 IO General purpose IO port 3 GPIO27 IO General purpose IO port 4 RST I Module reset pin low reset 5 SOP2 I Burn emulation mode selection 6 SOP1 I Burn in emulation mode selection 7 SOP...

Page 8: ...low unconnected output high 31 GPIO11 O Smartconfig status indicator low when in status low when not in status High 32 GPIO12 I Restore factory settings pin set to low at startup after the status indi...

Page 9: ...S Inthismode multipleTCPlinksaresupported andthemoduleasTCPSERVERcanallow4 TCPclientaccesses MULTIC In this mode multipleTCP UDPlinksare supported and themodule asa TCP UDP client can access two serve...

Page 10: ...ial website 1 Serial port debugging assistant AccessPort XCOM 2 TCP UDP test tool 3 SmartConfig one click configuration mobile app Wi Fi Starter 3 1 Traditional mode NORMAL 3 1 1 Link Preparation Firs...

Page 11: ...module base board is always on GPIO9 is pulled low and the PC shows successful connection otherwise please operate the above steps again 3 1 2 Module as AP to establish TCP SERVER wireless connection...

Page 12: ...the UDP communication which requires us to do a simple configuration of the module Please make sure the link preparation work is completed successfully Enter AT command mode for simple configuration...

Page 13: ...ds b If the serial port returns Socket update OK message it indicates that the command has set the protocol parameters successfully otherwise please operate the above steps again After setting the par...

Page 14: ...e below 6 Click the Create button to complete the creation If the creation is successful you can finish the bi directional data transfer between PC and module i e TCP UDP test tool and serial debuggin...

Page 15: ...module to access the network around the STA role in later sections a section on how to access other WIFI nodes for users reference Module as STA Station to connect to other WiFi hotspots Connect the f...

Page 16: ...r key after entering the command AT ROLE STA and click Send to send the command b If the message Set STA mode is displayed on the serial port it means that it has been set to STA mode successfully oth...

Page 17: ...access to WiFi hotspot is successful Module as STA Station to connect to other WiFi hotspots via SmartConfig one click configuration Connect the factory E103 W02 base board to the PC via Micro USB ca...

Page 18: ...port returns the message Entered AT mode it indicates that it has entered the AT command mode otherwise reset and retry the above steps First set the mode to STA mode a Enter the AT command AT ROLE ST...

Page 19: ...end to send the command The 60 in the AT command here means that the WiFi hotspot is not connected after 60S and will time out of SmartConfig mode During this 60S period the module waits to accept the...

Page 20: ...tically recognize it no need to input If the WiFi module is far away from the module please connect the antenna The LED1 light on the base board is lit GPIO9 pulled low which indicates a successful co...

Page 21: ...before this operation the module should be connected to the PC for wireless network After the PC shows successful connection open the browser and input the IP address of the module if you don t know...

Page 22: ...u to use the remote AT command to send AT commands to the module s 12476 port using the UDP communication protocol command to the module 12476 port using the UDP communication protocol When using the...

Page 23: ...When using MQTT mode if the user wants to access the public network realize long distance transmission or access the cloud server he needs to know that the network role of the module should be set to...

Page 24: ...nstration A complete set of MQTT AT commands operates as shown in the following figure Logging into our ONENET MQTT device management platform shows an offline status when there is no access as shown...

Page 25: ...uccessfully accessed the GPIO10 pin is pulled low to characterize the successful access status and pulled high when it is dropped In order to visually demonstrate the transmission process of the devic...

Page 26: ...After accessing the following figure shows Now MQTT communication between 2 devices is possible...

Page 27: ...so that the current network role is in STA mode AT ROLE STA 2 Connect the destination WIFI AP access the network AT STA EBYTE 2 JSZXE880 3 Switch the mode set the working mode to HTTP mode AT MODE HTT...

Page 28: ...quest method set the server will then return the file value to the serial port as shown in the following figure the red box in the figure is the request information of the module as an HTTP client The...

Page 29: ...URL is the specified access path and is only valid when the access data is POST GET access path needs to be specified in the serial data On the basis of POST the request method is reset as follows Wh...

Page 30: ...can set the header information by using the data format AT HCHEAD XX XX XXX XXX If the customer wants to add the default request header followed by Connection keep alive Content Type application json...

Page 31: ...h has been established after the server is powered on and the port number and local IP are set by the user When the computer is successfully connected to the module the GPIO9 pin is pulled low When su...

Page 32: ...e s serial port and messages entered by the module s serial port will be broadcast by the server to each of its client links Each client can choose to go offline at any time without restarting the con...

Page 33: ...ection information of SOCKET B connect to the destination server the connection type is UDP AT SOCKB ON UDP 192 168 0 136 7688 7689 6 Reboot to take effect command AT RST 3 5 2A B Generic Client Acces...

Page 34: ...are currently enabled When one or more clients have successfully accessed the server GPIO10 is pulled low to indicate the status of at least one successfully accessed server and when none of the clien...

Page 35: ...n up by serial data After waking up the module restarts and runs The power consumption can reach below 5uA Wake up mode serial RXD Tips 1 AP mode is set to low power mode the module will not enter low...

Page 36: ...del can meet the applications of home IOT intelligent meter reading real time monitoring etc The module can exchange data with the web server in real time Users can perform various operations on the m...

Page 37: ...intra module networking where a module in AP mode can be connected to at most one STATION and the TCP Server can be established on any module under the completion of intra module networking and the re...

Page 38: ...P IP related parameters AT APIP APIP 192 168 1 1 Mask 255 255 255 0 Gateway 192 168 1 1 DNS 192 168 1 1 Set the parameters related to the AP IP AT APIP 192 16 8 1 2 255 255 255 0 192 168 1 1 192168 1...

Page 39: ...uiry HTTP SERVER s Enablement AT HTTP Http status 1 Settings HTTP SERVER Enablement AT HTTP 1 Http status set OK 10 AT HCADDR AT HCADDR Serv er Addr Server Port Parameter description Server Addr HTTP...

Page 40: ...mal digits Response Keepalive set OK Inquiry Heartbeat Package Related Parameters AT KEEPALIVE Keepalive status OFF Period 50 Len 5 InfoPkt 0102030405 Settings heartbeat packet related parameters AT K...

Page 41: ...tes Qos Settings subscribed Qos message level 0 1 2 Response MSUB OK Inquiry MQTT Sub topic related parameters AT MSUB MSUB Topic subtopic Qos 0 Set the relevant parameters for the MQTT Sub topic AT M...

Page 42: ...module is running with the following values NORMAL traditional mode original functional mode MQTT MQTT mode HTTP HTTP CLIENT Settings Current communicati on mode AT MODE MQT T MODE OK...

Page 43: ...teIP 183 230 40 33 RemotePort 80 Set the ONENET IP and port related parameters AT ONENETIPP OR T 183 230 40 3 3 80 OneNET RemoteIpPort set OK 22 AT ONENETU NI AT ONENETUNI ON O FF P_ID A_Info S_ name...

Page 44: ...x number less than 20 Response Delete Success Delete Success Delete ONENET device Device ID AT ONENETDELDelete Success 25 AT ONENETSE L AT ONENETSEL i nde x Description of parameters Index Adds the de...

Page 45: ...ow power state after wake up 2 240S Response AT RESTORE Restore factory Settings operation Parameter Description 28 AT RESTORE No parameter AT RESTORE Restore OK Response Restore OK AT REGPKT ON OFF I...

Page 46: ...Parameter description mode Settings for AP indicates 30 AT ROLE Access Point which provides Settings module for web roles AT ROLE STA Set STA mode wireless access service Settings module for web role...

Page 47: ...T STAIP STAIP The IP address in STA mode IP address of Mask subnet mask STAIP update OK Gateway Gateway address DNS DNS server address address Response AT SOCKA ON OFF Inquiry Vice SOCKA Protocol Remo...

Page 48: ...UDP TCP the communication protocol used Protocol RemoteIP Remote IP RemotePort Remote port LocalPort LocalPort Local port LocalPort Response SOCKA OK AT SOCKA ON OFF...

Page 49: ...t side is supported Parameter description 34 AT SOCKB ON OFF Enable on OFF default is OFF OFF SOCKB OK is followed by the parameter Settings without Effect Protocol UDP TCP the communication protocol...

Page 50: ...ON SOCKEBT AT SOCK Protoc ol Inquiry main socket related parameter s Protocol TCP CS CLIENT CS RemoteIP AT SOCK RemoteIP 183 230 40 40 RemotePort 1811 36 AT SOCK RemotePort LocalPort 8887 LocalPort S...

Page 51: ...2Byte SecType encryption type Password password 8 63Byte Response STA Update OK Inquiry STA s related parameters AT STA SSID E880 IR01 TYPE 2 Settings STA related parameters AT STA E880 IR01 2 JSZXE8...

Page 52: ...t 1 tabit Parbit S topbit Parameter description 40 AT UART Baud Baud rate desirable Settings serial port related parameters AT UART 1152 00 8 0 1 Uart update OK 300 3000000bps Databit data bit Parbit...

Page 53: ...e right 7 Customized cooperation If you want to customize your products please contact our company EBYTE has reached deep cooperation with many famous enterprises 8 Welding work instruction 8 1 Reflow...

Page 54: ...label of the product The time Tp within 5 C of the specified grading temperature Tc see the figure below 20 seconds 30 seconds Cooling slope Tp TL 6 sec max 6 sec max Time from room temperature to pe...

Page 55: ...Content modification Blue 3 2 2022 9 16 Content modification Hao 3 3 2022 12 12 New welding guide Hao About us Technical support support cdebyte com Documents and RF Setting download link https www cd...

Reviews: