Re: [PATCH 4/4] Add a MessageWaiting interface to track message waiting indications.

2009-08-19 Thread Andrzej Zaborowski
Hi, 2009/8/10 Denis Kenzior denk...@gmail.com: 2009/8/5 Denis Kenzior denk...@gmail.com: mw_set_indicator does the right thing, I missed this fact.  But when a mailbox number is set or received from network all clients get a PropertyChanged and the new number can be retrieved from the

Re: [PATCH 4/4] Add a MessageWaiting interface to track message waiting indications.

2009-08-14 Thread Aki Niemi
2009/8/12 Denis Kenzior denk...@gmail.com:  So there are two issues here:        - There is absolutely no standard data format for such vendor commands.  So coming up with a higher level API that supports all modems might be tricky. Agree, this might be a problem. And in the worst case,

Re: [PATCH 4/4] Add a MessageWaiting interface to track message waiting indications.

2009-08-12 Thread Aki Niemi
2009/8/10 Denis Kenzior denk...@gmail.com: It would make sense for the providers to resend the MWI information everytime subscriber connects the network and then it would be less problematic in case the information couldn't be written to SIM, but I don't know if they ever do this. Probably

Re: [PATCH 4/4] Add a MessageWaiting interface to track message waiting indications.

2009-08-12 Thread Denis Kenzior
Hi Aki, 2009/8/10 Denis Kenzior denk...@gmail.com: It would make sense for the providers to resend the MWI information everytime subscriber connects the network and then it would be less problematic in case the information couldn't be written to SIM, but I don't know if they ever do

Re: [PATCH 4/4] Add a MessageWaiting interface to track message waiting indications.

2009-08-05 Thread andrzej zaborowski
2009/8/4 Denis Kenzior denk...@gmail.com: I've pushed this patch and heavily customized it afterwards to simplify the logic a bit.  Can you check that it is still working as intended? It is kind of working but one of the things simplified away is using the D-Bus interface even without working

Re: [PATCH 4/4] Add a MessageWaiting interface to track message waiting indications.

2009-08-05 Thread andrzej zaborowski
2009/8/5 Denis Kenzior denk...@gmail.com: Sorry I don't quite follow.  The mw_set_indicator function sets the value and emits the signals regardless of whether the MWIS file could be written.  Can you explain some more? For setting mailbox numbers, a working EF-MBDN is required since the only

Re: [PATCH 4/4] Add a MessageWaiting interface to track message waiting indications.

2009-08-05 Thread Denis Kenzior
Hi Andrew, For setting mailbox numbers, a working EF-MBDN is required since the only alternative would be to store them on the filesystem. mw_set_indicator does the right thing, I missed this fact. But when a mailbox number is set or received from network all clients get a

Re: [PATCH 4/4] Add a MessageWaiting interface to track message waiting indications.

2009-08-04 Thread Denis Kenzior
Hi, I've pushed this patch and heavily customized it afterwards to simplify the logic a bit. Can you check that it is still working as intended? Writing of MBDN fields is still missing. Can you send another patch for this? Also one fo writing of MSISDN records in SimManager would be good as

Re: [PATCH 4/4] Add a MessageWaiting interface to track message waiting indications.

2009-08-01 Thread Andrzej Zaborowski
2009/7/31 Denis Kenzior denk...@gmail.com: +     if (mw-messages[i] != value) { +             mw-messages[i] = value; + +             if (!mw-pending) +                     mw-pending = g_timeout_add(0, mw_mwis_update, modem); + +             dbus_gsm_signal_property_changed(conn,