EC20 AT+CGACT=1,1 always return error

Home Forums M2M Support Forum EC20 AT+CGACT=1,1 always return error

This topic contains 1 reply, has 2 voices, and was last updated by  Admin 2 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #33719 Reply

    Madhav

    Hello,

    I am testing an EC20 module for MQTT transmission. List of commands that I am following:

    AT+CGDCONT=1,"IP","www"
    AT+CGACT=1,1
    AT+QMTCFG="recv/mode",0,0,1
    AT+QMTCFG=“SSL”,0,1,0
    AT+QMTOPEN=?
    AT+QMTOPEN=0,"<broker url>",8883
    AT+QMTCONN=0,"clientExample","id","password"
    AT+QMTPUBEX=0,0,0,0,"test",12

    This used to work, but then AT+CGACT=1,1 started giving output “ERROR”. The sim used here is a Vodafone postpaid Sim.

    ATI
    Quectel
    EC20F
    Revision: EC20CEFDLGR06A04M1G
    
    OK
    AT+CGDCONT?
    +CGDCONT: 1,"IP","www","0.0.0.0",0,0,0,0
    +CGDCONT: 2,"IP","","0.0.0.0",0,0,0,0
    +CGDCONT: 3,"IP","","0.0.0.0",0,0,0,0
    
    OK
    AT+CGACT=1,1
    ERROR
    AT+CGPADDR=1
    +CGPADDR: 1,"10.69.228.49"
    
    OK
    AT+QMTCFG="recv/mode",0,0,1
    OK
    AT+QMTCFG=“SSL”,0,1,0
    ERROR

    Though I am able to send data via MQTT without SSL even though AT+CGACT return error.

    AT+CGACT=?
    +CGACT: (0,1)
    
    OK
    AT+CGACT?
    +CGACT: 1,1
    +CGACT: 2,0
    +CGACT: 3,0
    
    OK
    AT+CGACT=0,1
    ERROR
    AT+CGACT=1,1
    ERROR
    #33750 Reply

    Admin
    Keymaster

    Hi – Can you check if the module has successfully registered with the network using the the AT+CREG command?

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: EC20 AT+CGACT=1,1 always return error
Your information: