ATZ in enabling_modem_init() step
Tim Small
tim at seoss.co.uk
Wed Jul 26 14:32:41 UTC 2017
On 25/07/17 12:47, Aleksander Morgado wrote:
> A quick solution would be to subclass the enabling_modem_init() step
> and after running the parent method, run a Telit specific setup to
> check #CSS? and if disabled due to the ATZ, re-set it, would that
> work?
I wonder if issuing ATZ is the right thing to do here at all?
It's trying to reset the modem to a well-known state, but ATZ doesn't do
that - it loads the default user defined profile - which could be
anything that the user or another piece of software has saved with AT&W.
Running AT&F1 once during/after probe might be better to get the modem
to a known state.
Even more complicated, having just checked the Telit modem CMUX user
guide - when in CMUX mode both the ATZ and AT&F commands are ignored, so
it would be necessary to issue AT&F before entering CMUX mode, but
neither would be an option after that.
Tim.
--
South East Open Source Solutions Limited
Registered in England and Wales with company number 06134732.
Registered Office: 2 Powell Gardens, Redhill, Surrey, RH1 1TQ
VAT number: 900 6633 53 http://seoss.co.uk/ +44-(0)1273-808309
More information about the ModemManager-devel
mailing list