Wifi, GPS遗留问题

1:前提条件:蓝牙关闭,wifi可用。

步骤:打开wifi,并连接一个AP,进入蓝牙设置,打开终端,adbshell,将macc_addr文件删除,打开蓝牙。

结果:蓝牙打开后,wifi断开,自动切换到3G模式,并且扫描不到可用的AP,和周围的AP。

2:模拟Android模拟器向gpsservice发送gps数据。

终端模拟:

telnetlocalhost5554

......

geofix经度纬度

3:/hardware/libhardware/modules/gps/gps_hardware.c中staticintnmea_reader_update_time(NmeaReader*r,Tokentok)方法中,

r->fix.timestamp为什么最后还要加上r->utc_diff?

相关推荐