开花结果 2023-12-22 发布于北京 | 转藏 写在前面 在漫长的Android源代码编译等待过程中,想起之前写过一部分的Android定位实现的探究小品,于是继续探究。 注:代码都是片段化的代码,用来提纲挈领的说明问题。 定位的基础知识: 1、定位芯片和CPU之间通过串口进行通信 2、串口和CPU之间传输的是ASCII格式的NMEA(National Marine Electronics Association)信息,如: $GPGGA,092204.999,4250.5589,S,14718.5084,E,1,04,24.4,19.7,M,,,,0000*1F $GPGLL,4250.5589,S,14718.5084,E,092204.999,A*2D $GPGSV,3,1,10,20,78,331,45,01,59,235,47,22,41,069,,13,32,252,45*70 $GPRMC,092204.999,A,4250.5589,S,14718.5084,E,0.00,89.68,211200,,*25...
Is this you? As a journalist, you can create a free Muck Rack account to customize your profile, list your contact preferences, and upload a portfolio of your best work.
Claim your profile