RFC: Neighbouring Cell Info, take 2

Aki Niemi aki.niemi at nokia.com
Wed Feb 10 23:52:09 PST 2010


to, 2010-02-11 kello 01:23 +0100, ext Bastian, Waldo kirjoitti:
> Revisited proposal for neighbouring cell info based on previous
> feedback:
> - Low-level driver API instead of oFono.org DBUS API 
> - Polling based, no automatic periodic updates
> - Follows definitions in OMA SUPL v2.0

I like it.

> I'm not particular fond of the nested list -> wcdma.
> measured_results_list[].cell_measured_results[], maybe flatten that
> into a single list?

I agree it's ugly, but I'd keep it like that in the driver API, and
possibly flatten it in the D-Bus API if necessary.

> struct ofono_cell_info_driver {
> 	const char *name;
> 	int (*probe)(struct ofono_cell_info *ci, unsigned int vendor,
> 			void *data);
> 	void (*remove)(struct ofono_cell_info *ci);
> 	void (*query)(struct ofono_cell_info *ci,
> 			ofono_cell_info_query_cb_t cb,
> 			void *data);
> };
> 
> void ofono_cell_info_query(struct ofono_cell_info *ci, ofono_cell_info_query_cb_t cb, void *data);

What's this for?

Cheers,
Aki



More information about the ofono mailing list