I have the following scenario: I’m opening a UDP socket in Continuous Mode (where [ETX] is considered end of data). If i read and understand the AT command manual correctly, the modem in this mode should send the current datagram (with ETX marking boundaries) and change from DATA mode to AT mode when parsing the [ETX]-character? Now I’m only able to send the datagram when sending “+++” sequence, which is a pretty slow solution (1 sec guard time before and after +++).
I’m opening the socket and DATA mode with “AT+WIPDATA=1,1,1”
ETX = 0x03?
What am I doing wrong?
EDIT: I was mistaken, the modem did actually send the datagram when parsing the [ETX]-character, but it still wont exit to AT mode without +++.
Hello, i use WS6318 ad i am having issue with at+wipdata command. I use echo mode for serial communication and when entered in data mode i see no echo for UART, is it normal? also i try to read google page with at+wipdata and nothing happened. Here is part of my commands sequence.
After “CONNECT” i send “GET / HTTP/1.0[0x3]+++” which i cant see in the transmission.
AT+WIPCREATE=2,1,“www.google.com”,80
OK
AT+WIPDATA=2,1,2
CONNECT
OK
+WIPPEERCLOSE: 2,1
OK
Also i try sending UDP to a programm on my PC that i wrote, also nothing happened. The programm wait UDP on port 11000. After “CONNECT” i send “123456789[0x3]+++”, also not shown between CONNECT and OK.
AT+WIPCREATE=1,1,80,“212.39.80.42”,11000
OK
AT+WIPDATA=1,1,1
CONNECT
As far as I understand another UART in WS6318 is UART2 that is used as stated in the data sheet for debug purposes only. Are you sure that UART2 could be used for switching between modes? Thanks.
Could you describe the algorithm that you use to switch your WS6318 from DATA mode to AT command mode? Am I right that you don’t use the slow “+++” approach? Thanks.