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:
committed by
Aleksander Morgado
parent
bc7198df8a
commit
c320e50753
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user