Hello,
i have an sparkfun u-blox SARA-R510M8S board. And i like to test the Mqtt AT Commands, before i send it with my stm32 microcontroller.
So i like to connect the board to my mqtt broker on my server to send messages.
I connected the board over the uart1 usb c port with my computer.
I opened with putty on com4 with 115200 baut an command line.
So here i can add all my commands to configure my module.
If i paste AT i get the answer OK
With the sparkfun board i got an hologram sim card. And its connects easy to the internet. This command give me the internet information back:
AT+UCELLINFO?
AT+UCELLINFO?
+UCELLINFO: 0,5,262,03,10431253,387,3CC9,70,21,255
+UCELLINFO: 0,6,6200,388,65,6
The next step is the mqtt connection. This are the commands from the manual topic MQTT from page 374, which i executed:
AT+UMQTT=12,1
ERROR
AT+UMQTT=0,"352753090041680"
OK
AT+UMQTT=1,1883
ERROR
AT+UMQTT=2,"109.123.250.139"
OK
AT+UMQTT=3,"109.123.250.139",1883
OK
AT+UMQTT=4,"user","pwd"
OK
AT+UMQTT=6,1
OK
AT+UMQTT=7,1
OK
AT+UMQTT=9,"Unrequesteddisconnect"
OK
AT+UMQTT=10,3600
OK
AT+UMQTT=11,1,2
OK
AT+UMQTTC=1
ERROR
AT+UMQTTNV=2
OK
So i cant set the local mqtt port with AT+UMQTT=1,1883 and i cant start the connection with AT+UMQTTC=1, both times i got an error back.
Is there somebody which can help me with this problem. Or do i have forgotten an command to activate Mqtt functionallity ?
best regards