Re: Received SMS with python

2017-09-26 Thread Aleksander Morgado
On Tue, Sep 19, 2017 at 10:03 AM, wrote: > I came across an old example (get-sms.py) using dbus, but are there any > examples via gi/Glib for reading and deleting received SMSs (and any events > that can be hooked for catching the reception)? > I'm guessing the ModemMessaging class is the startin

Re: Received SMS with python

2017-09-22 Thread Dan Williams
On Fri, 2017-09-22 at 14:26 +0100, Colin Helliwell wrote: > > On 21 September 2017 at 11:54 Colin Helliwell > ystems.com> wrote: > > > > > On 19 September 2017 at 17:39 Aleksander Morgado > > sander.es> wrote: > > > > > > ... > > > > > > Another (better?) option would be to listen to updates i

Re: Received SMS with python

2017-09-22 Thread Colin Helliwell
> On 21 September 2017 at 11:54 Colin Helliwell > wrote: > > > On 19 September 2017 at 17:39 Aleksander Morgado > > wrote: > > > > ... > > > > Another (better?) option would be to listen to updates in the > > "Messages" property itself. E.g. just > > msging.connect('notify::messages',...) a

Re: Received SMS with python

2017-09-21 Thread Colin Helliwell
> On 19 September 2017 at 17:39 Aleksander Morgado > wrote: > ... > > Another (better?) option would be to listen to updates in the > "Messages" property itself. E.g. just > msging.connect('notify::messages',...) and setup a callback that will > get called any time the Messages property is upd

Re: Received SMS with python

2017-09-19 Thread Aleksander Morgado
>> I came across an old example (get-sms.py) using dbus, but are there any >> examples via gi/Glib for reading and deleting received SMSs (and any events >> that can be hooked for catching the reception)? >> I'm guessing the ModemMessaging class is the starting point? Then, in the >> Sms class, whe

Re: Received SMS with python

2017-09-19 Thread Colin Helliwell
> On 19 September 2017 at 09:03 colin.helliw...@ln-systems.com wrote: > > I came across an old example (get-sms.py) using dbus, but are there any > examples via gi/Glib for reading and deleting received SMSs (and any events > that can be hooked for catching the reception)? > I'm guessing the Mode

Received SMS with python

2017-09-19 Thread colin.helliwell
I came across an old example (get-sms.py) using dbus, but are there any examples via gi/Glib for reading and deleting received SMSs (and any events that can be hooked for catching the reception)? I'm guessing the ModemMessaging class is the starting point? Then, in the Sms class, when would be the