I am trying to use the sixfab sim with a pi-hat connected to a linux box via USB. Connecting to it via /dev/ttyUSB3. I am trying to establish a connection to the mosquitto test server and getting “ERROR” in response to the AT+MQCONN command.
Any way to get more details? And any ideas on if I am missing a step in my command stream. I have a little python script that is feeding commands to the modem via the serial port.
See trace:
Connected /dev/ttyUSB3...
send: AT
recv:
recv: OK
send: AT+CMEE=2
recv:
recv: OK
send: AT+CGMI
recv:
recv: Telit
recv:
recv: OK
send: AT+CGMM
recv:
recv: LE910C4-NF
recv:
recv: OK
send: AT+COPS?
recv:
recv: +COPS: 0,0,"T-Mobile",7
recv:
recv: OK
send: AT+COPS=?
recv:
recv: +COPS: (1,"AT&T","AT&T","310410",7),(1,"Verizon","Verizon","311480",7),(2,"T-Mobile","T-Mobile","310260",7),(1,"313 100","313 100","313100",7),(1,"311 490","311 490","311490",7),,(0,1,2,3,4),(0,1,2)
recv:
recv: OK
send: AT+CREG?
recv:
recv: +CREG: 0,5
recv:
recv: OK
send: AT+CGDCONT?
recv:
recv: +CGDCONT: 1,"IPV4V6","nxtgenphone","",0,0,0,0
recv: +CGDCONT: 2,"IPV4V6","ims","",0,0,0,0
recv: +CGDCONT: 3,"IPV4V6","sos","",0,0,0,1
recv: +CGDCONT: 4,"IPV4V6","attm2mglobal","",0,0,0,0
recv: +CGDCONT: 5,"IPV4V6","super","",0,0,0,0
recv:
recv: OK
send: AT+CGDCONT=5,"IPV4V6","super"
recv:
recv: OK
send: AT#SGACTCFG=1,10,190,1
recv:
recv: OK
send: AT#SGACTCFG?
recv:
recv: #SGACTCFG: 1,10,190,1
recv: #SGACTCFG: 2,0,180,0
recv: #SGACTCFG: 3,0,180,0
recv: #SGACTCFG: 4,0,180,0
recv: #SGACTCFG: 5,0,180,0
recv:
recv: OK
send: AT#MQEN=1,1
recv:
recv: OK
send: AT#MQEN?
recv:
recv: #MQEN: 1,1
recv: #MQEN: 2,0
recv:
recv: OK
send: AT#MQCFG=1,"test.mosquitto.org",1883,5
recv:
recv: OK
send: AT#MQCFG2=1,60,1
recv:
recv: OK
send: AT#MQTCFG=1,30
recv:
recv: OK
send: AT#MQCONN=1,"fubar8675309","",""
recv:
recv: ERROR