Wio Lte M1/NB-IoT + socket TCP

Simplify IoT Development.

Moderators: violet, yexiaobo, seth.welday

Post Reply
goncalo-c-machado
Pre-kindergarten
Pre-kindergarten
Posts: 3
Joined: Fri Sep 21, 2018 11:12 pm

Wio Lte M1/NB-IoT + socket TCP

Post by goncalo-c-machado » Tue Sep 25, 2018 1:18 am

Hi,

I am having troubles in starting an tcp socket. I am trying this commands:

check_with_cmd("AT+USOCR=6\r\n", "", CMD);
check_with_cmd("AT+USOCO=1, \"x.x.x.x\",10000\r\n", "", CMD);
check_with_cmd("AT+USOWR=1,5,\"TESTE\"\r\n", "", CMD);

but the connection to the server says that it is not allowed. Any suggestions?

Best Regards!
Gonçalo

xianning.lan
Pre-kindergarten
Pre-kindergarten
Posts: 2
Joined: Fri Sep 28, 2018 3:35 pm

Re: Wio Lte M1/NB-IoT + socket TCP

Post by xianning.lan » Sat Sep 29, 2018 2:47 pm

Hi, there.

I tried the code you provided to us, but the problem you said did not reappear when we tried it. So we suggest you check the server firewall or network. Here is a LTE module debugging tool, I hope it can help you.

https://www.u-blox.com/en/product/m-center

Best Regards,
Blu

goncalo-c-machado
Pre-kindergarten
Pre-kindergarten
Posts: 3
Joined: Fri Sep 21, 2018 11:12 pm

Re: Wio Lte M1/NB-IoT + socket TCP

Post by goncalo-c-machado » Wed Oct 03, 2018 12:17 am

Yes, it was from the server side.

Thank you!

Post Reply