Article 5NFHC Quectel EG25-G

Quectel EG25-G

by
kzo81
from LinuxQuestions.org on (#5NFHC)
Hi,

I installed debian 11 on an industrial PC, which has a miniPCIe slot, and a Quectel EG25-G LTE modem. The modem works well, but I cannot send AT commands to it.

This is what I was experimenting so far:

Code:import serial, time

port = '/dev/ttyUSB0'
baudrate = 9600

s = serial.Serial(port=port, baudrate=baudrate, xonxoff=False, bytesize=serial.EIGHTBITS, parity=serial.PARITY_NONE, rtscts=True,dsrdtr=True)
if not s.isOpen():
s.open()

command = 'AT+QGPSCFG\r'
#command ='AT+QGPS\r'

s.write(command.encode())

time.sleep(1)

print('Command sent...')

reply = s.readline()

print(reply)

s.close()The command is sent but no reply from the modem. Do you have any idea?
Thanks,

Zoleelatest?d=yIl2AUoC8zA latest?i=qURfb9uWB4I:kPJU6AlvTtQ:F7zBnMy latest?i=qURfb9uWB4I:kPJU6AlvTtQ:V_sGLiP latest?d=qj6IDK7rITs latest?i=qURfb9uWB4I:kPJU6AlvTtQ:gIN9vFwqURfb9uWB4I
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments