Hello everyone!
I’m having trouble with a HL7588, I have configured a UDP server to receive and send data to multiple remote stations, when receiving the data everything works fine but everything stops working as I expect when data is sent to a connection, when this happens if the remote connection sends any data this It is reported twice by the UART port of the device. For better context, below I will leave the lists of commands that I currently use and give an example of what is happening to me.
Rx: +CREG: 2
Rx: +CGREG: 2
Rx: +SIM: 1
Rx: +KSUP: 0
Tx: ATE0
Rx: OK
Tx: AT+KSLEEP=2
Rx: OK
Tx: AT+KGSN=0
Rx: +KGSN: 014284008472445
Rx: OK
Tx: ATI0
Rx: HL7588
Rx: OK
Tx: ATI3
Rx: RHL75xx.A.2.15.151600.201809201422.x7160_3
Rx: OK
Rx: +PBREADY
Tx: AT+KSRAT?
Rx: +KSRAT: 7
Rx: OK
Tx: AT+KSRAT=2
Rx: OK
Tx: AT+KSIMDET=1
Rx: OK
Tx: AT+CREG=1
Rx: OK
Tx: AT+CGREG=1
Rx: OK
Tx: AT+KSREP=1
Rx: OK
Tx: AT+CTZU=1
Rx: OK
Tx: AT+CTZR=1
Rx: OK
Tx: AT+KUSBCOMP=0
Rx: OK
Tx: AT+WMUSBVCC=1
Rx: OK
Tx: AT+CGEREP?
Rx: +CGEREP: 0,0
Rx: OK
Rx: +CREG: 1
Rx: +CGREG: 4
Rx: +CTZV: -20,“24/03/11,08:38:43”
Rx: +XNITZINFO: “GMT-05:00”,“24/03/11,08:38:43”
Rx: +CTZDST: 0
Rx: +CGREG: 1
Tx: AT+KBND?
Rx: +KBND: 00000020
Rx: OK
Tx: AT+KPATTERN=3nd0fm3ss4g3
Rx: OK
Tx: AT+KCNXCFG=1,“GPRS”,“apn”,“user”,“password”
Rx: OK
Tx: AT+KUDPCFG=1,1,SERVER_PORT,1
Rx: +KUDPCFG: 1
Rx: OK
Rx: +KCNX_IND: 1,4,1
Tx: AT+KCNXTIMER=1,10,3,0,0
Rx: OK
Rx: +KCNX_IND: 1,1,0
Rx: +KUDP_IND: 1,1
Tx: AT+CSQ
Rx: +CSQ: 7,4
Rx: OK
Tx: AT+COPS?
Rx: +COPS: 0,0,“Movistar”,2
Rx: OK
Tx: AT+KCGPADDR
Rx: +KCGPADDR: 1,“SERVER_IP”
Rx: OK
Tx: AT+KBND?
Rx: +KBND: 00000020
Rx: OK
Tx: AT+CSQ
Rx: +CSQ: 7,4
Rx: OK
Rx: +KUDP_DATA: 1,10,“REMOTE_IP”,REMOTE_PORT,HI Server
Tx: AT+KUDPSND=1,REMOTE_IP,REMOTE_PORT,10
Rx: CONNECT
Tx: Tx:Hi client–EOF–Pattern–
Rx: OK
Rx: +KUDP_DATA: 1,27,“REMOTE_IP”,REMOTE_PORT,second message from client
Rx: +KUDP_DATA: 1,27,“REMOTE_IP”,REMOTE_PORT,second message from client
If anyone has had the same thing happen to them, knows how to fix it or tell me what I’m doing wrong, I would appreciate it!