This server is for demonstration purposes only. No support guaranteed.

u-blox AE-CEL test server

Server IP address
18.196.19.141
Server name
ubxaecel.ddns.net
Server logs
AT Commands Filtering

Echo server (TCP/UDP)

Service name Port Notes Example
TCP | UDP 7
TCP
AT+USOCR=6
AT+USOCO=0,"18.196.19.141",7
AT+USORD=0,100
AT+USOWR=0,5,"HELLO"
AT+USORD=0,5
UDP
AT+USOCR=17
AT+USOST=0,"18.196.19.141",7,5,"HELLO"
AT+USORF=0,5
TLS 51000 Server authentication.
Use root CA cert: ISRG Root X1.
Download certificate to module FS
AT+USECMNG=1,0,"isrgrootx1.pem","isrgrootx1.pem"
AT+USECPRF=0
AT+USECPRF=0,3,"isrgrootx1.pem"
AT+USOCR=6
AT+USOSEC=0,1,0
AT+USOCO=0,"18.196.19.141",51000
AT+USORD=0,100
AT+USOWR=0,5,"HELLO"
AT+USORD=0,5
DTLS 52000 Server authentication.
Use root CA cert: ISRG Root X1.
Sequential, one client at a time (automatically closed after about 2 mins inactivity).
Download certificate to module FS
AT+USECMNG=1,0,"isrgrootx1.pem","isrgrootx1.pem"
AT+USECPRF=0
AT+USECPRF=0,3,"isrgrootx1.pem"
AT+USOCR=17
AT+USOSEC=0,1,0
AT+USOCO=0,"18.196.19.141",52000
AT+USOWR=0,5,"HELLO"
AT+USORD=0,5
Delay | Truncate UDP 7 ECHO back the messages with specified delay, size, and number of retransmission.
To use this functionality the structure of the message need to be the following:
UBX-ECHO[Delay][Delay][Size][Repeat][Message]
  • 2 bytes: 2 times [Delay] is the number of milliseconds to wait before echoing back the message.
  • 1 byte: [Size] size of the message (truncation) to be sent back.
  • 1 byte [Repeat] number of messages to send back.
[Delay][Delay][Size][Repeat] must be issued in Hexadecimal.
In m-center the message can be sent as:
  • Send UBX-ECHO in Multi line text
  • Send Hex [Delay][Delay][Size][Repeat] in Multi line text
  • Send [Message] in Multi line text
Example with "UBX-ECHO\08\00\02\02Hello World":
- delay of "\08\00"[Hex] = 2048[Dec] --> 2048 * 0.002 = 4.096 sec
- size of the echo "\02"[Hex] --> only "He" of "Hello World" is echoed
- sending "\02"[Hex] echos.

AT+USOCR=17
AT+USOST=0,"18.196.19.141",7,17
@
UBX-ECHO\08\00\02\02Hello World
AT+USORF=0,2
Custom TCP connection 7 Init a new TCP connection with custom timeout and echo limit.
To use this functionality the structure of the message need to be the following:
UBX-CUSTOM[Timeout][EchoLimit]{Message}
  • 4 chars: [Timeout] is the number of seconds to wait before closing the TCP socket.
  • 4 chars: [EchoLimit] size of the message (truncation) to be sent back. Maximum allowed is 2048.
Example:
- configure a timeout of 30 seconds
- and an echo limit of 2000 bytes.

AT+USOCR=6
AT+USOCO=0,"18.196.19.141",7
AT+USOWR=0,18,"UBX-CUSTOM00302000"

HTTP REST API

These APIs work only in secure (port 443) mode. Be sure to use the root CA certificate ISRG Root X1. Following is an example of HTTP client initialization.

Download certificate to module FS:
AT+USECMNG=1,0,"isrgrootx1.pem","isrgrootx1.pem"

Configure security profile:
AT+USECPRF=0
AT+USECPRF=0,3,"isrgrootx1.pem"

Configure HTTP client:
AT+UHTTP=0
AT+UHTTP=0,0,"18.196.19.141"
AT+UHTTP=0,5,443
AT+UHTTP=0,6,1,0

Method Endpoint Notes Example
HEAD / GET
/api/test/get
HEAD / GET a resource.
GET returns the list of parameters passed in the request.
HEAD returns only the headers (no body).
(HEAD) AT+UHTTPC=0,0,"/api/test/get","response"
(GET) AT+UHTTPC=0,1,"/api/test/get","response"
POST
/api/test/post_data
POST text raw data in the request Body (Content-Type: text/plain).
Returns the data sent.
AT+UHTTPC=0,5,"/api/test/post_data","response","POST test",1
/api/test/post_form
POST form data in the request Body (Content-Type: application/x-www-form-urlencoded or multipart/form-data).
Returns the form parameters sent.
AT+UHTTPC=0,5,"/api/test/post_form","response","a=5&&b=10",0
/api/test/post_file
POST a file in the request Body (Content-Type: multipart/form-data).
Returns the file names sent.
AT+UHTTPC=0,4,"/api/test/post_file","response","file_to_send",3
PUT
/api/test/put_data
PUT text raw data in the request Body (Content-Type: text/plain).
Returns the data sent.
Not possible to send raw data in PUT
/api/test/put_file
PUT a file in the request Body (Content-Type: multipart/form-data).
Returns the file names sent.
AT+UHTTPC=0,3,"/api/test/put_file","response","file_to_send",3
DELETE
/api/test/delete
DELETE a resource.
Returns the list of parameters passed in the request.
AT+UHTTPC=0,2,"/api/test/delete","response"
DOWNLOAD
/download/<file_name>
GET a file fromm the server.
Returns a file from the server.
Available <file_name>s are:
  • test.txt
  • 21_kBytes.html
  • 180_kBytes.html
  • 544_kBytes.html
AT+UHTTPC=0,1,"/download/<file_name>","response"

MQTT broker (Mosquitto)

Service name Port Notes Example
Plain MQTT 1883
MQTT + TLS 8883 Mutual authentication.
MQTT over WebSockets 1884
MQTT + TLS over WebSockets 8884 Mutual authentication.

MQTT-SN gateway (paho-mqtt-sn)

Service name Port Notes Example
Plain MQTT-SN 1885 See https://wiki.u-blox.com/bin/view/Generic/AECelMQTTSNAWS