[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] allow to read configuration from memory instead of a file

From: Bastien Nocera
Subject: Re: [PATCH] allow to read configuration from memory instead of a file
Date: Sun, 06 Feb 2005 00:16:19 +0000

On Sun, 2005-02-06 at 01:27 +0100, Pawel Kot wrote:
> On Sat, 5 Feb 2005, Bastien Nocera wrote:
> > There are still a bunch of things that would need working on in
> > libgnokii. You can probably tell me whether those are possible:
> > - automated way to tell the driver to use from make and model
> I'm not sure if you are talking about build time or about runtime. Anyway 
> in both cases the answer is no, but it is easy doable.

I was more talking about run-time, with the database of models->drivers
being shipped with gnokii and user-editable without a recompilation.

> > - even better, connect only once, and be able to switch drivers on the
> > fly (connect to the phone, get the identification, switch driver
> > depending on the make and model, carry on as usual)
> Also here, it is not possible at the moment, bu it should be doable in a 
> bit more effort than the above.

I was mostly worried by the fact that almost all of libgnokii's
parameters can't be changed on the fly, and about some drivers needing
initialisation. What do you reckon?

> > - a way to receive events from the phone, such as new SMSs, instead of
> > having to poll
> This is an interesting point. As far as I know we can subscribe to some 
> events in FBUS protocol. I think it is not possible in AT mode. You get 
> the info about the events but only just after sending the request to the 
> phone. Example: the RING information from the phone -- it appears only 
> after sending any command to the phone.

libgsm was used to do that in gnome-phone-manager (getting notified
about SMS status, we just needed to poll for whether the phone told us
anything). I have no idea how it was done.

> But why this is interesting. I'm thinking for already few days about low 
> level daemon linked with libgnokii that would estabilish a connection with 
> the phone(s) when availavle and that would offer D-BUS interface to the 
> high level applications to communicate with the phone(s).
> The first application I can see here is to display an information about 
> incoming SMS and calls with XOSD interface.

This is pretty much what gnome-phone-manager, and gnome-bluetooth aim to
do, with the daemon sitting at the desktop level. The notification would
then be passed through D-Bus for the application to use (pause
Rhythmbox/Totem when receiving a call for example).

Bastien Nocera <address@hidden> 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]