Hello everybody,
I’m trying to use MQTT protocol based on BG95&BG77 MQTT Application Note document.
On 6.1 section there is an example to connect to AliCloud. This is the results:
AT+QMTCFG=“aliauth”,0,“oyjtmPl5a5j”,“MQTT_TEST”,“wN9Y6pZSIIy7Exa5qVzcmigEGO4kAazZ”
OK
AT+QMTOPEN=?
+QMTOPEN: (0-5),“host_name”,(0-65535)
OK
AT+QMTOPEN=0,“iot-as-mqtt.cn-shanghai.aliyuncs.com”,1883
OK
+QMTOPEN: 0,0
AT+QMTOPEN?
+QMTOPEN: 0,“iot-as-mqtt.cn-shanghai.aliyuncs.com”,1883
OK
AT+QMTCONN=?
+QMTCONN: (0-5),“clientID”[,“username”[,“password”]]
OK
AT+QMTCONN=0,“clientExample”
ERROR
Why am I get error?
Another question: Is there a cloud broker that give visual information on messages I will post through the BG95 module?
Thanks everybody.
Best Regards,
GS