1. 程式人生 > >android gps機制分析--之七

android gps機制分析--之七

在loc_pd_notify_client函式中,呼叫loc_pd_report獲取position資訊,對應輸出的log:

loc_pd_get_sv_repoet:health_svmask 0x0和gnss report, mask = 48, num_sv = 19,

再呼叫loc_client_invoke_callback函式,eventtype是LOC_EVENT_NMEA_POSITION_REPORT,

處理nmea的event事件,對應輸出的log:"loc_client_invoke_callback, client_handle = 3, event_type = 2, maxclients = 5"