ESP32 with SIM7600 Connecting to MQTT Via AT Commands using access Token

Hi I have connected my ESP32 via UART to SIM7600 Module.
Now I'm trying to connect to MQTT Server ThingsBoard Using only AT Commands not using ThingsBoard Library.
In the ThingsBoard dashboard I have created a device named as Test_Device and i have the access token to that device("gl8yjk0dgjjqx98kw7zz").
Now I want to publish the data on the ThingsBoard IoT on Test_Device using the above token.

I'm facing the problem while connecting to the thingsBoard server using AT Command which is
AT+CMQTTCONNECT=1,"tcp://my_things _Board_URL:1883",90,1

I don't have clarity on where to put the access token in the connect AT command.

Here I'm also attaching the Link for the MQTT AT Command manual used for SIM 7600:
https://simcom.ee/documents/SIM7X00/SIM7500_SIM7600_SIM7800%20Series_MQTT_AT%20Command%20Manual_V1.00.pdf

this line here from their lib suggests that you should be assigning your token as username when you call
AT+CMQTTCONNECT=0,"tcp://my_things _Board_URL:1883",90,1,"user_name","password"

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.