Hi support team,
I am using EG25 / EC25 module for the MQTT connection with the Azure IoT hub service
Firmware version - EG25GGDR07A08M2G
Hardware version - EG25-G(D)
Authentication method id SAS token ( Symmetric key authentication )
Communication with DPS was successful and we received the device ID and assigned IoT hub details from the DPS
Issue :
- When we tried to connect with the IOT hub then we are getting error in AT+QMTOPEN command. Even if we repeat the following command sequence we are getting same result as +QMTOPEN: 0,4
- +QMTOPEN: 0,4 indicates “Failed to parse domain name”
- But With MQTT fx there is no issue in connecting with Azure IoT hub. refer following details
- PC with MQTT fx and device are at same location
MQTT FX log
EG25 module log :
[2023-07-21T12:49:18Z] Wrote To Cell: [AT+QMTOPEN=0,“indoreofficeiothub.azure-devices.net”,8883]
[2023-07-21T12:49:18Z] Read from Cell: [OK]
[2023-07-21T12:49:18Z] Read from Cell: [+QMTOPEN: 0,4]
[2023-07-21T12:49:18Z] Wrote To Cell: [AT+QMTOPEN=0,“indoreofficeiothub.azure-devices.net”,8883]
[2023-07-21T12:49:18Z] Read from Cell: [OK]
[2023-07-21T12:49:19Z] Read from Cell: [+QMTOPEN: 0,4]
[2023-07-21T12:49:19Z] Wrote To Cell: [AT+QMTOPEN=0,“indoreofficeiothub.azure-devices.net”,8883]
[2023-07-21T12:49:19Z] Read from Cell: [OK]
[2023-07-21T12:49:19Z] Read from Cell: [+QMTOPEN: 0,4]
[2023-07-21T12:49:19Z] Wrote To Cell: [AT+QMTOPEN=0,“indoreofficeiothub.azure-devices.net”,8883]
[2023-07-21T12:49:19Z] Read from Cell: [OK]
[2023-07-21T12:49:20Z] Read from Cell: [+QMTOPEN: 0,4]
[2023-07-21T12:49:20Z] Wrote To Cell: [AT+QMTOPEN=0,“indoreofficeiothub.azure-devices.net”,8883]
[2023-07-21T12:49:20Z] Read from Cell: [OK]
[2023-07-21T12:49:20Z] Read from Cell: [+QMTOPEN: 0,4]