Merge ~kzapalowicz/snappy-hwe-snaps/+git/modem-manager:feature/add-reset into ~snappy-hwe-team/snappy-hwe-snaps/+git/modem-manager:modem-manager/1.8.0
Status: | Merged |
---|---|
Approved by: | Alfonso Sanchez-Beato |
Approved revision: | 58a78b4bfa40b52245d62661c46cc706e6b1ee33 |
Merged at revision: | d5d2895c7eab7d4bf64d49187cde0032ebdd078c |
Proposed branch: | ~kzapalowicz/snappy-hwe-snaps/+git/modem-manager:feature/add-reset |
Merge into: | ~snappy-hwe-team/snappy-hwe-snaps/+git/modem-manager:modem-manager/1.8.0 |
Diff against target: |
44 lines (+26/-0) 1 file modified
plugins/cinterion/mm-broadband-modem-cinterion.c (+26/-0) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Alfonso Sanchez-Beato | continuous-integration | Approve | |
Review via email: mp+438423@code.launchpad.net |
Commit message
cinterion: implement reset
Description of the change
This is a cherry-pick of a modem reset functionality implemented in the upstream Modem Manager project.
The reason I am proposing it is that we need to reset the modem and currently there is no other way than sending the AT command manually.
We had been doing this by:
) opening a separate AT port and using it to send modem reset AT command, however the modem is not reacting very well to the AT commands sent behind modem-manager's back.
The alternative solutions exist but are either not suitable in most of the cases, o overly complex:
) rebooting the gateway - it is not a suitable solution in majority of the cases.
) powering the modem off completely - afterwards it is a non-trivial to get it back online because when it is powered-off it disappears from DBus and must be booted via low-level GPIO.
In order to improve the experience here is the very small yet substantial change - implementation of the modem reset over DBus.
LGTM, thanks