examples: add sms-watch-python

Add an example that watches for and prints all SMS messages of
all modems.

Signed-off-by: Dan Williams <dan@ioncontrol.co>
This commit is contained in:
Dan Williams
2025-02-17 21:57:33 +00:00
committed by Aleksander Morgado
parent bc7198df8a
commit c320e50753
6 changed files with 204 additions and 5 deletions
@@ -33,7 +33,7 @@ def signal_handler(loop):
def main():
"""Main routine."""
# Create modem watcher
ModemWatcher.ModemWatcher()
ModemWatcher.ModemWatcher(None)
# Main loop
main_loop = GLib.MainLoop()