Hi Audric,

I found by looking in include/netreg.h that it should be up to the
plugin to
implement CSQ polling, however I can't find how it is supposed to be done.
Indeed, the plugin has no access to the netreg atom nor structure, so
how is it
supposed to update one of these properties ?

Drivers do not modify DBus properties directly. Instead you should be signaling the change to the core the regular way, via ofono_netreg_strength_notify.

If you want to implement periodic signal strength reporting, then use g_idle_add_seconds to periodically send the +CSQ query. Please note that doing it this way you'd have to keep track of other states. For example, you might want to stop polling when the registration is lost, etc.

Ideally you should be asking your vendor why the signal strength isn't reported properly.

Regards,
-Denis
_______________________________________________
ofono mailing list
[email protected]
http://lists.ofono.org/listinfo/ofono

Reply via email to