Currently, with the latest offical FW of this module, MQTT version indicator is only supported with value 4 (version 3.1.1).
But I see you are using value 3 for this parameter:
Hi @jerdung ,
Yeah, I have read the document and I tested with the two options, but it always gives me the same result after a while it disconnects from brokers.
I have just tried on my BX310x module with offical FW 2.7.3, this module can create MQTT connection successfully and I have not seen your issue on my module.
You can refer this log:
at+fmm
BX310x
OK
ati3
BX310x.2.7.3
OK
at+srwcfg=1
OK
AT+SRWSTACFG="AP SSID","password",1
OK
at+srwstacon=1
OK
+SRWSTASTATUS: 1,"AP SSID","MAC address of the AP",1,4,-49
+SRWSTAIP: "192.168.0.123","255.255.255.0","192.168.0.1"
AT+KMQTTCFG=0,"broker.hivemq.com",1883,4,"client_ID"
+KMQTTCFG: 1
OK
AT+KMQTTCFG?
+KMQTTCFG: 1,"broker.hivemq.com",1883,4,"client_ID",0,1,0,"0","",0,0,"0","0"
OK
AT+KMQTTCNX=1
OK
+KMQTT_IND: 1,6
+KMQTT_IND: 1,1
AT+KMQTTCFG?
+KMQTTCFG: 1,"broker.hivemq.com",1883,4,"client_ID",0,1,0,"0","",0,0,"0","0"
OK
AT+KMQTTCLOSE=1
OK
AT+KMQTTDEL=1
OK
Hi @jerdung,
I have tried the AT&K3 to tested with my Arduino but now I want to give it back to Hercules it means to use a USB interface for config but I don’t know how, did you have any idea?
Are you using Windows 10? The main interface for the BX310x is a UART, you would just use the standard CDC-ACM driver, so I think you may not need to install driver.
hi @jerdung ,
This is not my problem, I have done a lot of tests with Hercules, but after I put the AT&K3 command I lose control from Hercules Interface and there is nothing displayed when click resets or any other command that’s why I asking if there any way to go back to normal at+command using Hercules. I don’t know what is the problem, but I used Tera-Term to connect to the bx3105 and reset all config by AT+F after that I open Hercules and everything goes ok! .
hi @jerdung,
the problem was when I connect to the broker from the bx3105 the node-red flow disconnects from the same broker and when I connect from node-red to the same broker it disconnects from bx3105 I want to send and receive data throw MQTT when my laptop play as AP for bx3105