AW: gpsd and as-needed patches

Andreas.Eversberg Andreas.Eversberg at versatel.de
Thu Jul 21 09:54:50 CEST 2011


hi vlatko,

thanx for your patches. i don't have knowledge about gpsd api. before i
can apply them, i need to know about gps_waiting() function.

the osmo_gpsd_cb() function in common/gps.c is called when there is data
to be read from gpsd. this function (like any other function) may not
delay or block. (except for the CPU processing time of the function.) if
no data is available from gpsd, the function must continue with "goto
gps_not_ready;" immidately.

what will gps_waiting() do in case there is no (complete) information
available?

regards,

andreas

 




More information about the baseband-devel mailing list