当前位置:网站首页>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
边栏推荐
- 记录:调用mapper报空指针;<foreach>不去重的用法;
- Intersection calculation of straight line and plane in PCL point cloud processing (53)
- aqs的学习
- Notes of Tang Shu's grammar class in postgraduate entrance examination English
- PCA based geometric feature calculation of PCL point cloud processing (52)
- R语言使用timeROC包计算存在竞争风险情况下的生存资料多时间AUC值、使用cox模型、并添加协变量、R语言使用timeROC包的plotAUCcurve函数可视化多时间生存资料的AUC曲线
- 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
- How to protect ECs from hacker attacks?
- Paper writing 19: the difference between conference papers and journal papers
- 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.
猜你喜欢

PIP installation package reports an error. Could not find a version that satisfies the requirement pymysql (from versions: none)

考研英语唐叔的语法课笔记

AQS learning

antd dropdown + modal + textarea导致的textarea光标不可被键盘控制问题

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

网络通信基础(局域网、广域网、IP地址、端口号、协议、封装、分用)

What is the difference between a host and a server?

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.

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

SQL Server Connectors By Thread Pool | DTSQLServerTP plugin instructions
随机推荐
渤海期货这家公司怎么样。期货开户办理安全?
R语言ggplot2可视化分面图(facet_wrap)、使用lineheight参数自定义设置分面图标签栏(灰色标签栏)的高度
山东大学软件学院项目实训-创新实训-网络安全靶场实验平台(六)
Remote code execution in Win 11 using wpad / PAC and JScript 3
selenium.common.exceptions.WebDriverException: Message: ‘chromedriver‘ executable needs to be in PAT
Mysql database backup scheme
PCL点云处理之计算两平面交线(五十一)
Use the rolling division method to find the maximum common divisor of two numbers
PIP installation package reports an error. Could not find a version that satisfies the requirement pymysql (from versions: none)
腾讯邱东洋:深度模型推理加速的术与道
Electron入门教程3 ——进程通信
LeetCode异或运算
php参考手册String(7.2千字)
Unity general steps for creating a hyper realistic 3D scene
Software College of Shandong University Project Training - Innovation Training - network security shooting range experimental platform (8)
考研英语唐叔的语法课笔记
. Ren -- the intimate artifact in the field of vertical Recruitment!
[talkative cloud native] load balancing - the passenger flow of small restaurants has increased
Project training of Software College of Shandong University - Innovation Training - network security shooting range experimental platform (VII)
WordPress plug-in: WP CHINA Yes solution to slow domestic access to the official website