当前位置:网站首页>Historical track data reading of Holux m1200-e Bluetooth GPS track recorder
Historical track data reading of Holux m1200-e Bluetooth GPS track recorder
2022-04-23 20:16:00 【Tomorrow's sun】
HOLUX M1200-E bluetooth GPS The historical track data of the track recorder is read
The picture is too bad to upload primary Word File download address Click to open the link http://download.csdn.net/download/cp459584547/9950331
This blog doesn't talk about how to read GPS Historical track data and interest point data of the equipment . How to parse GPS Real time data received by the device , Just say more , There are many on the Internet , Search a lot of
Hardware environment :HOLUX M1200-E
development language :C#
The idea of capturing data comes from , First, through the official client HOLUX ezTour for Logger Connecting device , And then use AccessPort137 The serial port packet grabbing tool grabs The client is reading GPS Some commands sent when equipment track data , First, let's preview these commands
Some of the previous commands are useless , until $PMTK182,2,8*33,
inquiry RCD Address , Namely The address to which the next data of the current device will be recorded , The device answers
$PMTK182,3,8,000508D4*63, The answer means The device has recorded 508D4(16 Base number ) So many bytes of data
Then what we have to do next is Call the command to read all these bytes , The command to read device data is
Express From address 0 Start reading , The read direct length is (8000H) Bytes , The effect of this official program to read data in batches , Of course, in order to save trouble, I read all the data at one time So order Namely $PMTK182,7,0, 508D4*( XOR check bit ), Think like this, after the device sends a command The device will return a lot of 16 The string of the base , that Where is the historical trajectory data we need ,
After some research, my younger brother found that , The historical trajectory data is here 16 In hexadecimal string characters , The middle item is continuous AAAAA、FFFFF BBBBB Wait, these are bad data , I don't know what the equipment is stored . But there is one law That's it These useful data are based on 20 Store one in bytes GPS Coordinate point information , After sorting out the following
among Yes 484F4C55584D31323030574159504E5420202020 Such a string appears many times , After some research, this is a few letters ASCII code Which translates as HOLUXWAYPNT, Interest point means , Then there are those arrays left That's the historical track , One point 20 Bytes , The first three data bytes are time - longitude - latitude -【】-【】, The last two haven't been studied . Please let me know when a friend finds the rule !
such as FF217859, You need to turn it upside down 597821FF And then convert to 10 Base number 1501045247 It's a time stamp , In the conversion to time is
E693F441 Namely Float Data storage 16 Base form , Just change it ,
The last two haven't been studied , How to analyze
That's it Can handle GPS All the track data of the device has been read out .
What needs to be noted is , These data are not arranged neatly Every time the switchgear produces a lot of bad data . use hexOnly.Split(newstring[] { "BBBBBBBBAAAAAAAAAAAAAA0702010000BBBBBBBB","FFFFFFFF2ABFBBBBBBBB" },StringSplitOptions.RemoveEmptyEntries); After the explosion Each array is divided into 40 A string is parsed at a time then Judge Whether the longitude and latitude are within the scope of China , Basically, there will be no mistakes .
The appended drawings
HOLUX ezTour for Logger The trajectory data read by the official program
Red Just the point of interest , After zooming in
My program The track read out And points of interest
Source code ? The principles are posted , Just write the code yourself , If you're too lazy to write and really need source code , I believe you Can find my mailbox !
版权声明
本文为[Tomorrow's sun]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204210553339990.html
边栏推荐
- 网络通信基础(局域网、广域网、IP地址、端口号、协议、封装、分用)
- R语言使用caret包的preProcess函数进行数据预处理:对所有的数据列进行BoxCox变换处理(将非正态分布数据列转换为正态分布数据、不可以处理负数)、设置method参数为BoxCox
- [text classification cases] (4) RNN and LSTM film evaluation Tendency Classification, with tensorflow complete code attached
- 波场DAO新物种下场,USDD如何破局稳定币市场?
- PCL点云处理之计算两平面交线(五十一)
- NC basic usage 4
- SRS deployment
- STM32基础知识
- Error reported by Azkaban: Azkaban jobExecutor. utils. process. ProcessFailureException: Process exited with code 64
- Mysql database - single table query (II)
猜你喜欢

DNS cloud school rising posture! Three advanced uses of authoritative DNS

selenium. common. exceptions. WebDriverException: Message: ‘chromedriver‘ executable needs to be in PAT

波场DAO新物种下场,USDD如何破局稳定币市场?

Project training of Software College of Shandong University - Innovation Training - network security shooting range experimental platform (VII)

Redis cache penetration, cache breakdown, cache avalanche

How to create bep-20 pass on BNB chain

MySQL 进阶 锁 -- MySQL锁概述、MySQL锁的分类:全局锁(数据备份)、表级锁(表共享读锁、表独占写锁、元数据锁、意向锁)、行级锁(行锁、间隙锁、临键锁)
![Azkaban recompile, solve: could not connect to SMTP host: SMTP 163.com, port: 465 [January 10, 2022]](/img/1a/669c330e64af8e75f4b05e472d03d3.png)
Azkaban recompile, solve: could not connect to SMTP host: SMTP 163.com, port: 465 [January 10, 2022]

The textarea cursor cannot be controlled by the keyboard due to antd dropdown + modal + textarea

Wave field Dao new species end up, how does usdd break the situation and stabilize the currency market?
随机推荐
SQL Server Connectors By Thread Pool | DTSQLServerTP plugin instructions
nc基础用法3
The market share of the financial industry exceeds 50%, and zdns has built a solid foundation for the financial technology network
【目标跟踪】基于帧差法结合卡尔曼滤波实现行人姿态识别附matlab代码
Openharmony open source developer growth plan, looking for new open source forces that change the world!
R语言使用caret包的preProcess函数进行数据预处理:对所有的数据列进行BoxCox变换处理(将非正态分布数据列转换为正态分布数据、不可以处理负数)、设置method参数为BoxCox
MySQL advanced lock - overview of MySQL locks and classification of MySQL locks: global lock (data backup), table level lock (table shared read lock, table exclusive write lock, metadata lock and inte
aqs的学习
How to create bep-20 pass on BNB chain
SIGIR'22 "Microsoft" CTR estimation: using context information to promote feature representation learning
R语言使用econocharts包创建微观经济或宏观经济图、indifference函数可视化无差异曲线、自定义计算交叉点、自定义配置indifference函数的参数丰富可视化效果
使用 WPAD/PAC 和 JScript在win11中进行远程代码执行3
还在用 ListView?使用 AnimatedList 让列表元素动起来
R语言使用timeROC包计算存在竞争风险情况下的生存资料多时间AUC值、使用cox模型、并添加协变量、R语言使用timeROC包的plotAUCcurve函数可视化多时间生存资料的AUC曲线
R语言使用timeROC包计算无竞争风险情况下的生存资料多时间AUC值、使用confint函数计算无竞争风险情况下的生存资料多时间AUC指标的置信区间值
DNS cloud school | analysis of hidden tunnel attacks in the hidden corner of DNS
Servlet learning notes
Is the wechat CICC wealth high-end zone safe? How to open an account for securities
Mysql database - basic operation of database and table (II)
Zdns was invited to attend the annual conference of Tencent cloud basic resources and share the 2020 domain name industry development report