cellular_modem sample for Quectel EG800Q #67417
Replies: 3 comments
-
Hi @MulattoKid , You dont need to exeute AT+CFUN=4 first. AT+CFUN=4 put the modem in airplane mode and disable LTE antena circuits. If you dont need to put in airplane mode, remove the AT+CFUN=4 in your logic and enter direclty in AT+CFUN=1. |
Beta Was this translation helpful? Give feedback.
-
The reason AT+CFUN=4 is sent is to "reset" the modem, closing any ongoing dial out andclosing pdp contexts. This is not always neccessary and sometimes even breaking, this is why there are custom chat scripts for each modem, so they can be tailored correctly :) |
Beta Was this translation helpful? Give feedback.
-
Thanks for the clarification :) |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I'm working on getting the
cellular_modem
sample working on an MIMXRT1040-EVK with a Quectel EG800Q modem. The EG800Q and BG95 should be quite similar, so I tried building themodem_cellular
driver for that modem. I ran into a problem where the dial-up (ATD*99***1#
) would only work if I had a breakpoint between each AT command being sent. When just running normally I get aNO CARRIER
response.After some testing, I've found it to be due to
AT+CFUN=4
ininit_chat_script
andAT+CFUN=1
in thedial_chat_script
. If I removeAT+CFUN=4
the dial-up is able to connect.My question is why the
AT+CFUN=4
command is needed in the first place?cc @bjarki-trackunit
Beta Was this translation helpful? Give feedback.
All reactions