@trick2011 I have uBlox Sara N310 modules already for months in my products up and running, what would you like to know? In fact there are a lot of differences between the N211 and the N310!
Hans
@trick2011 I have uBlox Sara N310 modules already for months in my products up and running, what would you like to know? In fact there are a lot of differences between the N211 and the N310!
Hans
from a factory default uBlox N311 this should do the job on the T-mobile NL network.
In fact you should only set the APN, not the country and network code. This makes it much more flexible.
AT+CGDCONT=1,“IP”,“cdp.iot.t-mobile.nl”
OK
AT+CEREG?
+CEREG: 0,5,“047e”,“018d2b26”,9
OK
AT+CSQ
+CSQ: 11,99
OK
AT+CCLK?
+CCLK: “15/06/08,12:22:02+8”
OK
AT+CGACT?
+CGACT: 0,0
OK
AT+CGACT=1,1
OK
AT+CGACT?
+CGACT: 1,1
OK
// now the connection is open for a UDP datagram…
@trick2011 I use the following sequence:
AT+UDCONF=1,0
AT+USOCR=17,7000
<rx socket number>
AT+USOCO=<socket>,“172.127.131.100”,<udp port>
AT+USOWR=<socket>,<data length>
<wait for @>
<send user data>
AT+USORF=<socket>,127 #127 is max rx length, depends on yr buffers
+USORF: <socket>,“172.27.131.100”,15683,17,“downstream data”
AT+USOCL=<socket> # close socket
After sending: AT+USORF=0,127\r
You will get the following message, if data available
+USORF: 0,“172.27.131.100”,15683,17,“return message in ascii”\r\n
from a factory default uBlox N311 this should do the job on the T-mobile NL network.
In fact you should only set the APN, not the country and network code. This makes it much more flexible.
AT+CGDCONT=1,“IP”,“cdp.iot.t-mobile.nl”
OK
AT+CEREG?
+CEREG: 0,5,“047e”,“018d2b26”,9
OK
AT+CSQ
+CSQ: 11,99
OK
AT+CCLK?
+CCLK: “15/06/08,12:22:02+8”
OK
AT+CGACT?
+CGACT: 0,0
OK
AT+CGACT=1,1
OK
AT+CGACT?
+CGACT: 1,1
OK
// now the connection is open for a UDP datagram…
@trick2011 I have uBlox Sara N310 modules already for months in my products up and running, what would you like to know? In fact there are a lot of differences between the N211 and the N310!
Hans