Hello,
I’m having some trouble connecting to an MQTT server using AT commands. My hardware is a RAK7243 with an EG95 module.
Everything works fine until the AT+QMTOPEN command. This command always outputs “0,3,” which indicates “Failed to activate PDP” (see page 14 of the Quectel EG9x MQTT Application Note V1.1). Before using AT+QMTOPEN, I tried activating PDP with AT+CGACT=1,1 without success.
Here’s some potentially relevant information:
- The
AT+QMTOPENcommand I’m using is:AT+QMTOPEN=0,"test.mosquitto.org",1883(always returns 0,3). AT+CGDCONTreturns five contexts with all zeros for the IP address (I expected an IP address assigned by the network provider).- After using
AT+CGDCONT, the commandCGPADDRreturns an invalid IP address that appears very large. AT+COPSreturns:+COPS: 0,0,"T-Mobile",7(which I believe is okay).AT+CREGreturns:0,1(also okay).AT+QPING=1,"test.mosquitto.org"always returns “561” (unclear if successful ping).- Calling functionality works perfectly.
Do you have any ideas what might be causing this issue? Could it be possible that my SIM card lacks a data plan or service?
Thank you!