Hello,
“AT+QMTOPEN=0,"broker.hivemq.com",1883\r\n”;
+QMTOPEN: 0,2 this means mqtt identifier is occupied
AT+QMTCONN=0,“mqttjs_eg91c”
ERROR
How to resolve this.
Hello @pallavi
Welcome to the HiveMQ Community! Looks like a previous connection with the same client ID wasn’t closed properly, our public broker might still be holding that session. To resolve this issue, you can try the following steps.
- Restart your device/module to reset any existing connections.
- Try using a different client ID and see if you can connect.
- Use a proper AT command to explicitly disconnect the client before trying to reconnect.
Kind regards,
Diego from HiveMQ Team