# How to connect the device using AT commands on the esp32 LilyGO T-SIM7600G to HiveMQ Cloud

**URL:** <https://community.hivemq.com/t/how-to-connect-the-device-using-at-commands-on-the-esp32-lilygo-t-sim7600g-to-hivemq-cloud/2783>\
**Category:** HiveMQ Cloud\
**Created:** [March 17, 2024, 5:41pm UTC](https://community.hivemq.com/t/how-to-connect-the-device-using-at-commands-on-the-esp32-lilygo-t-sim7600g-to-hivemq-cloud/2783 "2024-03-17T17:41:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![yoshiangel](https://avatars.discourse-cdn.com/v4/letter/y/bcef8e/32.png) [@yoshiangel](https://community.hivemq.com/u/yoshiangel)\
**Post date:** [March 17, 2024, 5:41pm UTC](https://community.hivemq.com/t/how-to-connect-the-device-using-at-commands-on-the-esp32-lilygo-t-sim7600g-to-hivemq-cloud/2783/1 "2024-03-17T17:41:58Z")

</div>

I was following this user’s guide on arduino: [https://forum.arduino.cc/t/sim7600g-h-mqtt-at-cmqttconnect-error/1050860](https://forum.arduino.cc/t/sim7600g-h-mqtt-at-cmqttconnect-error/1050860), but I have an error in the following command:  
AT+CSSLCFG?

+CSSLCFG: 0,4,3,1,300,“cacert.pem”,“clientcert.pem”,“clientkey.pem”,1,“”,0xFFFF  
AT+CMQTTSTART  
OK  
//I copied the certificates from the link left by hivemq [https://drive.google.com/file/d/1VfNZ1wWcXvRzuSCx7WtNGJxW1jq\_R7nk/view](https://drive.google.com/file/d/1VfNZ1wWcXvRzuSCx7WtNGJxW1jq_R7nk/view), assuming that the order is as follows: carcert,client,clientkey  
+CMQTTTTSTART: 7 // What does number 7 mean?

---

<div class="post-metadata">

**Author:** ![Daria\_H](https://avatars.discourse-cdn.com/v4/letter/d/dfb087/32.png) [@Daria\_H](https://community.hivemq.com/u/Daria_H)\
**Post date:** [March 19, 2024, 11:48am UTC](https://community.hivemq.com/t/how-to-connect-the-device-using-at-commands-on-the-esp32-lilygo-t-sim7600g-to-hivemq-cloud/2783/2 "2024-03-19T11:48:20Z")

</div>

Hello @yoshiangel

Greetings and welcome to the HiveMQ Community Forum! We’re delighted to see your interest in MQTT and HiveMQ.

In response to your inquiry, may we kindly direct you to this link: [Connecting ESP-32 CAM with HiveMQ Cloud](https://community.hivemq.com/t/connecting-esp-32-cam-with-hive-mq-cloud/2098/2), where my colleague has generously shared a working example.

Should you require additional assistance, please don’t hesitate to reach out to us, we are happy to assist.

Regards,  
Dasha from the HiveMQ team
