当前位置:网站首页>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
边栏推荐
- 【目标跟踪】基于帧差法结合卡尔曼滤波实现行人姿态识别附matlab代码
- 【2022】将3D目标检测看作序列预测-Point2Seq: Detecting 3D Objects as Sequences
- 論文寫作 19: 會議論文與期刊論文的區別
- Tencent Qiu Dongyang: techniques and ways of accelerating deep model reasoning
- R语言使用caret包的preProcess函数进行数据预处理:对所有的数据列进行BoxCox变换处理(将非正态分布数据列转换为正态分布数据、不可以处理负数)、设置method参数为BoxCox
- [text classification cases] (4) RNN and LSTM film evaluation Tendency Classification, with tensorflow complete code attached
- What is the difference between a host and a server?
- How does onlyoffice solve no route to host
- Redis installation (centos7 command line installation)
- LeetCode异或运算
猜你喜欢

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

SIGIR'22「微软」CTR估计:利用上下文信息促进特征表征学习

STM32基础知识

DNS cloud school | analysis of hidden tunnel attacks in the hidden corner of DNS

Building googlenet neural network based on pytorch for flower recognition
![[numerical prediction case] (3) LSTM time series electricity quantity prediction, with tensorflow complete code attached](/img/73/ba9fb872aa279405204c411c18f348.png)
[numerical prediction case] (3) LSTM time series electricity quantity prediction, with tensorflow complete code attached

PCL点云处理之计算两平面交线(五十一)

JDBC tool class jdbcfiledateutil uploads files and date format conversion, including the latest, simplest and easiest way to upload single files and multiple files

LeetCode动态规划训练营(1~5天)
![[talkative cloud native] load balancing - the passenger flow of small restaurants has increased](/img/ba/4ccf0c2181572fed16bbc9c797d557.png)
[talkative cloud native] load balancing - the passenger flow of small restaurants has increased
随机推荐
How about Bohai futures. Is it safe to open futures accounts?
PCA based geometric feature calculation of PCL point cloud processing (52)
LeetCode异或运算
Notes of Tang Shu's grammar class in postgraduate entrance examination English
山东大学软件学院项目实训-创新实训-网络安全靶场实验平台(七)
論文寫作 19: 會議論文與期刊論文的區別
nc基础用法3
How about CICC fortune? Is it safe to open an account
Local call feign interface message 404
STM32基础知识
Zdns was invited to attend the annual conference of Tencent cloud basic resources and share the 2020 domain name industry development report
Remote code execution in Win 11 using wpad / PAC and JScript
程序设计语言基础(2)
使用 WPAD/PAC 和 JScript在win11中进行远程代码执行3
Project training of Software College of Shandong University - Innovation Training - network security shooting range experimental platform (V)
Record: call mapper to report null pointer Foreach > the usage of not removing repetition;
DNS cloud school rising posture! Three advanced uses of authoritative DNS
Azkaban recompile, solve: could not connect to SMTP host: SMTP 163.com, port: 465 [January 10, 2022]
aqs的学习
Video understanding