当前位置:网站首页>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
边栏推荐
- Understanding various team patterns in scrum patterns
- 如何在BNB鏈上創建BEP-20通證
- An error is reported in the initialization metadata of the dolphin scheduler -- it turns out that there is a special symbol in the password. "$“
- Mysql database backup scheme
- R语言使用timeROC包计算存在竞争风险情况下的生存资料多时间AUC值、使用cox模型、并添加协变量、R语言使用timeROC包的plotAUCcurve函数可视化多时间生存资料的AUC曲线
- Redis cache penetration, cache breakdown, cache avalanche
- Leetcode dynamic planning training camp (1-5 days)
- Handwritten Google's first generation distributed computing framework MapReduce
- JDBC database addition, deletion, query and modification tool class
- redis 分布式锁
猜你喜欢
Computing the intersection of two planes in PCL point cloud processing (51)
山东大学软件学院项目实训-创新实训-网络安全靶场实验平台(七)
PIP installation package reports an error. Could not find a version that satisfies the requirement pymysql (from versions: none)
SIGIR'22 "Microsoft" CTR estimation: using context information to promote feature representation learning
Compact CUDA tutorial - CUDA driver API
Notes of Tang Shu's grammar class in postgraduate entrance examination English
Building the tide, building the foundation and winning the future -- the successful holding of zdns Partner Conference
Don't bother tensorflow learning notes (10-12) -- Constructing a simple neural network and its visualization
An error is reported when sqoop imports data from Mysql to HDFS: sqlexception in nextkeyvalue
Building googlenet neural network based on pytorch for flower recognition
随机推荐
记录:调用mapper报空指针;<foreach>不去重的用法;
【数值预测案例】(3) LSTM 时间序列电量预测,附Tensorflow完整代码
[text classification cases] (4) RNN and LSTM film evaluation Tendency Classification, with tensorflow complete code attached
nc基础用法3
R语言ggplot2可视化分面图(facet_wrap)、使用lineheight参数自定义设置分面图标签栏(灰色标签栏)的高度
Kubernetes introduction to mastery - ktconnect (full name: kubernetes toolkit connect) is a small tool based on kubernetes environment to improve the efficiency of local test joint debugging.
Redis installation (centos7 command line installation)
R language uses econocrats package to create microeconomic or macroeconomic map, visualize indifference function indifference curve, customize calculation intersection, and customize the parameters of
【2022】将3D目标检测看作序列预测-Point2Seq: Detecting 3D Objects as Sequences
【文本分类案例】(4) RNN、LSTM 电影评价倾向分类,附TensorFlow完整代码
LeetCode动态规划训练营(1~5天)
腾讯邱东洋:深度模型推理加速的术与道
MySQL 进阶 锁 -- MySQL锁概述、MySQL锁的分类:全局锁(数据备份)、表级锁(表共享读锁、表独占写锁、元数据锁、意向锁)、行级锁(行锁、间隙锁、临键锁)
Handwritten Google's first generation distributed computing framework MapReduce
Building the tide, building the foundation and winning the future -- the successful holding of zdns Partner Conference
Record: call mapper to report null pointer Foreach > the usage of not removing repetition;
R language ggplot2 visual facet_wrap, and use the lineheight parameter to customize the height of the facet icon tab (gray label bar)
Error reported by Azkaban: Azkaban jobExecutor. utils. process. ProcessFailureException: Process exited with code 127
SQL Server Connectors By Thread Pool | DTSQLServerTP plugin instructions
Introduction to electron tutorial 3 - process communication