Hi,

The modem supports an unsolicited notification for voltage level warnings and errors. I.e it can send

  UNDER_VOLTAGE POWER DOWN
  UNDER_VOLTAGE WARNING
  OVER_VOLTAGE WARNING
  OVER_VOLTAGE POWER DOWN

The power down messages should probably just close the serial ports and call ofono_modem_set_powered(modem, false), but what about the warnings?

Should I just add a hardware monitor dbus interface like the gemalto/cinterion drivers do, with a signal for the warnings?

Thanks,
Martin

On 10/07/2019 23.51, Martin Hundebøll wrote:
Changes since v1/v2:
  * remove c types patch
  * add patch with m95 sms quirks
  * add patch to query device model
  * add patch to create voicecall, phonebook, and sms functionality
  * add patch to enable flow control on modem if configured

Martin Hundebøll (9):
   atmodem: sms: add quectel m95 quirks
   quectel: always print modem pointer in debug messages
   quectel: unwrap call to at_util_open_device()
   quectel: replace glib uses with ell
   quectel: add basic support for serial connected modems
   quectel: support gpio to power on/off the modem
   quectel: configure flow control when enabled
   quectel: query device model to enable vendor quirks
   quectel: initialize call, phonebook and sms when ready

  drivers/atmodem/sms.c |  24 ++-
  plugins/quectel.c     | 491 ++++++++++++++++++++++++++++++++++++++----
  plugins/udevng.c      |  32 ++-
  3 files changed, 494 insertions(+), 53 deletions(-)

_______________________________________________
ofono mailing list
[email protected]
https://lists.ofono.org/mailman/listinfo/ofono

Reply via email to