当前位置:网站首页>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
边栏推荐
- An error is reported when sqoop imports data from Mysql to HDFS: sqlexception in nextkeyvalue
- NC basic usage 1
- Remote code execution in Win 11 using wpad / PAC and JScript 1
- Five minutes to show you what JWT is
- 论文写作 19: 会议论文与期刊论文的区别
- Kubernetes entry to mastery - bare metal loadbalance 80 443 port exposure precautions
- 网络通信基础(局域网、广域网、IP地址、端口号、协议、封装、分用)
- NC basic usage 4
- Numpy - creation of data type and array
- Grafana shares links with variable parameters
猜你喜欢
antd dropdown + modal + textarea导致的textarea光标不可被键盘控制问题
Redis cache penetration, cache breakdown, cache avalanche
DTMF dual tone multi frequency signal simulation demonstration system
SQL Server connectors by thread pool 𞓜 instructions for dtsqlservertp plug-in
Project training of Software College of Shandong University - Innovation Training - network security shooting range experimental platform (V)
DTMF双音多频信号仿真演示系统
Computing the intersection of two planes in PCL point cloud processing (51)
山东大学软件学院项目实训-创新实训-网络安全靶场实验平台(七)
DNS cloud school | quickly locate DNS resolution exceptions and keep these four DNS status codes in mind
Sqoop imports tinyint type fields to boolean type
随机推荐
NC basic usage 2
网络通信基础(局域网、广域网、IP地址、端口号、协议、封装、分用)
Redis installation (centos7 command line installation)
SQL Server Connectors By Thread Pool | DTSQLServerTP 插件使用说明
【文本分类案例】(4) RNN、LSTM 电影评价倾向分类,附TensorFlow完整代码
【2022】将3D目标检测看作序列预测-Point2Seq: Detecting 3D Objects as Sequences
CVPR 2022 | QueryDet:使用级联稀疏query加速高分辨率下的小目标检测
使用 WPAD/PAC 和 JScript在win11中进行远程代码执行1
DTMF双音多频信号仿真演示系统
An error is reported in the initialization metadata of the dolphin scheduler -- it turns out that there is a special symbol in the password. "$“
NC basic usage 1
Mysql database - single table query (III)
R language ggplot2 visualization: ggplot2 visualizes the scatter diagram and uses geom_ mark_ The ellipse function adds ellipses around data points of data clusters or data groups for annotation
Intersection calculation of straight line and plane in PCL point cloud processing (53)
DNS cloud school | quickly locate DNS resolution exceptions and keep these four DNS status codes in mind
Comment créer un pass BEP - 20 sur la chaîne BNB
How to protect ECs from hacker attacks?
Vericrypt file hard disk encryption tutorial
Notes of Tang Shu's grammar class in postgraduate entrance examination English
【问题解决】‘ascii‘ codec can‘t encode characters in position xx-xx: ordinal not in range(128)