3 Commits
Author SHA1 Message Date
Christian Taedcke 02baf28323 fcc-unlock: switch bash shell scripts to use sh
This enables the usage with busybox and fixes yocto dependency
issues.

This is related to #483 and the previous commit
91ed72aa29.
2022-11-11 10:31:36 +01:00
Christian Taedcke 99cde83942 cinterion: Fix CDC-ECM support for ELS61-E2
When the data connection is started with AT^SWWAN, the modem expects
the DHCP discover packet from the TE while the command is running,
i.e. while the modem has not replied yet. In order to achieve that,
the bearer is marked as connected as soon as the command is
issued. This makes the NetworkManager start the DHCP process.

If the modem replies with an error, the bearer will be marked
disconnected later on.

See https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/merge_requests/50
for a similar functionality in the ublox driver.

Includes minor coding style fixes from Aleksander Morgado
<aleksandermj@chromium.org>.

Signed-off-by: Christian Taedcke <christian.taedcke@lemonbeat.com>
2022-09-28 10:47:45 +00:00
Christian Taedcke a25b45f795 cinterion: add support for mode setting using SXRAT
The previously used COPS command to set to LTE-only mode did not work
for an ELS81 modem.
Now ^SXRAT is used to switch modes instead of COPS, if SXRAT is
supported by the modem.
2022-09-28 10:26:08 +00:00