├── README.md
├── 摄像头调试助手
└── wildfire_MultiFuctionalSerial_assistant
│ ├── nmeaLib
│ ├── src
│ │ ├── tok.c
│ │ ├── info.c
│ │ ├── parser.c
│ │ ├── sentence.c
│ │ ├── time.c
│ │ └── context.c
│ └── include
│ │ └── nmea
│ │ ├── nmeaLib.h
│ │ ├── nmea.h
│ │ ├── tok.h
│ │ ├── units.h
│ │ ├── context.h
│ │ ├── time.h
│ │ ├── parse.h
│ │ ├── config.h
│ │ ├── stdafx.h
│ │ ├── parser.h
│ │ ├── generate.h
│ │ ├── generator.h
│ │ └── gmath.h
│ ├── wildfire_MultiFuctionalSerial_assistant
│ ├── wildfireLogo.ico
│ ├── App.config
│ ├── Properties
│ │ ├── Settings.settings
│ │ ├── Settings.Designer.cs
│ │ ├── AssemblyInfo.cs
│ │ └── Resources.Designer.cs
│ ├── App.xaml
│ ├── App.xaml.cs
│ ├── Fourm.xaml
│ ├── MainWindow.xaml
│ ├── MainWindow.xaml.cs
│ └── Fourm
│ │ ├── Fourm.xaml
│ │ └── Fourm.xaml.cs
│ └── wildfire_MultiFuctionalSerial_assistant.sln
├── 网络调试助手
└── wildfire_MultiFuctionalSerial_assistant
│ ├── nmeaLib
│ ├── src
│ │ ├── info.c
│ │ ├── tok.c
│ │ ├── parser.c
│ │ ├── sentence.c
│ │ ├── time.c
│ │ └── context.c
│ └── include
│ │ └── nmea
│ │ ├── nmeaLib.h
│ │ ├── nmea.h
│ │ ├── tok.h
│ │ ├── units.h
│ │ ├── context.h
│ │ ├── time.h
│ │ ├── parse.h
│ │ ├── config.h
│ │ ├── stdafx.h
│ │ ├── parser.h
│ │ ├── generate.h
│ │ ├── generator.h
│ │ └── gmath.h
│ ├── wildfire_MultiFuctionalSerial_assistant
│ ├── wildfireLogo.ico
│ ├── App.config
│ ├── Properties
│ │ ├── Settings.settings
│ │ ├── Settings.Designer.cs
│ │ ├── AssemblyInfo.cs
│ │ └── Resources.Designer.cs
│ ├── App.xaml
│ ├── App.xaml.cs
│ ├── Fourm.xaml
│ ├── MainWindow.xaml
│ ├── MainWindow.xaml.cs
│ └── Fourm
│ │ ├── Fourm.xaml
│ │ └── Fourm.xaml.cs
│ └── wildfire_MultiFuctionalSerial_assistant.sln
├── 多功能串口调试助手
└── wildfire_MultiFuctionalSerial_assistant
│ ├── nmeaLib
│ ├── src
│ │ ├── tok.c
│ │ ├── info.c
│ │ ├── parser.c
│ │ ├── sentence.c
│ │ ├── time.c
│ │ └── context.c
│ └── include
│ │ └── nmea
│ │ ├── nmeaLib.h
│ │ ├── nmea.h
│ │ ├── tok.h
│ │ ├── units.h
│ │ ├── context.h
│ │ ├── time.h
│ │ ├── parse.h
│ │ ├── config.h
│ │ ├── stdafx.h
│ │ ├── parser.h
│ │ ├── generate.h
│ │ ├── generator.h
│ │ └── gmath.h
│ ├── wildfire_MultiFuctionalSerial_assistant
│ ├── wildfireLogo.ico
│ ├── App.config
│ ├── Properties
│ │ ├── Settings.settings
│ │ ├── Settings.Designer.cs
│ │ ├── AssemblyInfo.cs
│ │ └── Resources.Designer.cs
│ ├── App.xaml
│ ├── App.xaml.cs
│ ├── MainWindow.xaml
│ ├── Fourm.xaml
│ ├── MainWindow.xaml.cs
│ └── Fourm
│ │ ├── Fourm.xaml
│ │ └── Fourm.xaml.cs
│ └── wildfire_MultiFuctionalSerial_assistant.sln
├── 独立串口调试助手
└── wildfire_MultiFuctionalSerial_assistant
│ ├── nmeaLib
│ ├── src
│ │ ├── info.c
│ │ ├── tok.c
│ │ ├── parser.c
│ │ ├── sentence.c
│ │ ├── time.c
│ │ └── context.c
│ └── include
│ │ └── nmea
│ │ ├── nmeaLib.h
│ │ ├── nmea.h
│ │ ├── tok.h
│ │ ├── units.h
│ │ ├── context.h
│ │ ├── time.h
│ │ ├── parse.h
│ │ ├── config.h
│ │ ├── stdafx.h
│ │ ├── parser.h
│ │ ├── generate.h
│ │ ├── generator.h
│ │ └── gmath.h
│ ├── wildfire_MultiFuctionalSerial_assistant
│ ├── wildfireLogo.ico
│ ├── App.config
│ ├── Properties
│ │ ├── Settings.settings
│ │ ├── Settings.Designer.cs
│ │ ├── AssemblyInfo.cs
│ │ └── Resources.Designer.cs
│ ├── App.xaml
│ ├── App.xaml.cs
│ ├── Fourm.xaml
│ ├── MainWindow.xaml
│ ├── Fourm
│ │ ├── Fourm.xaml
│ │ └── Fourm.xaml.cs
│ └── MainWindow.xaml.cs
│ └── wildfire_MultiFuctionalSerial_assistant.sln
└── 摄像头调试助手 -单帧字节数版本
└── wildfire_MultiFuctionalSerial_assistant
├── nmeaLib
├── src
│ ├── info.c
│ ├── tok.c
│ ├── parser.c
│ ├── sentence.c
│ ├── time.c
│ └── context.c
└── include
│ └── nmea
│ ├── nmeaLib.h
│ ├── nmea.h
│ ├── tok.h
│ ├── units.h
│ ├── context.h
│ ├── time.h
│ ├── parse.h
│ ├── config.h
│ ├── stdafx.h
│ ├── parser.h
│ ├── generate.h
│ ├── generator.h
│ └── gmath.h
├── wildfire_MultiFuctionalSerial_assistant
├── wildfireLogo.ico
├── App.config
├── Properties
│ ├── Settings.settings
│ ├── Settings.Designer.cs
│ ├── AssemblyInfo.cs
│ └── Resources.Designer.cs
├── App.xaml
├── App.xaml.cs
├── Fourm.xaml
├── MainWindow.xaml
├── MainWindow.xaml.cs
└── Fourm
│ ├── Fourm.xaml
│ └── Fourm.xaml.cs
└── wildfire_MultiFuctionalSerial_assistant.sln
/README.md:
--------------------------------------------------------------------------------
1 | #本串口是C#开发 为野火原创作品
--------------------------------------------------------------------------------
/摄像头调试助手/wildfire_MultiFuctionalSerial_assistant/nmeaLib/src/tok.c:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cyysu/Serial/HEAD/摄像头调试助手/wildfire_MultiFuctionalSerial_assistant/nmeaLib/src/tok.c
--------------------------------------------------------------------------------
/网络调试助手/wildfire_MultiFuctionalSerial_assistant/nmeaLib/src/info.c:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cyysu/Serial/HEAD/网络调试助手/wildfire_MultiFuctionalSerial_assistant/nmeaLib/src/info.c
--------------------------------------------------------------------------------
/网络调试助手/wildfire_MultiFuctionalSerial_assistant/nmeaLib/src/tok.c:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cyysu/Serial/HEAD/网络调试助手/wildfire_MultiFuctionalSerial_assistant/nmeaLib/src/tok.c
--------------------------------------------------------------------------------
/多功能串口调试助手/wildfire_MultiFuctionalSerial_assistant/nmeaLib/src/tok.c:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cyysu/Serial/HEAD/多功能串口调试助手/wildfire_MultiFuctionalSerial_assistant/nmeaLib/src/tok.c
--------------------------------------------------------------------------------
/摄像头调试助手/wildfire_MultiFuctionalSerial_assistant/nmeaLib/src/info.c:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cyysu/Serial/HEAD/摄像头调试助手/wildfire_MultiFuctionalSerial_assistant/nmeaLib/src/info.c
--------------------------------------------------------------------------------
/独立串口调试助手/wildfire_MultiFuctionalSerial_assistant/nmeaLib/src/info.c:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cyysu/Serial/HEAD/独立串口调试助手/wildfire_MultiFuctionalSerial_assistant/nmeaLib/src/info.c
--------------------------------------------------------------------------------
/独立串口调试助手/wildfire_MultiFuctionalSerial_assistant/nmeaLib/src/tok.c:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cyysu/Serial/HEAD/独立串口调试助手/wildfire_MultiFuctionalSerial_assistant/nmeaLib/src/tok.c
--------------------------------------------------------------------------------
/网络调试助手/wildfire_MultiFuctionalSerial_assistant/nmeaLib/src/parser.c:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cyysu/Serial/HEAD/网络调试助手/wildfire_MultiFuctionalSerial_assistant/nmeaLib/src/parser.c
--------------------------------------------------------------------------------
/多功能串口调试助手/wildfire_MultiFuctionalSerial_assistant/nmeaLib/src/info.c:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cyysu/Serial/HEAD/多功能串口调试助手/wildfire_MultiFuctionalSerial_assistant/nmeaLib/src/info.c
--------------------------------------------------------------------------------
/多功能串口调试助手/wildfire_MultiFuctionalSerial_assistant/nmeaLib/src/parser.c:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cyysu/Serial/HEAD/多功能串口调试助手/wildfire_MultiFuctionalSerial_assistant/nmeaLib/src/parser.c
--------------------------------------------------------------------------------
/摄像头调试助手/wildfire_MultiFuctionalSerial_assistant/nmeaLib/src/parser.c:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cyysu/Serial/HEAD/摄像头调试助手/wildfire_MultiFuctionalSerial_assistant/nmeaLib/src/parser.c
--------------------------------------------------------------------------------
/独立串口调试助手/wildfire_MultiFuctionalSerial_assistant/nmeaLib/src/parser.c:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cyysu/Serial/HEAD/独立串口调试助手/wildfire_MultiFuctionalSerial_assistant/nmeaLib/src/parser.c
--------------------------------------------------------------------------------
/摄像头调试助手 -单帧字节数版本/wildfire_MultiFuctionalSerial_assistant/nmeaLib/src/info.c:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cyysu/Serial/HEAD/摄像头调试助手 -单帧字节数版本/wildfire_MultiFuctionalSerial_assistant/nmeaLib/src/info.c
--------------------------------------------------------------------------------
/摄像头调试助手 -单帧字节数版本/wildfire_MultiFuctionalSerial_assistant/nmeaLib/src/tok.c:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cyysu/Serial/HEAD/摄像头调试助手 -单帧字节数版本/wildfire_MultiFuctionalSerial_assistant/nmeaLib/src/tok.c
--------------------------------------------------------------------------------
/摄像头调试助手 -单帧字节数版本/wildfire_MultiFuctionalSerial_assistant/nmeaLib/src/parser.c:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cyysu/Serial/HEAD/摄像头调试助手 -单帧字节数版本/wildfire_MultiFuctionalSerial_assistant/nmeaLib/src/parser.c
--------------------------------------------------------------------------------
/网络调试助手/wildfire_MultiFuctionalSerial_assistant/nmeaLib/include/nmea/nmeaLib.h:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | //extern "C" __declspec(dllexport) double nmea_degree2radian(double val);
7 |
8 |
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/多功能串口调试助手/wildfire_MultiFuctionalSerial_assistant/nmeaLib/include/nmea/nmeaLib.h:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | //extern "C" __declspec(dllexport) double nmea_degree2radian(double val);
7 |
8 |
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/摄像头调试助手/wildfire_MultiFuctionalSerial_assistant/nmeaLib/include/nmea/nmeaLib.h:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | //extern "C" __declspec(dllexport) double nmea_degree2radian(double val);
7 |
8 |
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/独立串口调试助手/wildfire_MultiFuctionalSerial_assistant/nmeaLib/include/nmea/nmeaLib.h:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | //extern "C" __declspec(dllexport) double nmea_degree2radian(double val);
7 |
8 |
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/摄像头调试助手 -单帧字节数版本/wildfire_MultiFuctionalSerial_assistant/nmeaLib/include/nmea/nmeaLib.h:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | //extern "C" __declspec(dllexport) double nmea_degree2radian(double val);
7 |
8 |
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/摄像头调试助手/wildfire_MultiFuctionalSerial_assistant/wildfire_MultiFuctionalSerial_assistant/wildfireLogo.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cyysu/Serial/HEAD/摄像头调试助手/wildfire_MultiFuctionalSerial_assistant/wildfire_MultiFuctionalSerial_assistant/wildfireLogo.ico
--------------------------------------------------------------------------------
/独立串口调试助手/wildfire_MultiFuctionalSerial_assistant/wildfire_MultiFuctionalSerial_assistant/wildfireLogo.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cyysu/Serial/HEAD/独立串口调试助手/wildfire_MultiFuctionalSerial_assistant/wildfire_MultiFuctionalSerial_assistant/wildfireLogo.ico
--------------------------------------------------------------------------------
/网络调试助手/wildfire_MultiFuctionalSerial_assistant/wildfire_MultiFuctionalSerial_assistant/wildfireLogo.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cyysu/Serial/HEAD/网络调试助手/wildfire_MultiFuctionalSerial_assistant/wildfire_MultiFuctionalSerial_assistant/wildfireLogo.ico
--------------------------------------------------------------------------------
/多功能串口调试助手/wildfire_MultiFuctionalSerial_assistant/wildfire_MultiFuctionalSerial_assistant/wildfireLogo.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cyysu/Serial/HEAD/多功能串口调试助手/wildfire_MultiFuctionalSerial_assistant/wildfire_MultiFuctionalSerial_assistant/wildfireLogo.ico
--------------------------------------------------------------------------------
/摄像头调试助手 -单帧字节数版本/wildfire_MultiFuctionalSerial_assistant/wildfire_MultiFuctionalSerial_assistant/wildfireLogo.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cyysu/Serial/HEAD/摄像头调试助手 -单帧字节数版本/wildfire_MultiFuctionalSerial_assistant/wildfire_MultiFuctionalSerial_assistant/wildfireLogo.ico
--------------------------------------------------------------------------------
/多功能串口调试助手/wildfire_MultiFuctionalSerial_assistant/wildfire_MultiFuctionalSerial_assistant/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/摄像头调试助手/wildfire_MultiFuctionalSerial_assistant/wildfire_MultiFuctionalSerial_assistant/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/独立串口调试助手/wildfire_MultiFuctionalSerial_assistant/wildfire_MultiFuctionalSerial_assistant/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/网络调试助手/wildfire_MultiFuctionalSerial_assistant/wildfire_MultiFuctionalSerial_assistant/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/摄像头调试助手 -单帧字节数版本/wildfire_MultiFuctionalSerial_assistant/wildfire_MultiFuctionalSerial_assistant/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/摄像头调试助手/wildfire_MultiFuctionalSerial_assistant/wildfire_MultiFuctionalSerial_assistant/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/独立串口调试助手/wildfire_MultiFuctionalSerial_assistant/wildfire_MultiFuctionalSerial_assistant/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/网络调试助手/wildfire_MultiFuctionalSerial_assistant/wildfire_MultiFuctionalSerial_assistant/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/多功能串口调试助手/wildfire_MultiFuctionalSerial_assistant/wildfire_MultiFuctionalSerial_assistant/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/摄像头调试助手 -单帧字节数版本/wildfire_MultiFuctionalSerial_assistant/wildfire_MultiFuctionalSerial_assistant/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/摄像头调试助手/wildfire_MultiFuctionalSerial_assistant/wildfire_MultiFuctionalSerial_assistant/App.xaml:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/独立串口调试助手/wildfire_MultiFuctionalSerial_assistant/wildfire_MultiFuctionalSerial_assistant/App.xaml:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/网络调试助手/wildfire_MultiFuctionalSerial_assistant/wildfire_MultiFuctionalSerial_assistant/App.xaml:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/多功能串口调试助手/wildfire_MultiFuctionalSerial_assistant/wildfire_MultiFuctionalSerial_assistant/App.xaml:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/摄像头调试助手 -单帧字节数版本/wildfire_MultiFuctionalSerial_assistant/wildfire_MultiFuctionalSerial_assistant/App.xaml:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/多功能串口调试助手/wildfire_MultiFuctionalSerial_assistant/wildfire_MultiFuctionalSerial_assistant/App.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Configuration;
4 | using System.Data;
5 | using System.Linq;
6 | using System.Threading.Tasks;
7 | using System.Windows;
8 |
9 | namespace wildfire_MultiFuctionalSerial_assistant
10 | {
11 | ///
12 | /// App.xaml 的交互逻辑
13 | ///
14 | public partial class App : Application
15 | {
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/摄像头调试助手/wildfire_MultiFuctionalSerial_assistant/wildfire_MultiFuctionalSerial_assistant/App.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Configuration;
4 | using System.Data;
5 | using System.Linq;
6 | using System.Threading.Tasks;
7 | using System.Windows;
8 |
9 | namespace wildfire_MultiFuctionalSerial_assistant
10 | {
11 | ///
12 | /// App.xaml 的交互逻辑
13 | ///
14 | public partial class App : Application
15 | {
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/独立串口调试助手/wildfire_MultiFuctionalSerial_assistant/wildfire_MultiFuctionalSerial_assistant/App.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Configuration;
4 | using System.Data;
5 | using System.Linq;
6 | using System.Threading.Tasks;
7 | using System.Windows;
8 |
9 | namespace wildfire_MultiFuctionalSerial_assistant
10 | {
11 | ///
12 | /// App.xaml 的交互逻辑
13 | ///
14 | public partial class App : Application
15 | {
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/网络调试助手/wildfire_MultiFuctionalSerial_assistant/wildfire_MultiFuctionalSerial_assistant/App.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Configuration;
4 | using System.Data;
5 | using System.Linq;
6 | using System.Threading.Tasks;
7 | using System.Windows;
8 |
9 | namespace wildfire_MultiFuctionalSerial_assistant
10 | {
11 | ///
12 | /// App.xaml 的交互逻辑
13 | ///
14 | public partial class App : Application
15 | {
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/摄像头调试助手 -单帧字节数版本/wildfire_MultiFuctionalSerial_assistant/wildfire_MultiFuctionalSerial_assistant/App.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Configuration;
4 | using System.Data;
5 | using System.Linq;
6 | using System.Threading.Tasks;
7 | using System.Windows;
8 |
9 | namespace wildfire_MultiFuctionalSerial_assistant
10 | {
11 | ///
12 | /// App.xaml 的交互逻辑
13 | ///
14 | public partial class App : Application
15 | {
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/多功能串口调试助手/wildfire_MultiFuctionalSerial_assistant/nmeaLib/include/nmea/nmea.h:
--------------------------------------------------------------------------------
1 | /*
2 | *
3 | * NMEA library
4 | * URL: http://nmea.sourceforge.net
5 | * Author: Tim (xtimor@gmail.com)
6 | * Licence: http://www.gnu.org/licenses/lgpl.html
7 | * $Id: nmea.h 17 2008-03-11 11:56:11Z xtimor $
8 | *
9 | */
10 |
11 | #ifndef __NMEA_H__
12 | #define __NMEA_H__
13 |
14 | #include "./config.h"
15 | #include "./units.h"
16 | #include "./gmath.h"
17 | #include "./info.h"
18 | #include "./sentence.h"
19 | #include "./generate.h"
20 | #include "./generator.h"
21 | #include "./parse.h"
22 | #include "./parser.h"
23 | #include "./context.h"
24 |
25 | #endif /* __NMEA_H__ */
26 |
--------------------------------------------------------------------------------
/摄像头调试助手/wildfire_MultiFuctionalSerial_assistant/nmeaLib/include/nmea/nmea.h:
--------------------------------------------------------------------------------
1 | /*
2 | *
3 | * NMEA library
4 | * URL: http://nmea.sourceforge.net
5 | * Author: Tim (xtimor@gmail.com)
6 | * Licence: http://www.gnu.org/licenses/lgpl.html
7 | * $Id: nmea.h 17 2008-03-11 11:56:11Z xtimor $
8 | *
9 | */
10 |
11 | #ifndef __NMEA_H__
12 | #define __NMEA_H__
13 |
14 | #include "./config.h"
15 | #include "./units.h"
16 | #include "./gmath.h"
17 | #include "./info.h"
18 | #include "./sentence.h"
19 | #include "./generate.h"
20 | #include "./generator.h"
21 | #include "./parse.h"
22 | #include "./parser.h"
23 | #include "./context.h"
24 |
25 | #endif /* __NMEA_H__ */
26 |
--------------------------------------------------------------------------------
/独立串口调试助手/wildfire_MultiFuctionalSerial_assistant/nmeaLib/include/nmea/nmea.h:
--------------------------------------------------------------------------------
1 | /*
2 | *
3 | * NMEA library
4 | * URL: http://nmea.sourceforge.net
5 | * Author: Tim (xtimor@gmail.com)
6 | * Licence: http://www.gnu.org/licenses/lgpl.html
7 | * $Id: nmea.h 17 2008-03-11 11:56:11Z xtimor $
8 | *
9 | */
10 |
11 | #ifndef __NMEA_H__
12 | #define __NMEA_H__
13 |
14 | #include "./config.h"
15 | #include "./units.h"
16 | #include "./gmath.h"
17 | #include "./info.h"
18 | #include "./sentence.h"
19 | #include "./generate.h"
20 | #include "./generator.h"
21 | #include "./parse.h"
22 | #include "./parser.h"
23 | #include "./context.h"
24 |
25 | #endif /* __NMEA_H__ */
26 |
--------------------------------------------------------------------------------
/网络调试助手/wildfire_MultiFuctionalSerial_assistant/nmeaLib/include/nmea/nmea.h:
--------------------------------------------------------------------------------
1 | /*
2 | *
3 | * NMEA library
4 | * URL: http://nmea.sourceforge.net
5 | * Author: Tim (xtimor@gmail.com)
6 | * Licence: http://www.gnu.org/licenses/lgpl.html
7 | * $Id: nmea.h 17 2008-03-11 11:56:11Z xtimor $
8 | *
9 | */
10 |
11 | #ifndef __NMEA_H__
12 | #define __NMEA_H__
13 |
14 | #include "./config.h"
15 | #include "./units.h"
16 | #include "./gmath.h"
17 | #include "./info.h"
18 | #include "./sentence.h"
19 | #include "./generate.h"
20 | #include "./generator.h"
21 | #include "./parse.h"
22 | #include "./parser.h"
23 | #include "./context.h"
24 |
25 | #endif /* __NMEA_H__ */
26 |
--------------------------------------------------------------------------------
/摄像头调试助手 -单帧字节数版本/wildfire_MultiFuctionalSerial_assistant/nmeaLib/include/nmea/nmea.h:
--------------------------------------------------------------------------------
1 | /*
2 | *
3 | * NMEA library
4 | * URL: http://nmea.sourceforge.net
5 | * Author: Tim (xtimor@gmail.com)
6 | * Licence: http://www.gnu.org/licenses/lgpl.html
7 | * $Id: nmea.h 17 2008-03-11 11:56:11Z xtimor $
8 | *
9 | */
10 |
11 | #ifndef __NMEA_H__
12 | #define __NMEA_H__
13 |
14 | #include "./config.h"
15 | #include "./units.h"
16 | #include "./gmath.h"
17 | #include "./info.h"
18 | #include "./sentence.h"
19 | #include "./generate.h"
20 | #include "./generator.h"
21 | #include "./parse.h"
22 | #include "./parser.h"
23 | #include "./context.h"
24 |
25 | #endif /* __NMEA_H__ */
26 |
--------------------------------------------------------------------------------
/摄像头调试助手/wildfire_MultiFuctionalSerial_assistant/nmeaLib/include/nmea/tok.h:
--------------------------------------------------------------------------------
1 | /*
2 | *
3 | * NMEA library
4 | * URL: http://nmea.sourceforge.net
5 | * Author: Tim (xtimor@gmail.com)
6 | * Licence: http://www.gnu.org/licenses/lgpl.html
7 | * $Id: tok.h 4 2007-08-27 13:11:03Z xtimor $
8 | *
9 | */
10 |
11 | #ifndef __NMEA_TOK_H__
12 | #define __NMEA_TOK_H__
13 |
14 | #include "config.h"
15 |
16 | #ifdef __cplusplus
17 | extern "C" {
18 | #endif
19 |
20 | int nmea_calc_crc(const char *buff, int buff_sz);
21 | int nmea_atoi(const char *str, int str_sz, int radix);
22 | double nmea_atof(const char *str, int str_sz);
23 | int nmea_printf(char *buff, int buff_sz, const char *format, ...);
24 | int nmea_scanf(const char *buff, int buff_sz, const char *format, ...);
25 |
26 | #ifdef __cplusplus
27 | }
28 | #endif
29 |
30 | #endif /* __NMEA_TOK_H__ */
31 |
--------------------------------------------------------------------------------
/独立串口调试助手/wildfire_MultiFuctionalSerial_assistant/nmeaLib/include/nmea/tok.h:
--------------------------------------------------------------------------------
1 | /*
2 | *
3 | * NMEA library
4 | * URL: http://nmea.sourceforge.net
5 | * Author: Tim (xtimor@gmail.com)
6 | * Licence: http://www.gnu.org/licenses/lgpl.html
7 | * $Id: tok.h 4 2007-08-27 13:11:03Z xtimor $
8 | *
9 | */
10 |
11 | #ifndef __NMEA_TOK_H__
12 | #define __NMEA_TOK_H__
13 |
14 | #include "config.h"
15 |
16 | #ifdef __cplusplus
17 | extern "C" {
18 | #endif
19 |
20 | int nmea_calc_crc(const char *buff, int buff_sz);
21 | int nmea_atoi(const char *str, int str_sz, int radix);
22 | double nmea_atof(const char *str, int str_sz);
23 | int nmea_printf(char *buff, int buff_sz, const char *format, ...);
24 | int nmea_scanf(const char *buff, int buff_sz, const char *format, ...);
25 |
26 | #ifdef __cplusplus
27 | }
28 | #endif
29 |
30 | #endif /* __NMEA_TOK_H__ */
31 |
--------------------------------------------------------------------------------
/网络调试助手/wildfire_MultiFuctionalSerial_assistant/nmeaLib/include/nmea/tok.h:
--------------------------------------------------------------------------------
1 | /*
2 | *
3 | * NMEA library
4 | * URL: http://nmea.sourceforge.net
5 | * Author: Tim (xtimor@gmail.com)
6 | * Licence: http://www.gnu.org/licenses/lgpl.html
7 | * $Id: tok.h 4 2007-08-27 13:11:03Z xtimor $
8 | *
9 | */
10 |
11 | #ifndef __NMEA_TOK_H__
12 | #define __NMEA_TOK_H__
13 |
14 | #include "config.h"
15 |
16 | #ifdef __cplusplus
17 | extern "C" {
18 | #endif
19 |
20 | int nmea_calc_crc(const char *buff, int buff_sz);
21 | int nmea_atoi(const char *str, int str_sz, int radix);
22 | double nmea_atof(const char *str, int str_sz);
23 | int nmea_printf(char *buff, int buff_sz, const char *format, ...);
24 | int nmea_scanf(const char *buff, int buff_sz, const char *format, ...);
25 |
26 | #ifdef __cplusplus
27 | }
28 | #endif
29 |
30 | #endif /* __NMEA_TOK_H__ */
31 |
--------------------------------------------------------------------------------
/多功能串口调试助手/wildfire_MultiFuctionalSerial_assistant/nmeaLib/include/nmea/tok.h:
--------------------------------------------------------------------------------
1 | /*
2 | *
3 | * NMEA library
4 | * URL: http://nmea.sourceforge.net
5 | * Author: Tim (xtimor@gmail.com)
6 | * Licence: http://www.gnu.org/licenses/lgpl.html
7 | * $Id: tok.h 4 2007-08-27 13:11:03Z xtimor $
8 | *
9 | */
10 |
11 | #ifndef __NMEA_TOK_H__
12 | #define __NMEA_TOK_H__
13 |
14 | #include "config.h"
15 |
16 | #ifdef __cplusplus
17 | extern "C" {
18 | #endif
19 |
20 | int nmea_calc_crc(const char *buff, int buff_sz);
21 | int nmea_atoi(const char *str, int str_sz, int radix);
22 | double nmea_atof(const char *str, int str_sz);
23 | int nmea_printf(char *buff, int buff_sz, const char *format, ...);
24 | int nmea_scanf(const char *buff, int buff_sz, const char *format, ...);
25 |
26 | #ifdef __cplusplus
27 | }
28 | #endif
29 |
30 | #endif /* __NMEA_TOK_H__ */
31 |
--------------------------------------------------------------------------------
/摄像头调试助手 -单帧字节数版本/wildfire_MultiFuctionalSerial_assistant/nmeaLib/include/nmea/tok.h:
--------------------------------------------------------------------------------
1 | /*
2 | *
3 | * NMEA library
4 | * URL: http://nmea.sourceforge.net
5 | * Author: Tim (xtimor@gmail.com)
6 | * Licence: http://www.gnu.org/licenses/lgpl.html
7 | * $Id: tok.h 4 2007-08-27 13:11:03Z xtimor $
8 | *
9 | */
10 |
11 | #ifndef __NMEA_TOK_H__
12 | #define __NMEA_TOK_H__
13 |
14 | #include "config.h"
15 |
16 | #ifdef __cplusplus
17 | extern "C" {
18 | #endif
19 |
20 | int nmea_calc_crc(const char *buff, int buff_sz);
21 | int nmea_atoi(const char *str, int str_sz, int radix);
22 | double nmea_atof(const char *str, int str_sz);
23 | int nmea_printf(char *buff, int buff_sz, const char *format, ...);
24 | int nmea_scanf(const char *buff, int buff_sz, const char *format, ...);
25 |
26 | #ifdef __cplusplus
27 | }
28 | #endif
29 |
30 | #endif /* __NMEA_TOK_H__ */
31 |
--------------------------------------------------------------------------------
/摄像头调试助手/wildfire_MultiFuctionalSerial_assistant/nmeaLib/include/nmea/units.h:
--------------------------------------------------------------------------------
1 | /*
2 | *
3 | * NMEA library
4 | * URL: http://nmea.sourceforge.net
5 | * Author: Tim (xtimor@gmail.com)
6 | * Licence: http://www.gnu.org/licenses/lgpl.html
7 | * $Id: units.h 4 2007-08-27 13:11:03Z xtimor $
8 | *
9 | */
10 |
11 | #ifndef __NMEA_UNITS_H__
12 | #define __NMEA_UNITS_H__
13 |
14 | #include "config.h"
15 |
16 | /*
17 | * Distance units
18 | */
19 |
20 | #define NMEA_TUD_YARDS (1.0936) /**< Yeards, meter * NMEA_TUD_YARDS = yard */
21 | #define NMEA_TUD_KNOTS (1.852) /**< Knots, kilometer / NMEA_TUD_KNOTS = knot */
22 | #define NMEA_TUD_MILES (1.609) /**< Miles, kilometer / NMEA_TUD_MILES = mile */
23 |
24 | /*
25 | * Speed units
26 | */
27 |
28 | #define NMEA_TUS_MS (3.6) /**< Meters per seconds, (k/h) / NMEA_TUS_MS= (m/s) */
29 |
30 | #endif /* __NMEA_UNITS_H__ */
31 |
--------------------------------------------------------------------------------
/网络调试助手/wildfire_MultiFuctionalSerial_assistant/nmeaLib/include/nmea/units.h:
--------------------------------------------------------------------------------
1 | /*
2 | *
3 | * NMEA library
4 | * URL: http://nmea.sourceforge.net
5 | * Author: Tim (xtimor@gmail.com)
6 | * Licence: http://www.gnu.org/licenses/lgpl.html
7 | * $Id: units.h 4 2007-08-27 13:11:03Z xtimor $
8 | *
9 | */
10 |
11 | #ifndef __NMEA_UNITS_H__
12 | #define __NMEA_UNITS_H__
13 |
14 | #include "config.h"
15 |
16 | /*
17 | * Distance units
18 | */
19 |
20 | #define NMEA_TUD_YARDS (1.0936) /**< Yeards, meter * NMEA_TUD_YARDS = yard */
21 | #define NMEA_TUD_KNOTS (1.852) /**< Knots, kilometer / NMEA_TUD_KNOTS = knot */
22 | #define NMEA_TUD_MILES (1.609) /**< Miles, kilometer / NMEA_TUD_MILES = mile */
23 |
24 | /*
25 | * Speed units
26 | */
27 |
28 | #define NMEA_TUS_MS (3.6) /**< Meters per seconds, (k/h) / NMEA_TUS_MS= (m/s) */
29 |
30 | #endif /* __NMEA_UNITS_H__ */
31 |
--------------------------------------------------------------------------------
/多功能串口调试助手/wildfire_MultiFuctionalSerial_assistant/nmeaLib/include/nmea/units.h:
--------------------------------------------------------------------------------
1 | /*
2 | *
3 | * NMEA library
4 | * URL: http://nmea.sourceforge.net
5 | * Author: Tim (xtimor@gmail.com)
6 | * Licence: http://www.gnu.org/licenses/lgpl.html
7 | * $Id: units.h 4 2007-08-27 13:11:03Z xtimor $
8 | *
9 | */
10 |
11 | #ifndef __NMEA_UNITS_H__
12 | #define __NMEA_UNITS_H__
13 |
14 | #include "config.h"
15 |
16 | /*
17 | * Distance units
18 | */
19 |
20 | #define NMEA_TUD_YARDS (1.0936) /**< Yeards, meter * NMEA_TUD_YARDS = yard */
21 | #define NMEA_TUD_KNOTS (1.852) /**< Knots, kilometer / NMEA_TUD_KNOTS = knot */
22 | #define NMEA_TUD_MILES (1.609) /**< Miles, kilometer / NMEA_TUD_MILES = mile */
23 |
24 | /*
25 | * Speed units
26 | */
27 |
28 | #define NMEA_TUS_MS (3.6) /**< Meters per seconds, (k/h) / NMEA_TUS_MS= (m/s) */
29 |
30 | #endif /* __NMEA_UNITS_H__ */
31 |
--------------------------------------------------------------------------------
/独立串口调试助手/wildfire_MultiFuctionalSerial_assistant/nmeaLib/include/nmea/units.h:
--------------------------------------------------------------------------------
1 | /*
2 | *
3 | * NMEA library
4 | * URL: http://nmea.sourceforge.net
5 | * Author: Tim (xtimor@gmail.com)
6 | * Licence: http://www.gnu.org/licenses/lgpl.html
7 | * $Id: units.h 4 2007-08-27 13:11:03Z xtimor $
8 | *
9 | */
10 |
11 | #ifndef __NMEA_UNITS_H__
12 | #define __NMEA_UNITS_H__
13 |
14 | #include "config.h"
15 |
16 | /*
17 | * Distance units
18 | */
19 |
20 | #define NMEA_TUD_YARDS (1.0936) /**< Yeards, meter * NMEA_TUD_YARDS = yard */
21 | #define NMEA_TUD_KNOTS (1.852) /**< Knots, kilometer / NMEA_TUD_KNOTS = knot */
22 | #define NMEA_TUD_MILES (1.609) /**< Miles, kilometer / NMEA_TUD_MILES = mile */
23 |
24 | /*
25 | * Speed units
26 | */
27 |
28 | #define NMEA_TUS_MS (3.6) /**< Meters per seconds, (k/h) / NMEA_TUS_MS= (m/s) */
29 |
30 | #endif /* __NMEA_UNITS_H__ */
31 |
--------------------------------------------------------------------------------
/摄像头调试助手 -单帧字节数版本/wildfire_MultiFuctionalSerial_assistant/nmeaLib/include/nmea/units.h:
--------------------------------------------------------------------------------
1 | /*
2 | *
3 | * NMEA library
4 | * URL: http://nmea.sourceforge.net
5 | * Author: Tim (xtimor@gmail.com)
6 | * Licence: http://www.gnu.org/licenses/lgpl.html
7 | * $Id: units.h 4 2007-08-27 13:11:03Z xtimor $
8 | *
9 | */
10 |
11 | #ifndef __NMEA_UNITS_H__
12 | #define __NMEA_UNITS_H__
13 |
14 | #include "config.h"
15 |
16 | /*
17 | * Distance units
18 | */
19 |
20 | #define NMEA_TUD_YARDS (1.0936) /**< Yeards, meter * NMEA_TUD_YARDS = yard */
21 | #define NMEA_TUD_KNOTS (1.852) /**< Knots, kilometer / NMEA_TUD_KNOTS = knot */
22 | #define NMEA_TUD_MILES (1.609) /**< Miles, kilometer / NMEA_TUD_MILES = mile */
23 |
24 | /*
25 | * Speed units
26 | */
27 |
28 | #define NMEA_TUS_MS (3.6) /**< Meters per seconds, (k/h) / NMEA_TUS_MS= (m/s) */
29 |
30 | #endif /* __NMEA_UNITS_H__ */
31 |
--------------------------------------------------------------------------------
/多功能串口调试助手/wildfire_MultiFuctionalSerial_assistant/nmeaLib/include/nmea/context.h:
--------------------------------------------------------------------------------
1 | /*
2 | *
3 | * NMEA library
4 | * URL: http://nmea.sourceforge.net
5 | * Author: Tim (xtimor@gmail.com)
6 | * Licence: http://www.gnu.org/licenses/lgpl.html
7 | * $Id: context.h 4 2007-08-27 13:11:03Z xtimor $
8 | *
9 | */
10 |
11 | #ifndef __NMEA_CONTEXT_H__
12 | #define __NMEA_CONTEXT_H__
13 |
14 | #include "config.h"
15 |
16 | #define NMEA_DEF_PARSEBUFF (1024)
17 | #define NMEA_MIN_PARSEBUFF (256)
18 |
19 | #ifdef __cplusplus
20 | extern "C" {
21 | #endif
22 |
23 | typedef void (*nmeaTraceFunc)(const char *str, int str_size);
24 | typedef void (*nmeaErrorFunc)(const char *str, int str_size);
25 |
26 | typedef struct _nmeaPROPERTY
27 | {
28 | nmeaTraceFunc trace_func;
29 | nmeaErrorFunc error_func;
30 | int parse_buff_size;
31 |
32 | } nmeaPROPERTY;
33 |
34 | nmeaPROPERTY * nmea_property();
35 |
36 | void nmea_trace(const char *str, ...);
37 | void nmea_trace_buff(const char *buff, int buff_size);
38 | void nmea_error(const char *str, ...);
39 |
40 | #ifdef __cplusplus
41 | }
42 | #endif
43 |
44 | #endif /* __NMEA_CONTEXT_H__ */
45 |
--------------------------------------------------------------------------------
/摄像头调试助手/wildfire_MultiFuctionalSerial_assistant/nmeaLib/include/nmea/context.h:
--------------------------------------------------------------------------------
1 | /*
2 | *
3 | * NMEA library
4 | * URL: http://nmea.sourceforge.net
5 | * Author: Tim (xtimor@gmail.com)
6 | * Licence: http://www.gnu.org/licenses/lgpl.html
7 | * $Id: context.h 4 2007-08-27 13:11:03Z xtimor $
8 | *
9 | */
10 |
11 | #ifndef __NMEA_CONTEXT_H__
12 | #define __NMEA_CONTEXT_H__
13 |
14 | #include "config.h"
15 |
16 | #define NMEA_DEF_PARSEBUFF (1024)
17 | #define NMEA_MIN_PARSEBUFF (256)
18 |
19 | #ifdef __cplusplus
20 | extern "C" {
21 | #endif
22 |
23 | typedef void (*nmeaTraceFunc)(const char *str, int str_size);
24 | typedef void (*nmeaErrorFunc)(const char *str, int str_size);
25 |
26 | typedef struct _nmeaPROPERTY
27 | {
28 | nmeaTraceFunc trace_func;
29 | nmeaErrorFunc error_func;
30 | int parse_buff_size;
31 |
32 | } nmeaPROPERTY;
33 |
34 | nmeaPROPERTY * nmea_property();
35 |
36 | void nmea_trace(const char *str, ...);
37 | void nmea_trace_buff(const char *buff, int buff_size);
38 | void nmea_error(const char *str, ...);
39 |
40 | #ifdef __cplusplus
41 | }
42 | #endif
43 |
44 | #endif /* __NMEA_CONTEXT_H__ */
45 |
--------------------------------------------------------------------------------
/独立串口调试助手/wildfire_MultiFuctionalSerial_assistant/nmeaLib/include/nmea/context.h:
--------------------------------------------------------------------------------
1 | /*
2 | *
3 | * NMEA library
4 | * URL: http://nmea.sourceforge.net
5 | * Author: Tim (xtimor@gmail.com)
6 | * Licence: http://www.gnu.org/licenses/lgpl.html
7 | * $Id: context.h 4 2007-08-27 13:11:03Z xtimor $
8 | *
9 | */
10 |
11 | #ifndef __NMEA_CONTEXT_H__
12 | #define __NMEA_CONTEXT_H__
13 |
14 | #include "config.h"
15 |
16 | #define NMEA_DEF_PARSEBUFF (1024)
17 | #define NMEA_MIN_PARSEBUFF (256)
18 |
19 | #ifdef __cplusplus
20 | extern "C" {
21 | #endif
22 |
23 | typedef void (*nmeaTraceFunc)(const char *str, int str_size);
24 | typedef void (*nmeaErrorFunc)(const char *str, int str_size);
25 |
26 | typedef struct _nmeaPROPERTY
27 | {
28 | nmeaTraceFunc trace_func;
29 | nmeaErrorFunc error_func;
30 | int parse_buff_size;
31 |
32 | } nmeaPROPERTY;
33 |
34 | nmeaPROPERTY * nmea_property();
35 |
36 | void nmea_trace(const char *str, ...);
37 | void nmea_trace_buff(const char *buff, int buff_size);
38 | void nmea_error(const char *str, ...);
39 |
40 | #ifdef __cplusplus
41 | }
42 | #endif
43 |
44 | #endif /* __NMEA_CONTEXT_H__ */
45 |
--------------------------------------------------------------------------------
/网络调试助手/wildfire_MultiFuctionalSerial_assistant/nmeaLib/include/nmea/context.h:
--------------------------------------------------------------------------------
1 | /*
2 | *
3 | * NMEA library
4 | * URL: http://nmea.sourceforge.net
5 | * Author: Tim (xtimor@gmail.com)
6 | * Licence: http://www.gnu.org/licenses/lgpl.html
7 | * $Id: context.h 4 2007-08-27 13:11:03Z xtimor $
8 | *
9 | */
10 |
11 | #ifndef __NMEA_CONTEXT_H__
12 | #define __NMEA_CONTEXT_H__
13 |
14 | #include "config.h"
15 |
16 | #define NMEA_DEF_PARSEBUFF (1024)
17 | #define NMEA_MIN_PARSEBUFF (256)
18 |
19 | #ifdef __cplusplus
20 | extern "C" {
21 | #endif
22 |
23 | typedef void (*nmeaTraceFunc)(const char *str, int str_size);
24 | typedef void (*nmeaErrorFunc)(const char *str, int str_size);
25 |
26 | typedef struct _nmeaPROPERTY
27 | {
28 | nmeaTraceFunc trace_func;
29 | nmeaErrorFunc error_func;
30 | int parse_buff_size;
31 |
32 | } nmeaPROPERTY;
33 |
34 | nmeaPROPERTY * nmea_property();
35 |
36 | void nmea_trace(const char *str, ...);
37 | void nmea_trace_buff(const char *buff, int buff_size);
38 | void nmea_error(const char *str, ...);
39 |
40 | #ifdef __cplusplus
41 | }
42 | #endif
43 |
44 | #endif /* __NMEA_CONTEXT_H__ */
45 |
--------------------------------------------------------------------------------
/摄像头调试助手 -单帧字节数版本/wildfire_MultiFuctionalSerial_assistant/nmeaLib/include/nmea/context.h:
--------------------------------------------------------------------------------
1 | /*
2 | *
3 | * NMEA library
4 | * URL: http://nmea.sourceforge.net
5 | * Author: Tim (xtimor@gmail.com)
6 | * Licence: http://www.gnu.org/licenses/lgpl.html
7 | * $Id: context.h 4 2007-08-27 13:11:03Z xtimor $
8 | *
9 | */
10 |
11 | #ifndef __NMEA_CONTEXT_H__
12 | #define __NMEA_CONTEXT_H__
13 |
14 | #include "config.h"
15 |
16 | #define NMEA_DEF_PARSEBUFF (1024)
17 | #define NMEA_MIN_PARSEBUFF (256)
18 |
19 | #ifdef __cplusplus
20 | extern "C" {
21 | #endif
22 |
23 | typedef void (*nmeaTraceFunc)(const char *str, int str_size);
24 | typedef void (*nmeaErrorFunc)(const char *str, int str_size);
25 |
26 | typedef struct _nmeaPROPERTY
27 | {
28 | nmeaTraceFunc trace_func;
29 | nmeaErrorFunc error_func;
30 | int parse_buff_size;
31 |
32 | } nmeaPROPERTY;
33 |
34 | nmeaPROPERTY * nmea_property();
35 |
36 | void nmea_trace(const char *str, ...);
37 | void nmea_trace_buff(const char *buff, int buff_size);
38 | void nmea_error(const char *str, ...);
39 |
40 | #ifdef __cplusplus
41 | }
42 | #endif
43 |
44 | #endif /* __NMEA_CONTEXT_H__ */
45 |
--------------------------------------------------------------------------------
/网络调试助手/wildfire_MultiFuctionalSerial_assistant/wildfire_MultiFuctionalSerial_assistant/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // 此代码由工具生成。
4 | // 运行时版本:4.0.30319.18444
5 | //
6 | // 对此文件的更改可能会导致不正确的行为,并且如果
7 | // 重新生成代码,这些更改将会丢失。
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace wildfire_MultiFuctionalSerial_assistant.Properties {
12 |
13 |
14 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
15 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "12.0.0.0")]
16 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
17 |
18 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
19 |
20 | public static Settings Default {
21 | get {
22 | return defaultInstance;
23 | }
24 | }
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/多功能串口调试助手/wildfire_MultiFuctionalSerial_assistant/wildfire_MultiFuctionalSerial_assistant/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // 此代码由工具生成。
4 | // 运行时版本:4.0.30319.18444
5 | //
6 | // 对此文件的更改可能会导致不正确的行为,并且如果
7 | // 重新生成代码,这些更改将会丢失。
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace wildfire_MultiFuctionalSerial_assistant.Properties {
12 |
13 |
14 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
15 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "12.0.0.0")]
16 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
17 |
18 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
19 |
20 | public static Settings Default {
21 | get {
22 | return defaultInstance;
23 | }
24 | }
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/摄像头调试助手/wildfire_MultiFuctionalSerial_assistant/wildfire_MultiFuctionalSerial_assistant/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // 此代码由工具生成。
4 | // 运行时版本:4.0.30319.18444
5 | //
6 | // 对此文件的更改可能会导致不正确的行为,并且如果
7 | // 重新生成代码,这些更改将会丢失。
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace wildfire_MultiFuctionalSerial_assistant.Properties {
12 |
13 |
14 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
15 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "12.0.0.0")]
16 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
17 |
18 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
19 |
20 | public static Settings Default {
21 | get {
22 | return defaultInstance;
23 | }
24 | }
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/独立串口调试助手/wildfire_MultiFuctionalSerial_assistant/wildfire_MultiFuctionalSerial_assistant/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // 此代码由工具生成。
4 | // 运行时版本:4.0.30319.18444
5 | //
6 | // 对此文件的更改可能会导致不正确的行为,并且如果
7 | // 重新生成代码,这些更改将会丢失。
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace wildfire_MultiFuctionalSerial_assistant.Properties {
12 |
13 |
14 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
15 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "12.0.0.0")]
16 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
17 |
18 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
19 |
20 | public static Settings Default {
21 | get {
22 | return defaultInstance;
23 | }
24 | }
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/摄像头调试助手 -单帧字节数版本/wildfire_MultiFuctionalSerial_assistant/wildfire_MultiFuctionalSerial_assistant/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // 此代码由工具生成。
4 | // 运行时版本:4.0.30319.18444
5 | //
6 | // 对此文件的更改可能会导致不正确的行为,并且如果
7 | // 重新生成代码,这些更改将会丢失。
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace wildfire_MultiFuctionalSerial_assistant.Properties {
12 |
13 |
14 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
15 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "12.0.0.0")]
16 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
17 |
18 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
19 |
20 | public static Settings Default {
21 | get {
22 | return defaultInstance;
23 | }
24 | }
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/网络调试助手/wildfire_MultiFuctionalSerial_assistant/nmeaLib/include/nmea/time.h:
--------------------------------------------------------------------------------
1 | /*
2 | *
3 | * NMEA library
4 | * URL: http://nmea.sourceforge.net
5 | * Author: Tim (xtimor@gmail.com)
6 | * Licence: http://www.gnu.org/licenses/lgpl.html
7 | * $Id: time.h 4 2007-08-27 13:11:03Z xtimor $
8 | *
9 | */
10 |
11 | /*! \file */
12 |
13 | #ifndef __NMEA_TIME_H__
14 | #define __NMEA_TIME_H__
15 |
16 | #include "config.h"
17 |
18 | #ifdef __cplusplus
19 | extern "C" {
20 | #endif
21 |
22 | /**
23 | * Date and time data
24 | * @see nmea_time_now
25 | */
26 | typedef struct _nmeaTIME
27 | {
28 | int year; /**< Years since 1900 */
29 | int mon; /**< Months since January - [0,11] */
30 | int day; /**< Day of the month - [1,31] */
31 | int hour; /**< Hours since midnight - [0,23] */
32 | int min; /**< Minutes after the hour - [0,59] */
33 | int sec; /**< Seconds after the minute - [0,59] */
34 | int hsec; /**< Hundredth part of second - [0,99] */
35 |
36 | } nmeaTIME;
37 |
38 | /**
39 | * \brief Get time now to nmeaTIME structure
40 | */
41 | void nmea_time_now(nmeaTIME *t);
42 |
43 | #ifdef __cplusplus
44 | }
45 | #endif
46 |
47 | #endif /* __NMEA_TIME_H__ */
48 |
--------------------------------------------------------------------------------
/多功能串口调试助手/wildfire_MultiFuctionalSerial_assistant/nmeaLib/include/nmea/time.h:
--------------------------------------------------------------------------------
1 | /*
2 | *
3 | * NMEA library
4 | * URL: http://nmea.sourceforge.net
5 | * Author: Tim (xtimor@gmail.com)
6 | * Licence: http://www.gnu.org/licenses/lgpl.html
7 | * $Id: time.h 4 2007-08-27 13:11:03Z xtimor $
8 | *
9 | */
10 |
11 | /*! \file */
12 |
13 | #ifndef __NMEA_TIME_H__
14 | #define __NMEA_TIME_H__
15 |
16 | #include "config.h"
17 |
18 | #ifdef __cplusplus
19 | extern "C" {
20 | #endif
21 |
22 | /**
23 | * Date and time data
24 | * @see nmea_time_now
25 | */
26 | typedef struct _nmeaTIME
27 | {
28 | int year; /**< Years since 1900 */
29 | int mon; /**< Months since January - [0,11] */
30 | int day; /**< Day of the month - [1,31] */
31 | int hour; /**< Hours since midnight - [0,23] */
32 | int min; /**< Minutes after the hour - [0,59] */
33 | int sec; /**< Seconds after the minute - [0,59] */
34 | int hsec; /**< Hundredth part of second - [0,99] */
35 |
36 | } nmeaTIME;
37 |
38 | /**
39 | * \brief Get time now to nmeaTIME structure
40 | */
41 | void nmea_time_now(nmeaTIME *t);
42 |
43 | #ifdef __cplusplus
44 | }
45 | #endif
46 |
47 | #endif /* __NMEA_TIME_H__ */
48 |
--------------------------------------------------------------------------------
/摄像头调试助手/wildfire_MultiFuctionalSerial_assistant/nmeaLib/include/nmea/time.h:
--------------------------------------------------------------------------------
1 | /*
2 | *
3 | * NMEA library
4 | * URL: http://nmea.sourceforge.net
5 | * Author: Tim (xtimor@gmail.com)
6 | * Licence: http://www.gnu.org/licenses/lgpl.html
7 | * $Id: time.h 4 2007-08-27 13:11:03Z xtimor $
8 | *
9 | */
10 |
11 | /*! \file */
12 |
13 | #ifndef __NMEA_TIME_H__
14 | #define __NMEA_TIME_H__
15 |
16 | #include "config.h"
17 |
18 | #ifdef __cplusplus
19 | extern "C" {
20 | #endif
21 |
22 | /**
23 | * Date and time data
24 | * @see nmea_time_now
25 | */
26 | typedef struct _nmeaTIME
27 | {
28 | int year; /**< Years since 1900 */
29 | int mon; /**< Months since January - [0,11] */
30 | int day; /**< Day of the month - [1,31] */
31 | int hour; /**< Hours since midnight - [0,23] */
32 | int min; /**< Minutes after the hour - [0,59] */
33 | int sec; /**< Seconds after the minute - [0,59] */
34 | int hsec; /**< Hundredth part of second - [0,99] */
35 |
36 | } nmeaTIME;
37 |
38 | /**
39 | * \brief Get time now to nmeaTIME structure
40 | */
41 | void nmea_time_now(nmeaTIME *t);
42 |
43 | #ifdef __cplusplus
44 | }
45 | #endif
46 |
47 | #endif /* __NMEA_TIME_H__ */
48 |
--------------------------------------------------------------------------------
/独立串口调试助手/wildfire_MultiFuctionalSerial_assistant/nmeaLib/include/nmea/time.h:
--------------------------------------------------------------------------------
1 | /*
2 | *
3 | * NMEA library
4 | * URL: http://nmea.sourceforge.net
5 | * Author: Tim (xtimor@gmail.com)
6 | * Licence: http://www.gnu.org/licenses/lgpl.html
7 | * $Id: time.h 4 2007-08-27 13:11:03Z xtimor $
8 | *
9 | */
10 |
11 | /*! \file */
12 |
13 | #ifndef __NMEA_TIME_H__
14 | #define __NMEA_TIME_H__
15 |
16 | #include "config.h"
17 |
18 | #ifdef __cplusplus
19 | extern "C" {
20 | #endif
21 |
22 | /**
23 | * Date and time data
24 | * @see nmea_time_now
25 | */
26 | typedef struct _nmeaTIME
27 | {
28 | int year; /**< Years since 1900 */
29 | int mon; /**< Months since January - [0,11] */
30 | int day; /**< Day of the month - [1,31] */
31 | int hour; /**< Hours since midnight - [0,23] */
32 | int min; /**< Minutes after the hour - [0,59] */
33 | int sec; /**< Seconds after the minute - [0,59] */
34 | int hsec; /**< Hundredth part of second - [0,99] */
35 |
36 | } nmeaTIME;
37 |
38 | /**
39 | * \brief Get time now to nmeaTIME structure
40 | */
41 | void nmea_time_now(nmeaTIME *t);
42 |
43 | #ifdef __cplusplus
44 | }
45 | #endif
46 |
47 | #endif /* __NMEA_TIME_H__ */
48 |
--------------------------------------------------------------------------------
/摄像头调试助手 -单帧字节数版本/wildfire_MultiFuctionalSerial_assistant/nmeaLib/include/nmea/time.h:
--------------------------------------------------------------------------------
1 | /*
2 | *
3 | * NMEA library
4 | * URL: http://nmea.sourceforge.net
5 | * Author: Tim (xtimor@gmail.com)
6 | * Licence: http://www.gnu.org/licenses/lgpl.html
7 | * $Id: time.h 4 2007-08-27 13:11:03Z xtimor $
8 | *
9 | */
10 |
11 | /*! \file */
12 |
13 | #ifndef __NMEA_TIME_H__
14 | #define __NMEA_TIME_H__
15 |
16 | #include "config.h"
17 |
18 | #ifdef __cplusplus
19 | extern "C" {
20 | #endif
21 |
22 | /**
23 | * Date and time data
24 | * @see nmea_time_now
25 | */
26 | typedef struct _nmeaTIME
27 | {
28 | int year; /**< Years since 1900 */
29 | int mon; /**< Months since January - [0,11] */
30 | int day; /**< Day of the month - [1,31] */
31 | int hour; /**< Hours since midnight - [0,23] */
32 | int min; /**< Minutes after the hour - [0,59] */
33 | int sec; /**< Seconds after the minute - [0,59] */
34 | int hsec; /**< Hundredth part of second - [0,99] */
35 |
36 | } nmeaTIME;
37 |
38 | /**
39 | * \brief Get time now to nmeaTIME structure
40 | */
41 | void nmea_time_now(nmeaTIME *t);
42 |
43 | #ifdef __cplusplus
44 | }
45 | #endif
46 |
47 | #endif /* __NMEA_TIME_H__ */
48 |
--------------------------------------------------------------------------------
/网络调试助手/wildfire_MultiFuctionalSerial_assistant/nmeaLib/include/nmea/parse.h:
--------------------------------------------------------------------------------
1 | /*
2 | *
3 | * NMEA library
4 | * URL: http://nmea.sourceforge.net
5 | * Author: Tim (xtimor@gmail.com)
6 | * Licence: http://www.gnu.org/licenses/lgpl.html
7 | * $Id: parse.h 4 2007-08-27 13:11:03Z xtimor $
8 | *
9 | */
10 |
11 | #ifndef __NMEA_PARSE_H__
12 | #define __NMEA_PARSE_H__
13 |
14 | #include "sentence.h"
15 |
16 | #ifdef __cplusplus
17 | extern "C" {
18 | #endif
19 |
20 | int nmea_pack_type(const char *buff, int buff_sz);
21 | int nmea_find_tail(const char *buff, int buff_sz, int *res_crc);
22 |
23 | int nmea_parse_GPGGA(const char *buff, int buff_sz, nmeaGPGGA *pack);
24 | int nmea_parse_GPGSA(const char *buff, int buff_sz, nmeaGPGSA *pack);
25 | int nmea_parse_GPGSV(const char *buff, int buff_sz, nmeaGPGSV *pack);
26 | int nmea_parse_GPRMC(const char *buff, int buff_sz, nmeaGPRMC *pack);
27 | int nmea_parse_GPVTG(const char *buff, int buff_sz, nmeaGPVTG *pack);
28 |
29 | void nmea_GPGGA2info(nmeaGPGGA *pack, nmeaINFO *info);
30 | void nmea_GPGSA2info(nmeaGPGSA *pack, nmeaINFO *info);
31 | void nmea_GPGSV2info(nmeaGPGSV *pack, nmeaINFO *info);
32 | void nmea_GPRMC2info(nmeaGPRMC *pack, nmeaINFO *info);
33 | void nmea_GPVTG2info(nmeaGPVTG *pack, nmeaINFO *info);
34 |
35 | #ifdef __cplusplus
36 | }
37 | #endif
38 |
39 | #endif /* __NMEA_PARSE_H__ */
40 |
--------------------------------------------------------------------------------
/多功能串口调试助手/wildfire_MultiFuctionalSerial_assistant/nmeaLib/include/nmea/parse.h:
--------------------------------------------------------------------------------
1 | /*
2 | *
3 | * NMEA library
4 | * URL: http://nmea.sourceforge.net
5 | * Author: Tim (xtimor@gmail.com)
6 | * Licence: http://www.gnu.org/licenses/lgpl.html
7 | * $Id: parse.h 4 2007-08-27 13:11:03Z xtimor $
8 | *
9 | */
10 |
11 | #ifndef __NMEA_PARSE_H__
12 | #define __NMEA_PARSE_H__
13 |
14 | #include "sentence.h"
15 |
16 | #ifdef __cplusplus
17 | extern "C" {
18 | #endif
19 |
20 | int nmea_pack_type(const char *buff, int buff_sz);
21 | int nmea_find_tail(const char *buff, int buff_sz, int *res_crc);
22 |
23 | int nmea_parse_GPGGA(const char *buff, int buff_sz, nmeaGPGGA *pack);
24 | int nmea_parse_GPGSA(const char *buff, int buff_sz, nmeaGPGSA *pack);
25 | int nmea_parse_GPGSV(const char *buff, int buff_sz, nmeaGPGSV *pack);
26 | int nmea_parse_GPRMC(const char *buff, int buff_sz, nmeaGPRMC *pack);
27 | int nmea_parse_GPVTG(const char *buff, int buff_sz, nmeaGPVTG *pack);
28 |
29 | void nmea_GPGGA2info(nmeaGPGGA *pack, nmeaINFO *info);
30 | void nmea_GPGSA2info(nmeaGPGSA *pack, nmeaINFO *info);
31 | void nmea_GPGSV2info(nmeaGPGSV *pack, nmeaINFO *info);
32 | void nmea_GPRMC2info(nmeaGPRMC *pack, nmeaINFO *info);
33 | void nmea_GPVTG2info(nmeaGPVTG *pack, nmeaINFO *info);
34 |
35 | #ifdef __cplusplus
36 | }
37 | #endif
38 |
39 | #endif /* __NMEA_PARSE_H__ */
40 |
--------------------------------------------------------------------------------
/摄像头调试助手/wildfire_MultiFuctionalSerial_assistant/nmeaLib/include/nmea/parse.h:
--------------------------------------------------------------------------------
1 | /*
2 | *
3 | * NMEA library
4 | * URL: http://nmea.sourceforge.net
5 | * Author: Tim (xtimor@gmail.com)
6 | * Licence: http://www.gnu.org/licenses/lgpl.html
7 | * $Id: parse.h 4 2007-08-27 13:11:03Z xtimor $
8 | *
9 | */
10 |
11 | #ifndef __NMEA_PARSE_H__
12 | #define __NMEA_PARSE_H__
13 |
14 | #include "sentence.h"
15 |
16 | #ifdef __cplusplus
17 | extern "C" {
18 | #endif
19 |
20 | int nmea_pack_type(const char *buff, int buff_sz);
21 | int nmea_find_tail(const char *buff, int buff_sz, int *res_crc);
22 |
23 | int nmea_parse_GPGGA(const char *buff, int buff_sz, nmeaGPGGA *pack);
24 | int nmea_parse_GPGSA(const char *buff, int buff_sz, nmeaGPGSA *pack);
25 | int nmea_parse_GPGSV(const char *buff, int buff_sz, nmeaGPGSV *pack);
26 | int nmea_parse_GPRMC(const char *buff, int buff_sz, nmeaGPRMC *pack);
27 | int nmea_parse_GPVTG(const char *buff, int buff_sz, nmeaGPVTG *pack);
28 |
29 | void nmea_GPGGA2info(nmeaGPGGA *pack, nmeaINFO *info);
30 | void nmea_GPGSA2info(nmeaGPGSA *pack, nmeaINFO *info);
31 | void nmea_GPGSV2info(nmeaGPGSV *pack, nmeaINFO *info);
32 | void nmea_GPRMC2info(nmeaGPRMC *pack, nmeaINFO *info);
33 | void nmea_GPVTG2info(nmeaGPVTG *pack, nmeaINFO *info);
34 |
35 | #ifdef __cplusplus
36 | }
37 | #endif
38 |
39 | #endif /* __NMEA_PARSE_H__ */
40 |
--------------------------------------------------------------------------------
/独立串口调试助手/wildfire_MultiFuctionalSerial_assistant/nmeaLib/include/nmea/parse.h:
--------------------------------------------------------------------------------
1 | /*
2 | *
3 | * NMEA library
4 | * URL: http://nmea.sourceforge.net
5 | * Author: Tim (xtimor@gmail.com)
6 | * Licence: http://www.gnu.org/licenses/lgpl.html
7 | * $Id: parse.h 4 2007-08-27 13:11:03Z xtimor $
8 | *
9 | */
10 |
11 | #ifndef __NMEA_PARSE_H__
12 | #define __NMEA_PARSE_H__
13 |
14 | #include "sentence.h"
15 |
16 | #ifdef __cplusplus
17 | extern "C" {
18 | #endif
19 |
20 | int nmea_pack_type(const char *buff, int buff_sz);
21 | int nmea_find_tail(const char *buff, int buff_sz, int *res_crc);
22 |
23 | int nmea_parse_GPGGA(const char *buff, int buff_sz, nmeaGPGGA *pack);
24 | int nmea_parse_GPGSA(const char *buff, int buff_sz, nmeaGPGSA *pack);
25 | int nmea_parse_GPGSV(const char *buff, int buff_sz, nmeaGPGSV *pack);
26 | int nmea_parse_GPRMC(const char *buff, int buff_sz, nmeaGPRMC *pack);
27 | int nmea_parse_GPVTG(const char *buff, int buff_sz, nmeaGPVTG *pack);
28 |
29 | void nmea_GPGGA2info(nmeaGPGGA *pack, nmeaINFO *info);
30 | void nmea_GPGSA2info(nmeaGPGSA *pack, nmeaINFO *info);
31 | void nmea_GPGSV2info(nmeaGPGSV *pack, nmeaINFO *info);
32 | void nmea_GPRMC2info(nmeaGPRMC *pack, nmeaINFO *info);
33 | void nmea_GPVTG2info(nmeaGPVTG *pack, nmeaINFO *info);
34 |
35 | #ifdef __cplusplus
36 | }
37 | #endif
38 |
39 | #endif /* __NMEA_PARSE_H__ */
40 |
--------------------------------------------------------------------------------
/摄像头调试助手 -单帧字节数版本/wildfire_MultiFuctionalSerial_assistant/nmeaLib/include/nmea/parse.h:
--------------------------------------------------------------------------------
1 | /*
2 | *
3 | * NMEA library
4 | * URL: http://nmea.sourceforge.net
5 | * Author: Tim (xtimor@gmail.com)
6 | * Licence: http://www.gnu.org/licenses/lgpl.html
7 | * $Id: parse.h 4 2007-08-27 13:11:03Z xtimor $
8 | *
9 | */
10 |
11 | #ifndef __NMEA_PARSE_H__
12 | #define __NMEA_PARSE_H__
13 |
14 | #include "sentence.h"
15 |
16 | #ifdef __cplusplus
17 | extern "C" {
18 | #endif
19 |
20 | int nmea_pack_type(const char *buff, int buff_sz);
21 | int nmea_find_tail(const char *buff, int buff_sz, int *res_crc);
22 |
23 | int nmea_parse_GPGGA(const char *buff, int buff_sz, nmeaGPGGA *pack);
24 | int nmea_parse_GPGSA(const char *buff, int buff_sz, nmeaGPGSA *pack);
25 | int nmea_parse_GPGSV(const char *buff, int buff_sz, nmeaGPGSV *pack);
26 | int nmea_parse_GPRMC(const char *buff, int buff_sz, nmeaGPRMC *pack);
27 | int nmea_parse_GPVTG(const char *buff, int buff_sz, nmeaGPVTG *pack);
28 |
29 | void nmea_GPGGA2info(nmeaGPGGA *pack, nmeaINFO *info);
30 | void nmea_GPGSA2info(nmeaGPGSA *pack, nmeaINFO *info);
31 | void nmea_GPGSV2info(nmeaGPGSV *pack, nmeaINFO *info);
32 | void nmea_GPRMC2info(nmeaGPRMC *pack, nmeaINFO *info);
33 | void nmea_GPVTG2info(nmeaGPVTG *pack, nmeaINFO *info);
34 |
35 | #ifdef __cplusplus
36 | }
37 | #endif
38 |
39 | #endif /* __NMEA_PARSE_H__ */
40 |
--------------------------------------------------------------------------------
/摄像头调试助手/wildfire_MultiFuctionalSerial_assistant/nmeaLib/src/sentence.c:
--------------------------------------------------------------------------------
1 | /*
2 | *
3 | * NMEA library
4 | * URL: http://nmea.sourceforge.net
5 | * Author: Tim (xtimor@gmail.com)
6 | * Licence: http://www.gnu.org/licenses/lgpl.html
7 | * $Id: sentence.c 17 2008-03-11 11:56:11Z xtimor $
8 | *
9 | */
10 |
11 | #include "nmea/sentence.h"
12 |
13 | #include
14 |
15 | void nmea_zero_GPGGA(nmeaGPGGA *pack)
16 | {
17 | memset(pack, 0, sizeof(nmeaGPGGA));
18 | nmea_time_now(&pack->utc);
19 | pack->ns = 'N';
20 | pack->ew = 'E';
21 | pack->elv_units = 'M';
22 | pack->diff_units = 'M';
23 | }
24 |
25 | void nmea_zero_GPGSA(nmeaGPGSA *pack)
26 | {
27 | memset(pack, 0, sizeof(nmeaGPGSA));
28 | pack->fix_mode = 'A';
29 | pack->fix_type = NMEA_FIX_BAD;
30 | }
31 |
32 | void nmea_zero_GPGSV(nmeaGPGSV *pack)
33 | {
34 | memset(pack, 0, sizeof(nmeaGPGSV));
35 | }
36 |
37 | void nmea_zero_GPRMC(nmeaGPRMC *pack)
38 | {
39 | memset(pack, 0, sizeof(nmeaGPRMC));
40 | nmea_time_now(&pack->utc);
41 | pack->status = 'V';
42 | pack->ns = 'N';
43 | pack->ew = 'E';
44 | pack->declin_ew = 'E';
45 | }
46 |
47 | void nmea_zero_GPVTG(nmeaGPVTG *pack)
48 | {
49 | memset(pack, 0, sizeof(nmeaGPVTG));
50 | pack->dir_t = 'T';
51 | pack->dec_m = 'M';
52 | pack->spn_n = 'N';
53 | pack->spk_k = 'K';
54 | }
55 |
--------------------------------------------------------------------------------
/独立串口调试助手/wildfire_MultiFuctionalSerial_assistant/nmeaLib/src/sentence.c:
--------------------------------------------------------------------------------
1 | /*
2 | *
3 | * NMEA library
4 | * URL: http://nmea.sourceforge.net
5 | * Author: Tim (xtimor@gmail.com)
6 | * Licence: http://www.gnu.org/licenses/lgpl.html
7 | * $Id: sentence.c 17 2008-03-11 11:56:11Z xtimor $
8 | *
9 | */
10 |
11 | #include "nmea/sentence.h"
12 |
13 | #include
14 |
15 | void nmea_zero_GPGGA(nmeaGPGGA *pack)
16 | {
17 | memset(pack, 0, sizeof(nmeaGPGGA));
18 | nmea_time_now(&pack->utc);
19 | pack->ns = 'N';
20 | pack->ew = 'E';
21 | pack->elv_units = 'M';
22 | pack->diff_units = 'M';
23 | }
24 |
25 | void nmea_zero_GPGSA(nmeaGPGSA *pack)
26 | {
27 | memset(pack, 0, sizeof(nmeaGPGSA));
28 | pack->fix_mode = 'A';
29 | pack->fix_type = NMEA_FIX_BAD;
30 | }
31 |
32 | void nmea_zero_GPGSV(nmeaGPGSV *pack)
33 | {
34 | memset(pack, 0, sizeof(nmeaGPGSV));
35 | }
36 |
37 | void nmea_zero_GPRMC(nmeaGPRMC *pack)
38 | {
39 | memset(pack, 0, sizeof(nmeaGPRMC));
40 | nmea_time_now(&pack->utc);
41 | pack->status = 'V';
42 | pack->ns = 'N';
43 | pack->ew = 'E';
44 | pack->declin_ew = 'E';
45 | }
46 |
47 | void nmea_zero_GPVTG(nmeaGPVTG *pack)
48 | {
49 | memset(pack, 0, sizeof(nmeaGPVTG));
50 | pack->dir_t = 'T';
51 | pack->dec_m = 'M';
52 | pack->spn_n = 'N';
53 | pack->spk_k = 'K';
54 | }
55 |
--------------------------------------------------------------------------------
/网络调试助手/wildfire_MultiFuctionalSerial_assistant/nmeaLib/src/sentence.c:
--------------------------------------------------------------------------------
1 | /*
2 | *
3 | * NMEA library
4 | * URL: http://nmea.sourceforge.net
5 | * Author: Tim (xtimor@gmail.com)
6 | * Licence: http://www.gnu.org/licenses/lgpl.html
7 | * $Id: sentence.c 17 2008-03-11 11:56:11Z xtimor $
8 | *
9 | */
10 |
11 | #include "nmea/sentence.h"
12 |
13 | #include
14 |
15 | void nmea_zero_GPGGA(nmeaGPGGA *pack)
16 | {
17 | memset(pack, 0, sizeof(nmeaGPGGA));
18 | nmea_time_now(&pack->utc);
19 | pack->ns = 'N';
20 | pack->ew = 'E';
21 | pack->elv_units = 'M';
22 | pack->diff_units = 'M';
23 | }
24 |
25 | void nmea_zero_GPGSA(nmeaGPGSA *pack)
26 | {
27 | memset(pack, 0, sizeof(nmeaGPGSA));
28 | pack->fix_mode = 'A';
29 | pack->fix_type = NMEA_FIX_BAD;
30 | }
31 |
32 | void nmea_zero_GPGSV(nmeaGPGSV *pack)
33 | {
34 | memset(pack, 0, sizeof(nmeaGPGSV));
35 | }
36 |
37 | void nmea_zero_GPRMC(nmeaGPRMC *pack)
38 | {
39 | memset(pack, 0, sizeof(nmeaGPRMC));
40 | nmea_time_now(&pack->utc);
41 | pack->status = 'V';
42 | pack->ns = 'N';
43 | pack->ew = 'E';
44 | pack->declin_ew = 'E';
45 | }
46 |
47 | void nmea_zero_GPVTG(nmeaGPVTG *pack)
48 | {
49 | memset(pack, 0, sizeof(nmeaGPVTG));
50 | pack->dir_t = 'T';
51 | pack->dec_m = 'M';
52 | pack->spn_n = 'N';
53 | pack->spk_k = 'K';
54 | }
55 |
--------------------------------------------------------------------------------
/多功能串口调试助手/wildfire_MultiFuctionalSerial_assistant/nmeaLib/src/sentence.c:
--------------------------------------------------------------------------------
1 | /*
2 | *
3 | * NMEA library
4 | * URL: http://nmea.sourceforge.net
5 | * Author: Tim (xtimor@gmail.com)
6 | * Licence: http://www.gnu.org/licenses/lgpl.html
7 | * $Id: sentence.c 17 2008-03-11 11:56:11Z xtimor $
8 | *
9 | */
10 |
11 | #include "nmea/sentence.h"
12 |
13 | #include
14 |
15 | void nmea_zero_GPGGA(nmeaGPGGA *pack)
16 | {
17 | memset(pack, 0, sizeof(nmeaGPGGA));
18 | nmea_time_now(&pack->utc);
19 | pack->ns = 'N';
20 | pack->ew = 'E';
21 | pack->elv_units = 'M';
22 | pack->diff_units = 'M';
23 | }
24 |
25 | void nmea_zero_GPGSA(nmeaGPGSA *pack)
26 | {
27 | memset(pack, 0, sizeof(nmeaGPGSA));
28 | pack->fix_mode = 'A';
29 | pack->fix_type = NMEA_FIX_BAD;
30 | }
31 |
32 | void nmea_zero_GPGSV(nmeaGPGSV *pack)
33 | {
34 | memset(pack, 0, sizeof(nmeaGPGSV));
35 | }
36 |
37 | void nmea_zero_GPRMC(nmeaGPRMC *pack)
38 | {
39 | memset(pack, 0, sizeof(nmeaGPRMC));
40 | nmea_time_now(&pack->utc);
41 | pack->status = 'V';
42 | pack->ns = 'N';
43 | pack->ew = 'E';
44 | pack->declin_ew = 'E';
45 | }
46 |
47 | void nmea_zero_GPVTG(nmeaGPVTG *pack)
48 | {
49 | memset(pack, 0, sizeof(nmeaGPVTG));
50 | pack->dir_t = 'T';
51 | pack->dec_m = 'M';
52 | pack->spn_n = 'N';
53 | pack->spk_k = 'K';
54 | }
55 |
--------------------------------------------------------------------------------
/摄像头调试助手 -单帧字节数版本/wildfire_MultiFuctionalSerial_assistant/nmeaLib/src/sentence.c:
--------------------------------------------------------------------------------
1 | /*
2 | *
3 | * NMEA library
4 | * URL: http://nmea.sourceforge.net
5 | * Author: Tim (xtimor@gmail.com)
6 | * Licence: http://www.gnu.org/licenses/lgpl.html
7 | * $Id: sentence.c 17 2008-03-11 11:56:11Z xtimor $
8 | *
9 | */
10 |
11 | #include "nmea/sentence.h"
12 |
13 | #include
14 |
15 | void nmea_zero_GPGGA(nmeaGPGGA *pack)
16 | {
17 | memset(pack, 0, sizeof(nmeaGPGGA));
18 | nmea_time_now(&pack->utc);
19 | pack->ns = 'N';
20 | pack->ew = 'E';
21 | pack->elv_units = 'M';
22 | pack->diff_units = 'M';
23 | }
24 |
25 | void nmea_zero_GPGSA(nmeaGPGSA *pack)
26 | {
27 | memset(pack, 0, sizeof(nmeaGPGSA));
28 | pack->fix_mode = 'A';
29 | pack->fix_type = NMEA_FIX_BAD;
30 | }
31 |
32 | void nmea_zero_GPGSV(nmeaGPGSV *pack)
33 | {
34 | memset(pack, 0, sizeof(nmeaGPGSV));
35 | }
36 |
37 | void nmea_zero_GPRMC(nmeaGPRMC *pack)
38 | {
39 | memset(pack, 0, sizeof(nmeaGPRMC));
40 | nmea_time_now(&pack->utc);
41 | pack->status = 'V';
42 | pack->ns = 'N';
43 | pack->ew = 'E';
44 | pack->declin_ew = 'E';
45 | }
46 |
47 | void nmea_zero_GPVTG(nmeaGPVTG *pack)
48 | {
49 | memset(pack, 0, sizeof(nmeaGPVTG));
50 | pack->dir_t = 'T';
51 | pack->dec_m = 'M';
52 | pack->spn_n = 'N';
53 | pack->spk_k = 'K';
54 | }
55 |
--------------------------------------------------------------------------------
/摄像头调试助手/wildfire_MultiFuctionalSerial_assistant/nmeaLib/include/nmea/config.h:
--------------------------------------------------------------------------------
1 | /*
2 | *
3 | * NMEA library
4 | * URL: http://nmea.sourceforge.net
5 | * Author: Tim (xtimor@gmail.com)
6 | * Licence: http://www.gnu.org/licenses/lgpl.html
7 | * $Id: config.h 17 2008-03-11 11:56:11Z xtimor $
8 | *
9 | */
10 |
11 | #ifndef __NMEA_CONFIG_H__
12 | #define __NMEA_CONFIG_H__
13 |
14 | #define WIN32
15 |
16 | #define NMEA_VERSION ("0.5.3")
17 | #define NMEA_VERSION_MAJOR (0)
18 | #define NMEA_VERSION_MINOR (5)
19 | #define NMEA_VERSION_PATCH (3)
20 |
21 | #define NMEA_CONVSTR_BUF (256)
22 | #define NMEA_TIMEPARSE_BUF (256)
23 |
24 | #if defined(WINCE) || defined(UNDER_CE)
25 | # define NMEA_CE
26 | #endif
27 |
28 | #if defined(WIN32) || defined(NMEA_CE)
29 | # define NMEA_WIN
30 | #else
31 | # define NMEA_UNI
32 | #endif
33 |
34 | #if defined(NMEA_WIN) && (_MSC_VER >= 1400)
35 | # pragma warning(disable: 4996) /* declared deprecated */
36 | #endif
37 |
38 | #if defined(_MSC_VER)
39 | # define NMEA_POSIX(x) _##x
40 | # define NMEA_INLINE __inline
41 | #else
42 | # define NMEA_POSIX(x) x
43 | # define NMEA_INLINE inline
44 | #endif
45 |
46 | #if !defined(NDEBUG) && !defined(NMEA_CE)
47 | # include
48 | # define NMEA_ASSERT(x) assert(x)
49 | #else
50 | # define NMEA_ASSERT(x)
51 | #endif
52 |
53 | #endif /* __NMEA_CONFIG_H__ */
54 |
--------------------------------------------------------------------------------
/独立串口调试助手/wildfire_MultiFuctionalSerial_assistant/nmeaLib/include/nmea/config.h:
--------------------------------------------------------------------------------
1 | /*
2 | *
3 | * NMEA library
4 | * URL: http://nmea.sourceforge.net
5 | * Author: Tim (xtimor@gmail.com)
6 | * Licence: http://www.gnu.org/licenses/lgpl.html
7 | * $Id: config.h 17 2008-03-11 11:56:11Z xtimor $
8 | *
9 | */
10 |
11 | #ifndef __NMEA_CONFIG_H__
12 | #define __NMEA_CONFIG_H__
13 |
14 | #define WIN32
15 |
16 | #define NMEA_VERSION ("0.5.3")
17 | #define NMEA_VERSION_MAJOR (0)
18 | #define NMEA_VERSION_MINOR (5)
19 | #define NMEA_VERSION_PATCH (3)
20 |
21 | #define NMEA_CONVSTR_BUF (256)
22 | #define NMEA_TIMEPARSE_BUF (256)
23 |
24 | #if defined(WINCE) || defined(UNDER_CE)
25 | # define NMEA_CE
26 | #endif
27 |
28 | #if defined(WIN32) || defined(NMEA_CE)
29 | # define NMEA_WIN
30 | #else
31 | # define NMEA_UNI
32 | #endif
33 |
34 | #if defined(NMEA_WIN) && (_MSC_VER >= 1400)
35 | # pragma warning(disable: 4996) /* declared deprecated */
36 | #endif
37 |
38 | #if defined(_MSC_VER)
39 | # define NMEA_POSIX(x) _##x
40 | # define NMEA_INLINE __inline
41 | #else
42 | # define NMEA_POSIX(x) x
43 | # define NMEA_INLINE inline
44 | #endif
45 |
46 | #if !defined(NDEBUG) && !defined(NMEA_CE)
47 | # include
48 | # define NMEA_ASSERT(x) assert(x)
49 | #else
50 | # define NMEA_ASSERT(x)
51 | #endif
52 |
53 | #endif /* __NMEA_CONFIG_H__ */
54 |
--------------------------------------------------------------------------------
/网络调试助手/wildfire_MultiFuctionalSerial_assistant/nmeaLib/include/nmea/config.h:
--------------------------------------------------------------------------------
1 | /*
2 | *
3 | * NMEA library
4 | * URL: http://nmea.sourceforge.net
5 | * Author: Tim (xtimor@gmail.com)
6 | * Licence: http://www.gnu.org/licenses/lgpl.html
7 | * $Id: config.h 17 2008-03-11 11:56:11Z xtimor $
8 | *
9 | */
10 |
11 | #ifndef __NMEA_CONFIG_H__
12 | #define __NMEA_CONFIG_H__
13 |
14 | #define WIN32
15 |
16 | #define NMEA_VERSION ("0.5.3")
17 | #define NMEA_VERSION_MAJOR (0)
18 | #define NMEA_VERSION_MINOR (5)
19 | #define NMEA_VERSION_PATCH (3)
20 |
21 | #define NMEA_CONVSTR_BUF (256)
22 | #define NMEA_TIMEPARSE_BUF (256)
23 |
24 | #if defined(WINCE) || defined(UNDER_CE)
25 | # define NMEA_CE
26 | #endif
27 |
28 | #if defined(WIN32) || defined(NMEA_CE)
29 | # define NMEA_WIN
30 | #else
31 | # define NMEA_UNI
32 | #endif
33 |
34 | #if defined(NMEA_WIN) && (_MSC_VER >= 1400)
35 | # pragma warning(disable: 4996) /* declared deprecated */
36 | #endif
37 |
38 | #if defined(_MSC_VER)
39 | # define NMEA_POSIX(x) _##x
40 | # define NMEA_INLINE __inline
41 | #else
42 | # define NMEA_POSIX(x) x
43 | # define NMEA_INLINE inline
44 | #endif
45 |
46 | #if !defined(NDEBUG) && !defined(NMEA_CE)
47 | # include
48 | # define NMEA_ASSERT(x) assert(x)
49 | #else
50 | # define NMEA_ASSERT(x)
51 | #endif
52 |
53 | #endif /* __NMEA_CONFIG_H__ */
54 |
--------------------------------------------------------------------------------
/多功能串口调试助手/wildfire_MultiFuctionalSerial_assistant/nmeaLib/include/nmea/config.h:
--------------------------------------------------------------------------------
1 | /*
2 | *
3 | * NMEA library
4 | * URL: http://nmea.sourceforge.net
5 | * Author: Tim (xtimor@gmail.com)
6 | * Licence: http://www.gnu.org/licenses/lgpl.html
7 | * $Id: config.h 17 2008-03-11 11:56:11Z xtimor $
8 | *
9 | */
10 |
11 | #ifndef __NMEA_CONFIG_H__
12 | #define __NMEA_CONFIG_H__
13 |
14 | #define WIN32
15 |
16 | #define NMEA_VERSION ("0.5.3")
17 | #define NMEA_VERSION_MAJOR (0)
18 | #define NMEA_VERSION_MINOR (5)
19 | #define NMEA_VERSION_PATCH (3)
20 |
21 | #define NMEA_CONVSTR_BUF (256)
22 | #define NMEA_TIMEPARSE_BUF (256)
23 |
24 | #if defined(WINCE) || defined(UNDER_CE)
25 | # define NMEA_CE
26 | #endif
27 |
28 | #if defined(WIN32) || defined(NMEA_CE)
29 | # define NMEA_WIN
30 | #else
31 | # define NMEA_UNI
32 | #endif
33 |
34 | #if defined(NMEA_WIN) && (_MSC_VER >= 1400)
35 | # pragma warning(disable: 4996) /* declared deprecated */
36 | #endif
37 |
38 | #if defined(_MSC_VER)
39 | # define NMEA_POSIX(x) _##x
40 | # define NMEA_INLINE __inline
41 | #else
42 | # define NMEA_POSIX(x) x
43 | # define NMEA_INLINE inline
44 | #endif
45 |
46 | #if !defined(NDEBUG) && !defined(NMEA_CE)
47 | # include
48 | # define NMEA_ASSERT(x) assert(x)
49 | #else
50 | # define NMEA_ASSERT(x)
51 | #endif
52 |
53 | #endif /* __NMEA_CONFIG_H__ */
54 |
--------------------------------------------------------------------------------
/摄像头调试助手 -单帧字节数版本/wildfire_MultiFuctionalSerial_assistant/nmeaLib/include/nmea/config.h:
--------------------------------------------------------------------------------
1 | /*
2 | *
3 | * NMEA library
4 | * URL: http://nmea.sourceforge.net
5 | * Author: Tim (xtimor@gmail.com)
6 | * Licence: http://www.gnu.org/licenses/lgpl.html
7 | * $Id: config.h 17 2008-03-11 11:56:11Z xtimor $
8 | *
9 | */
10 |
11 | #ifndef __NMEA_CONFIG_H__
12 | #define __NMEA_CONFIG_H__
13 |
14 | #define WIN32
15 |
16 | #define NMEA_VERSION ("0.5.3")
17 | #define NMEA_VERSION_MAJOR (0)
18 | #define NMEA_VERSION_MINOR (5)
19 | #define NMEA_VERSION_PATCH (3)
20 |
21 | #define NMEA_CONVSTR_BUF (256)
22 | #define NMEA_TIMEPARSE_BUF (256)
23 |
24 | #if defined(WINCE) || defined(UNDER_CE)
25 | # define NMEA_CE
26 | #endif
27 |
28 | #if defined(WIN32) || defined(NMEA_CE)
29 | # define NMEA_WIN
30 | #else
31 | # define NMEA_UNI
32 | #endif
33 |
34 | #if defined(NMEA_WIN) && (_MSC_VER >= 1400)
35 | # pragma warning(disable: 4996) /* declared deprecated */
36 | #endif
37 |
38 | #if defined(_MSC_VER)
39 | # define NMEA_POSIX(x) _##x
40 | # define NMEA_INLINE __inline
41 | #else
42 | # define NMEA_POSIX(x) x
43 | # define NMEA_INLINE inline
44 | #endif
45 |
46 | #if !defined(NDEBUG) && !defined(NMEA_CE)
47 | # include
48 | # define NMEA_ASSERT(x) assert(x)
49 | #else
50 | # define NMEA_ASSERT(x)
51 | #endif
52 |
53 | #endif /* __NMEA_CONFIG_H__ */
54 |
--------------------------------------------------------------------------------
/多功能串口调试助手/wildfire_MultiFuctionalSerial_assistant/wildfire_MultiFuctionalSerial_assistant/MainWindow.xaml:
--------------------------------------------------------------------------------
1 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
--------------------------------------------------------------------------------
/摄像头调试助手/wildfire_MultiFuctionalSerial_assistant/nmeaLib/src/time.c:
--------------------------------------------------------------------------------
1 | /*
2 | *
3 | * NMEA library
4 | * URL: http://nmea.sourceforge.net
5 | * Author: Tim (xtimor@gmail.com)
6 | * Licence: http://www.gnu.org/licenses/lgpl.html
7 | * $Id: time.c 4 2007-08-27 13:11:03Z xtimor $
8 | *
9 | */
10 |
11 | /*! \file time.h */
12 |
13 | #include "nmea/time.h"
14 |
15 | #ifdef NMEA_WIN
16 | # pragma warning(disable: 4201)
17 | # pragma warning(disable: 4214)
18 | # pragma warning(disable: 4115)
19 | # include
20 | # pragma warning(default: 4201)
21 | # pragma warning(default: 4214)
22 | # pragma warning(default: 4115)
23 | #else
24 | # include
25 | #endif
26 |
27 | #ifdef NMEA_WIN
28 |
29 | void nmea_time_now(nmeaTIME *stm)
30 | {
31 | SYSTEMTIME st;
32 |
33 | GetSystemTime(&st);
34 |
35 | stm->year = st.wYear - 1900;
36 | stm->mon = st.wMonth - 1;
37 | stm->day = st.wDay;
38 | stm->hour = st.wHour;
39 | stm->min = st.wMinute;
40 | stm->sec = st.wSecond;
41 | stm->hsec = st.wMilliseconds / 10;
42 | }
43 |
44 | #else /* NMEA_WIN */
45 |
46 | void nmea_time_now(nmeaTIME *stm)
47 | {
48 | time_t lt;
49 | struct tm *tt;
50 |
51 | time(<);
52 | tt = gmtime(<);
53 |
54 | stm->year = tt->tm_year;
55 | stm->mon = tt->tm_mon;
56 | stm->day = tt->tm_mday;
57 | stm->hour = tt->tm_hour;
58 | stm->min = tt->tm_min;
59 | stm->sec = tt->tm_sec;
60 | stm->hsec = 0;
61 | }
62 |
63 | #endif
64 |
--------------------------------------------------------------------------------
/独立串口调试助手/wildfire_MultiFuctionalSerial_assistant/nmeaLib/src/time.c:
--------------------------------------------------------------------------------
1 | /*
2 | *
3 | * NMEA library
4 | * URL: http://nmea.sourceforge.net
5 | * Author: Tim (xtimor@gmail.com)
6 | * Licence: http://www.gnu.org/licenses/lgpl.html
7 | * $Id: time.c 4 2007-08-27 13:11:03Z xtimor $
8 | *
9 | */
10 |
11 | /*! \file time.h */
12 |
13 | #include "nmea/time.h"
14 |
15 | #ifdef NMEA_WIN
16 | # pragma warning(disable: 4201)
17 | # pragma warning(disable: 4214)
18 | # pragma warning(disable: 4115)
19 | # include
20 | # pragma warning(default: 4201)
21 | # pragma warning(default: 4214)
22 | # pragma warning(default: 4115)
23 | #else
24 | # include
25 | #endif
26 |
27 | #ifdef NMEA_WIN
28 |
29 | void nmea_time_now(nmeaTIME *stm)
30 | {
31 | SYSTEMTIME st;
32 |
33 | GetSystemTime(&st);
34 |
35 | stm->year = st.wYear - 1900;
36 | stm->mon = st.wMonth - 1;
37 | stm->day = st.wDay;
38 | stm->hour = st.wHour;
39 | stm->min = st.wMinute;
40 | stm->sec = st.wSecond;
41 | stm->hsec = st.wMilliseconds / 10;
42 | }
43 |
44 | #else /* NMEA_WIN */
45 |
46 | void nmea_time_now(nmeaTIME *stm)
47 | {
48 | time_t lt;
49 | struct tm *tt;
50 |
51 | time(<);
52 | tt = gmtime(<);
53 |
54 | stm->year = tt->tm_year;
55 | stm->mon = tt->tm_mon;
56 | stm->day = tt->tm_mday;
57 | stm->hour = tt->tm_hour;
58 | stm->min = tt->tm_min;
59 | stm->sec = tt->tm_sec;
60 | stm->hsec = 0;
61 | }
62 |
63 | #endif
64 |
--------------------------------------------------------------------------------
/网络调试助手/wildfire_MultiFuctionalSerial_assistant/nmeaLib/src/time.c:
--------------------------------------------------------------------------------
1 | /*
2 | *
3 | * NMEA library
4 | * URL: http://nmea.sourceforge.net
5 | * Author: Tim (xtimor@gmail.com)
6 | * Licence: http://www.gnu.org/licenses/lgpl.html
7 | * $Id: time.c 4 2007-08-27 13:11:03Z xtimor $
8 | *
9 | */
10 |
11 | /*! \file time.h */
12 |
13 | #include "nmea/time.h"
14 |
15 | #ifdef NMEA_WIN
16 | # pragma warning(disable: 4201)
17 | # pragma warning(disable: 4214)
18 | # pragma warning(disable: 4115)
19 | # include
20 | # pragma warning(default: 4201)
21 | # pragma warning(default: 4214)
22 | # pragma warning(default: 4115)
23 | #else
24 | # include
25 | #endif
26 |
27 | #ifdef NMEA_WIN
28 |
29 | void nmea_time_now(nmeaTIME *stm)
30 | {
31 | SYSTEMTIME st;
32 |
33 | GetSystemTime(&st);
34 |
35 | stm->year = st.wYear - 1900;
36 | stm->mon = st.wMonth - 1;
37 | stm->day = st.wDay;
38 | stm->hour = st.wHour;
39 | stm->min = st.wMinute;
40 | stm->sec = st.wSecond;
41 | stm->hsec = st.wMilliseconds / 10;
42 | }
43 |
44 | #else /* NMEA_WIN */
45 |
46 | void nmea_time_now(nmeaTIME *stm)
47 | {
48 | time_t lt;
49 | struct tm *tt;
50 |
51 | time(<);
52 | tt = gmtime(<);
53 |
54 | stm->year = tt->tm_year;
55 | stm->mon = tt->tm_mon;
56 | stm->day = tt->tm_mday;
57 | stm->hour = tt->tm_hour;
58 | stm->min = tt->tm_min;
59 | stm->sec = tt->tm_sec;
60 | stm->hsec = 0;
61 | }
62 |
63 | #endif
64 |
--------------------------------------------------------------------------------
/多功能串口调试助手/wildfire_MultiFuctionalSerial_assistant/nmeaLib/src/time.c:
--------------------------------------------------------------------------------
1 | /*
2 | *
3 | * NMEA library
4 | * URL: http://nmea.sourceforge.net
5 | * Author: Tim (xtimor@gmail.com)
6 | * Licence: http://www.gnu.org/licenses/lgpl.html
7 | * $Id: time.c 4 2007-08-27 13:11:03Z xtimor $
8 | *
9 | */
10 |
11 | /*! \file time.h */
12 |
13 | #include "nmea/time.h"
14 |
15 | #ifdef NMEA_WIN
16 | # pragma warning(disable: 4201)
17 | # pragma warning(disable: 4214)
18 | # pragma warning(disable: 4115)
19 | # include
20 | # pragma warning(default: 4201)
21 | # pragma warning(default: 4214)
22 | # pragma warning(default: 4115)
23 | #else
24 | # include
25 | #endif
26 |
27 | #ifdef NMEA_WIN
28 |
29 | void nmea_time_now(nmeaTIME *stm)
30 | {
31 | SYSTEMTIME st;
32 |
33 | GetSystemTime(&st);
34 |
35 | stm->year = st.wYear - 1900;
36 | stm->mon = st.wMonth - 1;
37 | stm->day = st.wDay;
38 | stm->hour = st.wHour;
39 | stm->min = st.wMinute;
40 | stm->sec = st.wSecond;
41 | stm->hsec = st.wMilliseconds / 10;
42 | }
43 |
44 | #else /* NMEA_WIN */
45 |
46 | void nmea_time_now(nmeaTIME *stm)
47 | {
48 | time_t lt;
49 | struct tm *tt;
50 |
51 | time(<);
52 | tt = gmtime(<);
53 |
54 | stm->year = tt->tm_year;
55 | stm->mon = tt->tm_mon;
56 | stm->day = tt->tm_mday;
57 | stm->hour = tt->tm_hour;
58 | stm->min = tt->tm_min;
59 | stm->sec = tt->tm_sec;
60 | stm->hsec = 0;
61 | }
62 |
63 | #endif
64 |
--------------------------------------------------------------------------------
/摄像头调试助手 -单帧字节数版本/wildfire_MultiFuctionalSerial_assistant/nmeaLib/src/time.c:
--------------------------------------------------------------------------------
1 | /*
2 | *
3 | * NMEA library
4 | * URL: http://nmea.sourceforge.net
5 | * Author: Tim (xtimor@gmail.com)
6 | * Licence: http://www.gnu.org/licenses/lgpl.html
7 | * $Id: time.c 4 2007-08-27 13:11:03Z xtimor $
8 | *
9 | */
10 |
11 | /*! \file time.h */
12 |
13 | #include "nmea/time.h"
14 |
15 | #ifdef NMEA_WIN
16 | # pragma warning(disable: 4201)
17 | # pragma warning(disable: 4214)
18 | # pragma warning(disable: 4115)
19 | # include
20 | # pragma warning(default: 4201)
21 | # pragma warning(default: 4214)
22 | # pragma warning(default: 4115)
23 | #else
24 | # include
25 | #endif
26 |
27 | #ifdef NMEA_WIN
28 |
29 | void nmea_time_now(nmeaTIME *stm)
30 | {
31 | SYSTEMTIME st;
32 |
33 | GetSystemTime(&st);
34 |
35 | stm->year = st.wYear - 1900;
36 | stm->mon = st.wMonth - 1;
37 | stm->day = st.wDay;
38 | stm->hour = st.wHour;
39 | stm->min = st.wMinute;
40 | stm->sec = st.wSecond;
41 | stm->hsec = st.wMilliseconds / 10;
42 | }
43 |
44 | #else /* NMEA_WIN */
45 |
46 | void nmea_time_now(nmeaTIME *stm)
47 | {
48 | time_t lt;
49 | struct tm *tt;
50 |
51 | time(<);
52 | tt = gmtime(<);
53 |
54 | stm->year = tt->tm_year;
55 | stm->mon = tt->tm_mon;
56 | stm->day = tt->tm_mday;
57 | stm->hour = tt->tm_hour;
58 | stm->min = tt->tm_min;
59 | stm->sec = tt->tm_sec;
60 | stm->hsec = 0;
61 | }
62 |
63 | #endif
64 |
--------------------------------------------------------------------------------
/摄像头调试助手/wildfire_MultiFuctionalSerial_assistant/wildfire_MultiFuctionalSerial_assistant/Fourm.xaml:
--------------------------------------------------------------------------------
1 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
--------------------------------------------------------------------------------
/独立串口调试助手/wildfire_MultiFuctionalSerial_assistant/wildfire_MultiFuctionalSerial_assistant/Fourm.xaml:
--------------------------------------------------------------------------------
1 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
--------------------------------------------------------------------------------
/网络调试助手/wildfire_MultiFuctionalSerial_assistant/wildfire_MultiFuctionalSerial_assistant/Fourm.xaml:
--------------------------------------------------------------------------------
1 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
--------------------------------------------------------------------------------
/多功能串口调试助手/wildfire_MultiFuctionalSerial_assistant/wildfire_MultiFuctionalSerial_assistant/Fourm.xaml:
--------------------------------------------------------------------------------
1 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
--------------------------------------------------------------------------------
/摄像头调试助手 -单帧字节数版本/wildfire_MultiFuctionalSerial_assistant/wildfire_MultiFuctionalSerial_assistant/Fourm.xaml:
--------------------------------------------------------------------------------
1 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
--------------------------------------------------------------------------------
/网络调试助手/wildfire_MultiFuctionalSerial_assistant/nmeaLib/include/nmea/stdafx.h:
--------------------------------------------------------------------------------
1 | // stdafx.h : include file for standard system include files,
2 | // or project specific include files that are used frequently, but
3 | // are changed infrequently
4 | //
5 |
6 | #pragma once
7 |
8 | // Modify the following defines if you have to target a platform prior to the ones specified below.
9 | // Refer to MSDN for the latest info on corresponding values for different platforms.
10 | #ifndef WINVER // Allow use of features specific to Windows XP or later.
11 | #define WINVER 0x0501 // Change this to the appropriate value to target other versions of Windows.
12 | #endif
13 |
14 | #ifndef _WIN32_WINNT // Allow use of features specific to Windows XP or later.
15 | #define _WIN32_WINNT 0x0501 // Change this to the appropriate value to target other versions of Windows.
16 | #endif
17 |
18 | #ifndef _WIN32_WINDOWS // Allow use of features specific to Windows 98 or later.
19 | #define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later.
20 | #endif
21 |
22 | #ifndef _WIN32_IE // Allow use of features specific to IE 6.0 or later.
23 | #define _WIN32_IE 0x0600 // Change this to the appropriate value to target other versions of IE.
24 | #endif
25 |
26 | #define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
27 | // Windows Header Files:
28 | #include
29 |
30 |
31 |
32 | // TODO: reference additional headers your program requires here
33 |
--------------------------------------------------------------------------------
/多功能串口调试助手/wildfire_MultiFuctionalSerial_assistant/nmeaLib/include/nmea/stdafx.h:
--------------------------------------------------------------------------------
1 | // stdafx.h : include file for standard system include files,
2 | // or project specific include files that are used frequently, but
3 | // are changed infrequently
4 | //
5 |
6 | #pragma once
7 |
8 | // Modify the following defines if you have to target a platform prior to the ones specified below.
9 | // Refer to MSDN for the latest info on corresponding values for different platforms.
10 | #ifndef WINVER // Allow use of features specific to Windows XP or later.
11 | #define WINVER 0x0501 // Change this to the appropriate value to target other versions of Windows.
12 | #endif
13 |
14 | #ifndef _WIN32_WINNT // Allow use of features specific to Windows XP or later.
15 | #define _WIN32_WINNT 0x0501 // Change this to the appropriate value to target other versions of Windows.
16 | #endif
17 |
18 | #ifndef _WIN32_WINDOWS // Allow use of features specific to Windows 98 or later.
19 | #define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later.
20 | #endif
21 |
22 | #ifndef _WIN32_IE // Allow use of features specific to IE 6.0 or later.
23 | #define _WIN32_IE 0x0600 // Change this to the appropriate value to target other versions of IE.
24 | #endif
25 |
26 | #define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
27 | // Windows Header Files:
28 | #include
29 |
30 |
31 |
32 | // TODO: reference additional headers your program requires here
33 |
--------------------------------------------------------------------------------
/摄像头调试助手/wildfire_MultiFuctionalSerial_assistant/nmeaLib/include/nmea/stdafx.h:
--------------------------------------------------------------------------------
1 | // stdafx.h : include file for standard system include files,
2 | // or project specific include files that are used frequently, but
3 | // are changed infrequently
4 | //
5 |
6 | #pragma once
7 |
8 | // Modify the following defines if you have to target a platform prior to the ones specified below.
9 | // Refer to MSDN for the latest info on corresponding values for different platforms.
10 | #ifndef WINVER // Allow use of features specific to Windows XP or later.
11 | #define WINVER 0x0501 // Change this to the appropriate value to target other versions of Windows.
12 | #endif
13 |
14 | #ifndef _WIN32_WINNT // Allow use of features specific to Windows XP or later.
15 | #define _WIN32_WINNT 0x0501 // Change this to the appropriate value to target other versions of Windows.
16 | #endif
17 |
18 | #ifndef _WIN32_WINDOWS // Allow use of features specific to Windows 98 or later.
19 | #define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later.
20 | #endif
21 |
22 | #ifndef _WIN32_IE // Allow use of features specific to IE 6.0 or later.
23 | #define _WIN32_IE 0x0600 // Change this to the appropriate value to target other versions of IE.
24 | #endif
25 |
26 | #define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
27 | // Windows Header Files:
28 | #include
29 |
30 |
31 |
32 | // TODO: reference additional headers your program requires here
33 |
--------------------------------------------------------------------------------
/独立串口调试助手/wildfire_MultiFuctionalSerial_assistant/nmeaLib/include/nmea/stdafx.h:
--------------------------------------------------------------------------------
1 | // stdafx.h : include file for standard system include files,
2 | // or project specific include files that are used frequently, but
3 | // are changed infrequently
4 | //
5 |
6 | #pragma once
7 |
8 | // Modify the following defines if you have to target a platform prior to the ones specified below.
9 | // Refer to MSDN for the latest info on corresponding values for different platforms.
10 | #ifndef WINVER // Allow use of features specific to Windows XP or later.
11 | #define WINVER 0x0501 // Change this to the appropriate value to target other versions of Windows.
12 | #endif
13 |
14 | #ifndef _WIN32_WINNT // Allow use of features specific to Windows XP or later.
15 | #define _WIN32_WINNT 0x0501 // Change this to the appropriate value to target other versions of Windows.
16 | #endif
17 |
18 | #ifndef _WIN32_WINDOWS // Allow use of features specific to Windows 98 or later.
19 | #define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later.
20 | #endif
21 |
22 | #ifndef _WIN32_IE // Allow use of features specific to IE 6.0 or later.
23 | #define _WIN32_IE 0x0600 // Change this to the appropriate value to target other versions of IE.
24 | #endif
25 |
26 | #define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
27 | // Windows Header Files:
28 | #include
29 |
30 |
31 |
32 | // TODO: reference additional headers your program requires here
33 |
--------------------------------------------------------------------------------
/摄像头调试助手 -单帧字节数版本/wildfire_MultiFuctionalSerial_assistant/nmeaLib/include/nmea/stdafx.h:
--------------------------------------------------------------------------------
1 | // stdafx.h : include file for standard system include files,
2 | // or project specific include files that are used frequently, but
3 | // are changed infrequently
4 | //
5 |
6 | #pragma once
7 |
8 | // Modify the following defines if you have to target a platform prior to the ones specified below.
9 | // Refer to MSDN for the latest info on corresponding values for different platforms.
10 | #ifndef WINVER // Allow use of features specific to Windows XP or later.
11 | #define WINVER 0x0501 // Change this to the appropriate value to target other versions of Windows.
12 | #endif
13 |
14 | #ifndef _WIN32_WINNT // Allow use of features specific to Windows XP or later.
15 | #define _WIN32_WINNT 0x0501 // Change this to the appropriate value to target other versions of Windows.
16 | #endif
17 |
18 | #ifndef _WIN32_WINDOWS // Allow use of features specific to Windows 98 or later.
19 | #define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later.
20 | #endif
21 |
22 | #ifndef _WIN32_IE // Allow use of features specific to IE 6.0 or later.
23 | #define _WIN32_IE 0x0600 // Change this to the appropriate value to target other versions of IE.
24 | #endif
25 |
26 | #define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
27 | // Windows Header Files:
28 | #include
29 |
30 |
31 |
32 | // TODO: reference additional headers your program requires here
33 |
--------------------------------------------------------------------------------
/网络调试助手/wildfire_MultiFuctionalSerial_assistant/nmeaLib/include/nmea/parser.h:
--------------------------------------------------------------------------------
1 | /*
2 | *
3 | * NMEA library
4 | * URL: http://nmea.sourceforge.net
5 | * Author: Tim (xtimor@gmail.com)
6 | * Licence: http://www.gnu.org/licenses/lgpl.html
7 | * $Id: parser.h 4 2007-08-27 13:11:03Z xtimor $
8 | *
9 | */
10 |
11 | #ifndef __NMEA_PARSER_H__
12 | #define __NMEA_PARSER_H__
13 |
14 | #include "info.h"
15 |
16 | #ifdef __cplusplus
17 | extern "C" {
18 | #endif
19 |
20 | /*
21 | * high level
22 | */
23 |
24 | typedef struct _nmeaPARSER
25 | {
26 | void *top_node;
27 | void *end_node;
28 | unsigned char *buffer;
29 | int buff_size;
30 | int buff_use;
31 |
32 | } nmeaPARSER;
33 |
34 | __declspec(dllexport) int nmea_parser_init(nmeaPARSER *parser);
35 | void nmea_parser_destroy(nmeaPARSER *parser);
36 |
37 | __declspec(dllexport) int nmea_parse(
38 | nmeaPARSER *parser,
39 | const char *buff, int buff_sz,
40 | nmeaINFO *info
41 | );
42 |
43 | /*
44 | * low level
45 | */
46 |
47 | int nmea_parser_push(nmeaPARSER *parser, const char *buff, int buff_sz);
48 | int nmea_parser_top(nmeaPARSER *parser);
49 | int nmea_parser_pop(nmeaPARSER *parser, void **pack_ptr);
50 | int nmea_parser_peek(nmeaPARSER *parser, void **pack_ptr);
51 | int nmea_parser_drop(nmeaPARSER *parser);
52 | int nmea_parser_buff_clear(nmeaPARSER *parser);
53 | int nmea_parser_queue_clear(nmeaPARSER *parser);
54 |
55 | #ifdef __cplusplus
56 | }
57 | #endif
58 |
59 | #endif /* __NMEA_PARSER_H__ */
60 |
--------------------------------------------------------------------------------
/多功能串口调试助手/wildfire_MultiFuctionalSerial_assistant/nmeaLib/include/nmea/parser.h:
--------------------------------------------------------------------------------
1 | /*
2 | *
3 | * NMEA library
4 | * URL: http://nmea.sourceforge.net
5 | * Author: Tim (xtimor@gmail.com)
6 | * Licence: http://www.gnu.org/licenses/lgpl.html
7 | * $Id: parser.h 4 2007-08-27 13:11:03Z xtimor $
8 | *
9 | */
10 |
11 | #ifndef __NMEA_PARSER_H__
12 | #define __NMEA_PARSER_H__
13 |
14 | #include "info.h"
15 |
16 | #ifdef __cplusplus
17 | extern "C" {
18 | #endif
19 |
20 | /*
21 | * high level
22 | */
23 |
24 | typedef struct _nmeaPARSER
25 | {
26 | void *top_node;
27 | void *end_node;
28 | unsigned char *buffer;
29 | int buff_size;
30 | int buff_use;
31 |
32 | } nmeaPARSER;
33 |
34 | __declspec(dllexport) int nmea_parser_init(nmeaPARSER *parser);
35 | void nmea_parser_destroy(nmeaPARSER *parser);
36 |
37 | __declspec(dllexport) int nmea_parse(
38 | nmeaPARSER *parser,
39 | const char *buff, int buff_sz,
40 | nmeaINFO *info
41 | );
42 |
43 | /*
44 | * low level
45 | */
46 |
47 | int nmea_parser_push(nmeaPARSER *parser, const char *buff, int buff_sz);
48 | int nmea_parser_top(nmeaPARSER *parser);
49 | int nmea_parser_pop(nmeaPARSER *parser, void **pack_ptr);
50 | int nmea_parser_peek(nmeaPARSER *parser, void **pack_ptr);
51 | int nmea_parser_drop(nmeaPARSER *parser);
52 | int nmea_parser_buff_clear(nmeaPARSER *parser);
53 | int nmea_parser_queue_clear(nmeaPARSER *parser);
54 |
55 | #ifdef __cplusplus
56 | }
57 | #endif
58 |
59 | #endif /* __NMEA_PARSER_H__ */
60 |
--------------------------------------------------------------------------------
/摄像头调试助手/wildfire_MultiFuctionalSerial_assistant/nmeaLib/include/nmea/parser.h:
--------------------------------------------------------------------------------
1 | /*
2 | *
3 | * NMEA library
4 | * URL: http://nmea.sourceforge.net
5 | * Author: Tim (xtimor@gmail.com)
6 | * Licence: http://www.gnu.org/licenses/lgpl.html
7 | * $Id: parser.h 4 2007-08-27 13:11:03Z xtimor $
8 | *
9 | */
10 |
11 | #ifndef __NMEA_PARSER_H__
12 | #define __NMEA_PARSER_H__
13 |
14 | #include "info.h"
15 |
16 | #ifdef __cplusplus
17 | extern "C" {
18 | #endif
19 |
20 | /*
21 | * high level
22 | */
23 |
24 | typedef struct _nmeaPARSER
25 | {
26 | void *top_node;
27 | void *end_node;
28 | unsigned char *buffer;
29 | int buff_size;
30 | int buff_use;
31 |
32 | } nmeaPARSER;
33 |
34 | __declspec(dllexport) int nmea_parser_init(nmeaPARSER *parser);
35 | void nmea_parser_destroy(nmeaPARSER *parser);
36 |
37 | __declspec(dllexport) int nmea_parse(
38 | nmeaPARSER *parser,
39 | const char *buff, int buff_sz,
40 | nmeaINFO *info
41 | );
42 |
43 | /*
44 | * low level
45 | */
46 |
47 | int nmea_parser_push(nmeaPARSER *parser, const char *buff, int buff_sz);
48 | int nmea_parser_top(nmeaPARSER *parser);
49 | int nmea_parser_pop(nmeaPARSER *parser, void **pack_ptr);
50 | int nmea_parser_peek(nmeaPARSER *parser, void **pack_ptr);
51 | int nmea_parser_drop(nmeaPARSER *parser);
52 | int nmea_parser_buff_clear(nmeaPARSER *parser);
53 | int nmea_parser_queue_clear(nmeaPARSER *parser);
54 |
55 | #ifdef __cplusplus
56 | }
57 | #endif
58 |
59 | #endif /* __NMEA_PARSER_H__ */
60 |
--------------------------------------------------------------------------------
/独立串口调试助手/wildfire_MultiFuctionalSerial_assistant/nmeaLib/include/nmea/parser.h:
--------------------------------------------------------------------------------
1 | /*
2 | *
3 | * NMEA library
4 | * URL: http://nmea.sourceforge.net
5 | * Author: Tim (xtimor@gmail.com)
6 | * Licence: http://www.gnu.org/licenses/lgpl.html
7 | * $Id: parser.h 4 2007-08-27 13:11:03Z xtimor $
8 | *
9 | */
10 |
11 | #ifndef __NMEA_PARSER_H__
12 | #define __NMEA_PARSER_H__
13 |
14 | #include "info.h"
15 |
16 | #ifdef __cplusplus
17 | extern "C" {
18 | #endif
19 |
20 | /*
21 | * high level
22 | */
23 |
24 | typedef struct _nmeaPARSER
25 | {
26 | void *top_node;
27 | void *end_node;
28 | unsigned char *buffer;
29 | int buff_size;
30 | int buff_use;
31 |
32 | } nmeaPARSER;
33 |
34 | __declspec(dllexport) int nmea_parser_init(nmeaPARSER *parser);
35 | void nmea_parser_destroy(nmeaPARSER *parser);
36 |
37 | __declspec(dllexport) int nmea_parse(
38 | nmeaPARSER *parser,
39 | const char *buff, int buff_sz,
40 | nmeaINFO *info
41 | );
42 |
43 | /*
44 | * low level
45 | */
46 |
47 | int nmea_parser_push(nmeaPARSER *parser, const char *buff, int buff_sz);
48 | int nmea_parser_top(nmeaPARSER *parser);
49 | int nmea_parser_pop(nmeaPARSER *parser, void **pack_ptr);
50 | int nmea_parser_peek(nmeaPARSER *parser, void **pack_ptr);
51 | int nmea_parser_drop(nmeaPARSER *parser);
52 | int nmea_parser_buff_clear(nmeaPARSER *parser);
53 | int nmea_parser_queue_clear(nmeaPARSER *parser);
54 |
55 | #ifdef __cplusplus
56 | }
57 | #endif
58 |
59 | #endif /* __NMEA_PARSER_H__ */
60 |
--------------------------------------------------------------------------------
/摄像头调试助手 -单帧字节数版本/wildfire_MultiFuctionalSerial_assistant/nmeaLib/include/nmea/parser.h:
--------------------------------------------------------------------------------
1 | /*
2 | *
3 | * NMEA library
4 | * URL: http://nmea.sourceforge.net
5 | * Author: Tim (xtimor@gmail.com)
6 | * Licence: http://www.gnu.org/licenses/lgpl.html
7 | * $Id: parser.h 4 2007-08-27 13:11:03Z xtimor $
8 | *
9 | */
10 |
11 | #ifndef __NMEA_PARSER_H__
12 | #define __NMEA_PARSER_H__
13 |
14 | #include "info.h"
15 |
16 | #ifdef __cplusplus
17 | extern "C" {
18 | #endif
19 |
20 | /*
21 | * high level
22 | */
23 |
24 | typedef struct _nmeaPARSER
25 | {
26 | void *top_node;
27 | void *end_node;
28 | unsigned char *buffer;
29 | int buff_size;
30 | int buff_use;
31 |
32 | } nmeaPARSER;
33 |
34 | __declspec(dllexport) int nmea_parser_init(nmeaPARSER *parser);
35 | void nmea_parser_destroy(nmeaPARSER *parser);
36 |
37 | __declspec(dllexport) int nmea_parse(
38 | nmeaPARSER *parser,
39 | const char *buff, int buff_sz,
40 | nmeaINFO *info
41 | );
42 |
43 | /*
44 | * low level
45 | */
46 |
47 | int nmea_parser_push(nmeaPARSER *parser, const char *buff, int buff_sz);
48 | int nmea_parser_top(nmeaPARSER *parser);
49 | int nmea_parser_pop(nmeaPARSER *parser, void **pack_ptr);
50 | int nmea_parser_peek(nmeaPARSER *parser, void **pack_ptr);
51 | int nmea_parser_drop(nmeaPARSER *parser);
52 | int nmea_parser_buff_clear(nmeaPARSER *parser);
53 | int nmea_parser_queue_clear(nmeaPARSER *parser);
54 |
55 | #ifdef __cplusplus
56 | }
57 | #endif
58 |
59 | #endif /* __NMEA_PARSER_H__ */
60 |
--------------------------------------------------------------------------------
/多功能串口调试助手/wildfire_MultiFuctionalSerial_assistant/nmeaLib/include/nmea/generate.h:
--------------------------------------------------------------------------------
1 | /*
2 | *
3 | * NMEA library
4 | * URL: http://nmea.sourceforge.net
5 | * Author: Tim (xtimor@gmail.com)
6 | * Licence: http://www.gnu.org/licenses/lgpl.html
7 | * $Id: generate.h 4 2007-08-27 13:11:03Z xtimor $
8 | *
9 | */
10 |
11 | #ifndef __NMEA_GENERATE_H__
12 | #define __NMEA_GENERATE_H__
13 |
14 | #include "sentence.h"
15 |
16 | #ifdef __cplusplus
17 | extern "C" {
18 | #endif
19 |
20 | int nmea_generate(
21 | char *buff, int buff_sz, /* buffer */
22 | const nmeaINFO *info, /* source info */
23 | int generate_mask /* mask of sentence`s (e.g. GPGGA | GPGSA) */
24 | );
25 |
26 | int nmea_gen_GPGGA(char *buff, int buff_sz, nmeaGPGGA *pack);
27 | int nmea_gen_GPGSA(char *buff, int buff_sz, nmeaGPGSA *pack);
28 | int nmea_gen_GPGSV(char *buff, int buff_sz, nmeaGPGSV *pack);
29 | int nmea_gen_GPRMC(char *buff, int buff_sz, nmeaGPRMC *pack);
30 | int nmea_gen_GPVTG(char *buff, int buff_sz, nmeaGPVTG *pack);
31 |
32 | void nmea_info2GPGGA(const nmeaINFO *info, nmeaGPGGA *pack);
33 | void nmea_info2GPGSA(const nmeaINFO *info, nmeaGPGSA *pack);
34 | void nmea_info2GPRMC(const nmeaINFO *info, nmeaGPRMC *pack);
35 | void nmea_info2GPVTG(const nmeaINFO *info, nmeaGPVTG *pack);
36 |
37 | int nmea_gsv_npack(int sat_count);
38 | void nmea_info2GPGSV(const nmeaINFO *info, nmeaGPGSV *pack, int pack_idx);
39 |
40 | #ifdef __cplusplus
41 | }
42 | #endif
43 |
44 | #endif /* __NMEA_GENERATE_H__ */
45 |
--------------------------------------------------------------------------------
/摄像头调试助手/wildfire_MultiFuctionalSerial_assistant/nmeaLib/include/nmea/generate.h:
--------------------------------------------------------------------------------
1 | /*
2 | *
3 | * NMEA library
4 | * URL: http://nmea.sourceforge.net
5 | * Author: Tim (xtimor@gmail.com)
6 | * Licence: http://www.gnu.org/licenses/lgpl.html
7 | * $Id: generate.h 4 2007-08-27 13:11:03Z xtimor $
8 | *
9 | */
10 |
11 | #ifndef __NMEA_GENERATE_H__
12 | #define __NMEA_GENERATE_H__
13 |
14 | #include "sentence.h"
15 |
16 | #ifdef __cplusplus
17 | extern "C" {
18 | #endif
19 |
20 | int nmea_generate(
21 | char *buff, int buff_sz, /* buffer */
22 | const nmeaINFO *info, /* source info */
23 | int generate_mask /* mask of sentence`s (e.g. GPGGA | GPGSA) */
24 | );
25 |
26 | int nmea_gen_GPGGA(char *buff, int buff_sz, nmeaGPGGA *pack);
27 | int nmea_gen_GPGSA(char *buff, int buff_sz, nmeaGPGSA *pack);
28 | int nmea_gen_GPGSV(char *buff, int buff_sz, nmeaGPGSV *pack);
29 | int nmea_gen_GPRMC(char *buff, int buff_sz, nmeaGPRMC *pack);
30 | int nmea_gen_GPVTG(char *buff, int buff_sz, nmeaGPVTG *pack);
31 |
32 | void nmea_info2GPGGA(const nmeaINFO *info, nmeaGPGGA *pack);
33 | void nmea_info2GPGSA(const nmeaINFO *info, nmeaGPGSA *pack);
34 | void nmea_info2GPRMC(const nmeaINFO *info, nmeaGPRMC *pack);
35 | void nmea_info2GPVTG(const nmeaINFO *info, nmeaGPVTG *pack);
36 |
37 | int nmea_gsv_npack(int sat_count);
38 | void nmea_info2GPGSV(const nmeaINFO *info, nmeaGPGSV *pack, int pack_idx);
39 |
40 | #ifdef __cplusplus
41 | }
42 | #endif
43 |
44 | #endif /* __NMEA_GENERATE_H__ */
45 |
--------------------------------------------------------------------------------
/独立串口调试助手/wildfire_MultiFuctionalSerial_assistant/nmeaLib/include/nmea/generate.h:
--------------------------------------------------------------------------------
1 | /*
2 | *
3 | * NMEA library
4 | * URL: http://nmea.sourceforge.net
5 | * Author: Tim (xtimor@gmail.com)
6 | * Licence: http://www.gnu.org/licenses/lgpl.html
7 | * $Id: generate.h 4 2007-08-27 13:11:03Z xtimor $
8 | *
9 | */
10 |
11 | #ifndef __NMEA_GENERATE_H__
12 | #define __NMEA_GENERATE_H__
13 |
14 | #include "sentence.h"
15 |
16 | #ifdef __cplusplus
17 | extern "C" {
18 | #endif
19 |
20 | int nmea_generate(
21 | char *buff, int buff_sz, /* buffer */
22 | const nmeaINFO *info, /* source info */
23 | int generate_mask /* mask of sentence`s (e.g. GPGGA | GPGSA) */
24 | );
25 |
26 | int nmea_gen_GPGGA(char *buff, int buff_sz, nmeaGPGGA *pack);
27 | int nmea_gen_GPGSA(char *buff, int buff_sz, nmeaGPGSA *pack);
28 | int nmea_gen_GPGSV(char *buff, int buff_sz, nmeaGPGSV *pack);
29 | int nmea_gen_GPRMC(char *buff, int buff_sz, nmeaGPRMC *pack);
30 | int nmea_gen_GPVTG(char *buff, int buff_sz, nmeaGPVTG *pack);
31 |
32 | void nmea_info2GPGGA(const nmeaINFO *info, nmeaGPGGA *pack);
33 | void nmea_info2GPGSA(const nmeaINFO *info, nmeaGPGSA *pack);
34 | void nmea_info2GPRMC(const nmeaINFO *info, nmeaGPRMC *pack);
35 | void nmea_info2GPVTG(const nmeaINFO *info, nmeaGPVTG *pack);
36 |
37 | int nmea_gsv_npack(int sat_count);
38 | void nmea_info2GPGSV(const nmeaINFO *info, nmeaGPGSV *pack, int pack_idx);
39 |
40 | #ifdef __cplusplus
41 | }
42 | #endif
43 |
44 | #endif /* __NMEA_GENERATE_H__ */
45 |
--------------------------------------------------------------------------------
/网络调试助手/wildfire_MultiFuctionalSerial_assistant/nmeaLib/include/nmea/generate.h:
--------------------------------------------------------------------------------
1 | /*
2 | *
3 | * NMEA library
4 | * URL: http://nmea.sourceforge.net
5 | * Author: Tim (xtimor@gmail.com)
6 | * Licence: http://www.gnu.org/licenses/lgpl.html
7 | * $Id: generate.h 4 2007-08-27 13:11:03Z xtimor $
8 | *
9 | */
10 |
11 | #ifndef __NMEA_GENERATE_H__
12 | #define __NMEA_GENERATE_H__
13 |
14 | #include "sentence.h"
15 |
16 | #ifdef __cplusplus
17 | extern "C" {
18 | #endif
19 |
20 | int nmea_generate(
21 | char *buff, int buff_sz, /* buffer */
22 | const nmeaINFO *info, /* source info */
23 | int generate_mask /* mask of sentence`s (e.g. GPGGA | GPGSA) */
24 | );
25 |
26 | int nmea_gen_GPGGA(char *buff, int buff_sz, nmeaGPGGA *pack);
27 | int nmea_gen_GPGSA(char *buff, int buff_sz, nmeaGPGSA *pack);
28 | int nmea_gen_GPGSV(char *buff, int buff_sz, nmeaGPGSV *pack);
29 | int nmea_gen_GPRMC(char *buff, int buff_sz, nmeaGPRMC *pack);
30 | int nmea_gen_GPVTG(char *buff, int buff_sz, nmeaGPVTG *pack);
31 |
32 | void nmea_info2GPGGA(const nmeaINFO *info, nmeaGPGGA *pack);
33 | void nmea_info2GPGSA(const nmeaINFO *info, nmeaGPGSA *pack);
34 | void nmea_info2GPRMC(const nmeaINFO *info, nmeaGPRMC *pack);
35 | void nmea_info2GPVTG(const nmeaINFO *info, nmeaGPVTG *pack);
36 |
37 | int nmea_gsv_npack(int sat_count);
38 | void nmea_info2GPGSV(const nmeaINFO *info, nmeaGPGSV *pack, int pack_idx);
39 |
40 | #ifdef __cplusplus
41 | }
42 | #endif
43 |
44 | #endif /* __NMEA_GENERATE_H__ */
45 |
--------------------------------------------------------------------------------
/摄像头调试助手 -单帧字节数版本/wildfire_MultiFuctionalSerial_assistant/nmeaLib/include/nmea/generate.h:
--------------------------------------------------------------------------------
1 | /*
2 | *
3 | * NMEA library
4 | * URL: http://nmea.sourceforge.net
5 | * Author: Tim (xtimor@gmail.com)
6 | * Licence: http://www.gnu.org/licenses/lgpl.html
7 | * $Id: generate.h 4 2007-08-27 13:11:03Z xtimor $
8 | *
9 | */
10 |
11 | #ifndef __NMEA_GENERATE_H__
12 | #define __NMEA_GENERATE_H__
13 |
14 | #include "sentence.h"
15 |
16 | #ifdef __cplusplus
17 | extern "C" {
18 | #endif
19 |
20 | int nmea_generate(
21 | char *buff, int buff_sz, /* buffer */
22 | const nmeaINFO *info, /* source info */
23 | int generate_mask /* mask of sentence`s (e.g. GPGGA | GPGSA) */
24 | );
25 |
26 | int nmea_gen_GPGGA(char *buff, int buff_sz, nmeaGPGGA *pack);
27 | int nmea_gen_GPGSA(char *buff, int buff_sz, nmeaGPGSA *pack);
28 | int nmea_gen_GPGSV(char *buff, int buff_sz, nmeaGPGSV *pack);
29 | int nmea_gen_GPRMC(char *buff, int buff_sz, nmeaGPRMC *pack);
30 | int nmea_gen_GPVTG(char *buff, int buff_sz, nmeaGPVTG *pack);
31 |
32 | void nmea_info2GPGGA(const nmeaINFO *info, nmeaGPGGA *pack);
33 | void nmea_info2GPGSA(const nmeaINFO *info, nmeaGPGSA *pack);
34 | void nmea_info2GPRMC(const nmeaINFO *info, nmeaGPRMC *pack);
35 | void nmea_info2GPVTG(const nmeaINFO *info, nmeaGPVTG *pack);
36 |
37 | int nmea_gsv_npack(int sat_count);
38 | void nmea_info2GPGSV(const nmeaINFO *info, nmeaGPGSV *pack, int pack_idx);
39 |
40 | #ifdef __cplusplus
41 | }
42 | #endif
43 |
44 | #endif /* __NMEA_GENERATE_H__ */
45 |
--------------------------------------------------------------------------------
/摄像头调试助手/wildfire_MultiFuctionalSerial_assistant/wildfire_MultiFuctionalSerial_assistant/MainWindow.xaml:
--------------------------------------------------------------------------------
1 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
--------------------------------------------------------------------------------
/网络调试助手/wildfire_MultiFuctionalSerial_assistant/wildfire_MultiFuctionalSerial_assistant/MainWindow.xaml:
--------------------------------------------------------------------------------
1 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
--------------------------------------------------------------------------------
/摄像头调试助手 -单帧字节数版本/wildfire_MultiFuctionalSerial_assistant/wildfire_MultiFuctionalSerial_assistant/MainWindow.xaml:
--------------------------------------------------------------------------------
1 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
--------------------------------------------------------------------------------
/独立串口调试助手/wildfire_MultiFuctionalSerial_assistant/wildfire_MultiFuctionalSerial_assistant/MainWindow.xaml:
--------------------------------------------------------------------------------
1 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
18 |
19 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
--------------------------------------------------------------------------------
/多功能串口调试助手/wildfire_MultiFuctionalSerial_assistant/nmeaLib/src/context.c:
--------------------------------------------------------------------------------
1 | /*
2 | *
3 | * NMEA library
4 | * URL: http://nmea.sourceforge.net
5 | * Author: Tim (xtimor@gmail.com)
6 | * Licence: http://www.gnu.org/licenses/lgpl.html
7 | * $Id: context.c 17 2008-03-11 11:56:11Z xtimor $
8 | *
9 | */
10 |
11 | #include "nmea/context.h"
12 |
13 | #include
14 | #include
15 | #include
16 |
17 | nmeaPROPERTY * nmea_property()
18 | {
19 | static nmeaPROPERTY prop = {
20 | 0, 0, NMEA_DEF_PARSEBUFF
21 | };
22 |
23 | return ∝
24 | }
25 |
26 | void nmea_trace(const char *str, ...)
27 | {
28 | int size;
29 | va_list arg_list;
30 | char buff[NMEA_DEF_PARSEBUFF];
31 | nmeaTraceFunc func = nmea_property()->trace_func;
32 |
33 | if(func)
34 | {
35 | va_start(arg_list, str);
36 | size = NMEA_POSIX(vsnprintf)(&buff[0], NMEA_DEF_PARSEBUFF - 1, str, arg_list);
37 | va_end(arg_list);
38 |
39 | if(size > 0)
40 | (*func)(&buff[0], size);
41 | }
42 | }
43 |
44 | void nmea_trace_buff(const char *buff, int buff_size)
45 | {
46 | nmeaTraceFunc func = nmea_property()->trace_func;
47 | if(func && buff_size)
48 | (*func)(buff, buff_size);
49 | }
50 |
51 | void nmea_error(const char *str, ...)
52 | {
53 | int size;
54 | va_list arg_list;
55 | char buff[NMEA_DEF_PARSEBUFF];
56 | nmeaErrorFunc func = nmea_property()->error_func;
57 |
58 | if(func)
59 | {
60 | va_start(arg_list, str);
61 | size = NMEA_POSIX(vsnprintf)(&buff[0], NMEA_DEF_PARSEBUFF - 1, str, arg_list);
62 | va_end(arg_list);
63 |
64 | if(size > 0)
65 | (*func)(&buff[0], size);
66 | }
67 | }
68 |
--------------------------------------------------------------------------------
/摄像头调试助手/wildfire_MultiFuctionalSerial_assistant/nmeaLib/src/context.c:
--------------------------------------------------------------------------------
1 | /*
2 | *
3 | * NMEA library
4 | * URL: http://nmea.sourceforge.net
5 | * Author: Tim (xtimor@gmail.com)
6 | * Licence: http://www.gnu.org/licenses/lgpl.html
7 | * $Id: context.c 17 2008-03-11 11:56:11Z xtimor $
8 | *
9 | */
10 |
11 | #include "nmea/context.h"
12 |
13 | #include
14 | #include
15 | #include
16 |
17 | nmeaPROPERTY * nmea_property()
18 | {
19 | static nmeaPROPERTY prop = {
20 | 0, 0, NMEA_DEF_PARSEBUFF
21 | };
22 |
23 | return ∝
24 | }
25 |
26 | void nmea_trace(const char *str, ...)
27 | {
28 | int size;
29 | va_list arg_list;
30 | char buff[NMEA_DEF_PARSEBUFF];
31 | nmeaTraceFunc func = nmea_property()->trace_func;
32 |
33 | if(func)
34 | {
35 | va_start(arg_list, str);
36 | size = NMEA_POSIX(vsnprintf)(&buff[0], NMEA_DEF_PARSEBUFF - 1, str, arg_list);
37 | va_end(arg_list);
38 |
39 | if(size > 0)
40 | (*func)(&buff[0], size);
41 | }
42 | }
43 |
44 | void nmea_trace_buff(const char *buff, int buff_size)
45 | {
46 | nmeaTraceFunc func = nmea_property()->trace_func;
47 | if(func && buff_size)
48 | (*func)(buff, buff_size);
49 | }
50 |
51 | void nmea_error(const char *str, ...)
52 | {
53 | int size;
54 | va_list arg_list;
55 | char buff[NMEA_DEF_PARSEBUFF];
56 | nmeaErrorFunc func = nmea_property()->error_func;
57 |
58 | if(func)
59 | {
60 | va_start(arg_list, str);
61 | size = NMEA_POSIX(vsnprintf)(&buff[0], NMEA_DEF_PARSEBUFF - 1, str, arg_list);
62 | va_end(arg_list);
63 |
64 | if(size > 0)
65 | (*func)(&buff[0], size);
66 | }
67 | }
68 |
--------------------------------------------------------------------------------
/独立串口调试助手/wildfire_MultiFuctionalSerial_assistant/nmeaLib/src/context.c:
--------------------------------------------------------------------------------
1 | /*
2 | *
3 | * NMEA library
4 | * URL: http://nmea.sourceforge.net
5 | * Author: Tim (xtimor@gmail.com)
6 | * Licence: http://www.gnu.org/licenses/lgpl.html
7 | * $Id: context.c 17 2008-03-11 11:56:11Z xtimor $
8 | *
9 | */
10 |
11 | #include "nmea/context.h"
12 |
13 | #include
14 | #include
15 | #include
16 |
17 | nmeaPROPERTY * nmea_property()
18 | {
19 | static nmeaPROPERTY prop = {
20 | 0, 0, NMEA_DEF_PARSEBUFF
21 | };
22 |
23 | return ∝
24 | }
25 |
26 | void nmea_trace(const char *str, ...)
27 | {
28 | int size;
29 | va_list arg_list;
30 | char buff[NMEA_DEF_PARSEBUFF];
31 | nmeaTraceFunc func = nmea_property()->trace_func;
32 |
33 | if(func)
34 | {
35 | va_start(arg_list, str);
36 | size = NMEA_POSIX(vsnprintf)(&buff[0], NMEA_DEF_PARSEBUFF - 1, str, arg_list);
37 | va_end(arg_list);
38 |
39 | if(size > 0)
40 | (*func)(&buff[0], size);
41 | }
42 | }
43 |
44 | void nmea_trace_buff(const char *buff, int buff_size)
45 | {
46 | nmeaTraceFunc func = nmea_property()->trace_func;
47 | if(func && buff_size)
48 | (*func)(buff, buff_size);
49 | }
50 |
51 | void nmea_error(const char *str, ...)
52 | {
53 | int size;
54 | va_list arg_list;
55 | char buff[NMEA_DEF_PARSEBUFF];
56 | nmeaErrorFunc func = nmea_property()->error_func;
57 |
58 | if(func)
59 | {
60 | va_start(arg_list, str);
61 | size = NMEA_POSIX(vsnprintf)(&buff[0], NMEA_DEF_PARSEBUFF - 1, str, arg_list);
62 | va_end(arg_list);
63 |
64 | if(size > 0)
65 | (*func)(&buff[0], size);
66 | }
67 | }
68 |
--------------------------------------------------------------------------------
/网络调试助手/wildfire_MultiFuctionalSerial_assistant/nmeaLib/src/context.c:
--------------------------------------------------------------------------------
1 | /*
2 | *
3 | * NMEA library
4 | * URL: http://nmea.sourceforge.net
5 | * Author: Tim (xtimor@gmail.com)
6 | * Licence: http://www.gnu.org/licenses/lgpl.html
7 | * $Id: context.c 17 2008-03-11 11:56:11Z xtimor $
8 | *
9 | */
10 |
11 | #include "nmea/context.h"
12 |
13 | #include
14 | #include
15 | #include
16 |
17 | nmeaPROPERTY * nmea_property()
18 | {
19 | static nmeaPROPERTY prop = {
20 | 0, 0, NMEA_DEF_PARSEBUFF
21 | };
22 |
23 | return ∝
24 | }
25 |
26 | void nmea_trace(const char *str, ...)
27 | {
28 | int size;
29 | va_list arg_list;
30 | char buff[NMEA_DEF_PARSEBUFF];
31 | nmeaTraceFunc func = nmea_property()->trace_func;
32 |
33 | if(func)
34 | {
35 | va_start(arg_list, str);
36 | size = NMEA_POSIX(vsnprintf)(&buff[0], NMEA_DEF_PARSEBUFF - 1, str, arg_list);
37 | va_end(arg_list);
38 |
39 | if(size > 0)
40 | (*func)(&buff[0], size);
41 | }
42 | }
43 |
44 | void nmea_trace_buff(const char *buff, int buff_size)
45 | {
46 | nmeaTraceFunc func = nmea_property()->trace_func;
47 | if(func && buff_size)
48 | (*func)(buff, buff_size);
49 | }
50 |
51 | void nmea_error(const char *str, ...)
52 | {
53 | int size;
54 | va_list arg_list;
55 | char buff[NMEA_DEF_PARSEBUFF];
56 | nmeaErrorFunc func = nmea_property()->error_func;
57 |
58 | if(func)
59 | {
60 | va_start(arg_list, str);
61 | size = NMEA_POSIX(vsnprintf)(&buff[0], NMEA_DEF_PARSEBUFF - 1, str, arg_list);
62 | va_end(arg_list);
63 |
64 | if(size > 0)
65 | (*func)(&buff[0], size);
66 | }
67 | }
68 |
--------------------------------------------------------------------------------
/摄像头调试助手 -单帧字节数版本/wildfire_MultiFuctionalSerial_assistant/nmeaLib/src/context.c:
--------------------------------------------------------------------------------
1 | /*
2 | *
3 | * NMEA library
4 | * URL: http://nmea.sourceforge.net
5 | * Author: Tim (xtimor@gmail.com)
6 | * Licence: http://www.gnu.org/licenses/lgpl.html
7 | * $Id: context.c 17 2008-03-11 11:56:11Z xtimor $
8 | *
9 | */
10 |
11 | #include "nmea/context.h"
12 |
13 | #include
14 | #include
15 | #include
16 |
17 | nmeaPROPERTY * nmea_property()
18 | {
19 | static nmeaPROPERTY prop = {
20 | 0, 0, NMEA_DEF_PARSEBUFF
21 | };
22 |
23 | return ∝
24 | }
25 |
26 | void nmea_trace(const char *str, ...)
27 | {
28 | int size;
29 | va_list arg_list;
30 | char buff[NMEA_DEF_PARSEBUFF];
31 | nmeaTraceFunc func = nmea_property()->trace_func;
32 |
33 | if(func)
34 | {
35 | va_start(arg_list, str);
36 | size = NMEA_POSIX(vsnprintf)(&buff[0], NMEA_DEF_PARSEBUFF - 1, str, arg_list);
37 | va_end(arg_list);
38 |
39 | if(size > 0)
40 | (*func)(&buff[0], size);
41 | }
42 | }
43 |
44 | void nmea_trace_buff(const char *buff, int buff_size)
45 | {
46 | nmeaTraceFunc func = nmea_property()->trace_func;
47 | if(func && buff_size)
48 | (*func)(buff, buff_size);
49 | }
50 |
51 | void nmea_error(const char *str, ...)
52 | {
53 | int size;
54 | va_list arg_list;
55 | char buff[NMEA_DEF_PARSEBUFF];
56 | nmeaErrorFunc func = nmea_property()->error_func;
57 |
58 | if(func)
59 | {
60 | va_start(arg_list, str);
61 | size = NMEA_POSIX(vsnprintf)(&buff[0], NMEA_DEF_PARSEBUFF - 1, str, arg_list);
62 | va_end(arg_list);
63 |
64 | if(size > 0)
65 | (*func)(&buff[0], size);
66 | }
67 | }
68 |
--------------------------------------------------------------------------------
/摄像头调试助手/wildfire_MultiFuctionalSerial_assistant/wildfire_MultiFuctionalSerial_assistant/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Resources;
3 | using System.Runtime.CompilerServices;
4 | using System.Runtime.InteropServices;
5 | using System.Windows;
6 |
7 | // 有关程序集的常规信息通过以下
8 | // 特性集控制。更改这些特性值可修改
9 | // 与程序集关联的信息。
10 | [assembly: AssemblyTitle("wildfire_MultiFuctionalSerial_assistant")]
11 | [assembly: AssemblyDescription("")]
12 | [assembly: AssemblyConfiguration("")]
13 | [assembly: AssemblyCompany("")]
14 | [assembly: AssemblyProduct("wildfire_MultiFuctionalSerial_assistant")]
15 | [assembly: AssemblyCopyright("Copyright © 2014")]
16 | [assembly: AssemblyTrademark("")]
17 | [assembly: AssemblyCulture("")]
18 |
19 | // 将 ComVisible 设置为 false 使此程序集中的类型
20 | // 对 COM 组件不可见。 如果需要从 COM 访问此程序集中的类型,
21 | // 则将该类型上的 ComVisible 特性设置为 true。
22 | [assembly: ComVisible(false)]
23 |
24 | //若要开始生成可本地化的应用程序,请在
25 | // 中的 .csproj 文件中
26 | //设置 CultureYouAreCodingWith。 例如,如果您在源文件中
27 | //使用的是美国英语,请将 设置为 en-US。 然后取消
28 | //对以下 NeutralResourceLanguage 特性的注释。 更新
29 | //以下行中的“en-US”以匹配项目文件中的 UICulture 设置。
30 |
31 | //[assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.Satellite)]
32 |
33 |
34 | [assembly: ThemeInfo(
35 | ResourceDictionaryLocation.None, //主题特定资源词典所处位置
36 | //(在页面或应用程序资源词典中
37 | // 未找到某个资源的情况下使用)
38 | ResourceDictionaryLocation.SourceAssembly //常规资源词典所处位置
39 | //(在页面、应用程序或任何主题特定资源词典中
40 | // 未找到某个资源的情况下使用)
41 | )]
42 |
43 |
44 | // 程序集的版本信息由下面四个值组成:
45 | //
46 | // 主版本
47 | // 次版本
48 | // 生成号
49 | // 修订号
50 | //
51 | // 可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值,
52 | // 方法是按如下所示使用“*”:
53 | // [assembly: AssemblyVersion("1.0.*")]
54 | [assembly: AssemblyVersion("1.0.0.0")]
55 | [assembly: AssemblyFileVersion("1.0.0.0")]
56 |
--------------------------------------------------------------------------------
/网络调试助手/wildfire_MultiFuctionalSerial_assistant/wildfire_MultiFuctionalSerial_assistant/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Resources;
3 | using System.Runtime.CompilerServices;
4 | using System.Runtime.InteropServices;
5 | using System.Windows;
6 |
7 | // 有关程序集的常规信息通过以下
8 | // 特性集控制。更改这些特性值可修改
9 | // 与程序集关联的信息。
10 | [assembly: AssemblyTitle("wildfire_MultiFuctionalSerial_assistant")]
11 | [assembly: AssemblyDescription("")]
12 | [assembly: AssemblyConfiguration("")]
13 | [assembly: AssemblyCompany("")]
14 | [assembly: AssemblyProduct("wildfire_MultiFuctionalSerial_assistant")]
15 | [assembly: AssemblyCopyright("Copyright © 2014")]
16 | [assembly: AssemblyTrademark("")]
17 | [assembly: AssemblyCulture("")]
18 |
19 | // 将 ComVisible 设置为 false 使此程序集中的类型
20 | // 对 COM 组件不可见。 如果需要从 COM 访问此程序集中的类型,
21 | // 则将该类型上的 ComVisible 特性设置为 true。
22 | [assembly: ComVisible(false)]
23 |
24 | //若要开始生成可本地化的应用程序,请在
25 | // 中的 .csproj 文件中
26 | //设置 CultureYouAreCodingWith。 例如,如果您在源文件中
27 | //使用的是美国英语,请将 设置为 en-US。 然后取消
28 | //对以下 NeutralResourceLanguage 特性的注释。 更新
29 | //以下行中的“en-US”以匹配项目文件中的 UICulture 设置。
30 |
31 | //[assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.Satellite)]
32 |
33 |
34 | [assembly: ThemeInfo(
35 | ResourceDictionaryLocation.None, //主题特定资源词典所处位置
36 | //(在页面或应用程序资源词典中
37 | // 未找到某个资源的情况下使用)
38 | ResourceDictionaryLocation.SourceAssembly //常规资源词典所处位置
39 | //(在页面、应用程序或任何主题特定资源词典中
40 | // 未找到某个资源的情况下使用)
41 | )]
42 |
43 |
44 | // 程序集的版本信息由下面四个值组成:
45 | //
46 | // 主版本
47 | // 次版本
48 | // 生成号
49 | // 修订号
50 | //
51 | // 可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值,
52 | // 方法是按如下所示使用“*”:
53 | // [assembly: AssemblyVersion("1.0.*")]
54 | [assembly: AssemblyVersion("1.0.0.0")]
55 | [assembly: AssemblyFileVersion("1.0.0.0")]
56 |
--------------------------------------------------------------------------------
/多功能串口调试助手/wildfire_MultiFuctionalSerial_assistant/wildfire_MultiFuctionalSerial_assistant/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Resources;
3 | using System.Runtime.CompilerServices;
4 | using System.Runtime.InteropServices;
5 | using System.Windows;
6 |
7 | // 有关程序集的常规信息通过以下
8 | // 特性集控制。更改这些特性值可修改
9 | // 与程序集关联的信息。
10 | [assembly: AssemblyTitle("wildfire_MultiFuctionalSerial_assistant")]
11 | [assembly: AssemblyDescription("")]
12 | [assembly: AssemblyConfiguration("")]
13 | [assembly: AssemblyCompany("")]
14 | [assembly: AssemblyProduct("wildfire_MultiFuctionalSerial_assistant")]
15 | [assembly: AssemblyCopyright("Copyright © 2014")]
16 | [assembly: AssemblyTrademark("")]
17 | [assembly: AssemblyCulture("")]
18 |
19 | // 将 ComVisible 设置为 false 使此程序集中的类型
20 | // 对 COM 组件不可见。 如果需要从 COM 访问此程序集中的类型,
21 | // 则将该类型上的 ComVisible 特性设置为 true。
22 | [assembly: ComVisible(false)]
23 |
24 | //若要开始生成可本地化的应用程序,请在
25 | // 中的 .csproj 文件中
26 | //设置 CultureYouAreCodingWith。 例如,如果您在源文件中
27 | //使用的是美国英语,请将 设置为 en-US。 然后取消
28 | //对以下 NeutralResourceLanguage 特性的注释。 更新
29 | //以下行中的“en-US”以匹配项目文件中的 UICulture 设置。
30 |
31 | //[assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.Satellite)]
32 |
33 |
34 | [assembly: ThemeInfo(
35 | ResourceDictionaryLocation.None, //主题特定资源词典所处位置
36 | //(在页面或应用程序资源词典中
37 | // 未找到某个资源的情况下使用)
38 | ResourceDictionaryLocation.SourceAssembly //常规资源词典所处位置
39 | //(在页面、应用程序或任何主题特定资源词典中
40 | // 未找到某个资源的情况下使用)
41 | )]
42 |
43 |
44 | // 程序集的版本信息由下面四个值组成:
45 | //
46 | // 主版本
47 | // 次版本
48 | // 生成号
49 | // 修订号
50 | //
51 | // 可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值,
52 | // 方法是按如下所示使用“*”:
53 | // [assembly: AssemblyVersion("1.0.*")]
54 | [assembly: AssemblyVersion("1.0.0.0")]
55 | [assembly: AssemblyFileVersion("1.0.0.0")]
56 |
--------------------------------------------------------------------------------
/独立串口调试助手/wildfire_MultiFuctionalSerial_assistant/wildfire_MultiFuctionalSerial_assistant/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Resources;
3 | using System.Runtime.CompilerServices;
4 | using System.Runtime.InteropServices;
5 | using System.Windows;
6 |
7 | // 有关程序集的常规信息通过以下
8 | // 特性集控制。更改这些特性值可修改
9 | // 与程序集关联的信息。
10 | [assembly: AssemblyTitle("wildfire_MultiFuctionalSerial_assistant")]
11 | [assembly: AssemblyDescription("")]
12 | [assembly: AssemblyConfiguration("")]
13 | [assembly: AssemblyCompany("")]
14 | [assembly: AssemblyProduct("wildfire_MultiFuctionalSerial_assistant")]
15 | [assembly: AssemblyCopyright("Copyright © 2014")]
16 | [assembly: AssemblyTrademark("")]
17 | [assembly: AssemblyCulture("")]
18 |
19 | // 将 ComVisible 设置为 false 使此程序集中的类型
20 | // 对 COM 组件不可见。 如果需要从 COM 访问此程序集中的类型,
21 | // 则将该类型上的 ComVisible 特性设置为 true。
22 | [assembly: ComVisible(false)]
23 |
24 | //若要开始生成可本地化的应用程序,请在
25 | // 中的 .csproj 文件中
26 | //设置 CultureYouAreCodingWith。 例如,如果您在源文件中
27 | //使用的是美国英语,请将 设置为 en-US。 然后取消
28 | //对以下 NeutralResourceLanguage 特性的注释。 更新
29 | //以下行中的“en-US”以匹配项目文件中的 UICulture 设置。
30 |
31 | //[assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.Satellite)]
32 |
33 |
34 | [assembly: ThemeInfo(
35 | ResourceDictionaryLocation.None, //主题特定资源词典所处位置
36 | //(在页面或应用程序资源词典中
37 | // 未找到某个资源的情况下使用)
38 | ResourceDictionaryLocation.SourceAssembly //常规资源词典所处位置
39 | //(在页面、应用程序或任何主题特定资源词典中
40 | // 未找到某个资源的情况下使用)
41 | )]
42 |
43 |
44 | // 程序集的版本信息由下面四个值组成:
45 | //
46 | // 主版本
47 | // 次版本
48 | // 生成号
49 | // 修订号
50 | //
51 | // 可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值,
52 | // 方法是按如下所示使用“*”:
53 | // [assembly: AssemblyVersion("1.0.*")]
54 | [assembly: AssemblyVersion("1.0.0.0")]
55 | [assembly: AssemblyFileVersion("1.0.0.0")]
56 |
--------------------------------------------------------------------------------
/摄像头调试助手 -单帧字节数版本/wildfire_MultiFuctionalSerial_assistant/wildfire_MultiFuctionalSerial_assistant/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Resources;
3 | using System.Runtime.CompilerServices;
4 | using System.Runtime.InteropServices;
5 | using System.Windows;
6 |
7 | // 有关程序集的常规信息通过以下
8 | // 特性集控制。更改这些特性值可修改
9 | // 与程序集关联的信息。
10 | [assembly: AssemblyTitle("wildfire_MultiFuctionalSerial_assistant")]
11 | [assembly: AssemblyDescription("")]
12 | [assembly: AssemblyConfiguration("")]
13 | [assembly: AssemblyCompany("")]
14 | [assembly: AssemblyProduct("wildfire_MultiFuctionalSerial_assistant")]
15 | [assembly: AssemblyCopyright("Copyright © 2014")]
16 | [assembly: AssemblyTrademark("")]
17 | [assembly: AssemblyCulture("")]
18 |
19 | // 将 ComVisible 设置为 false 使此程序集中的类型
20 | // 对 COM 组件不可见。 如果需要从 COM 访问此程序集中的类型,
21 | // 则将该类型上的 ComVisible 特性设置为 true。
22 | [assembly: ComVisible(false)]
23 |
24 | //若要开始生成可本地化的应用程序,请在
25 | // 中的 .csproj 文件中
26 | //设置 CultureYouAreCodingWith。 例如,如果您在源文件中
27 | //使用的是美国英语,请将 设置为 en-US。 然后取消
28 | //对以下 NeutralResourceLanguage 特性的注释。 更新
29 | //以下行中的“en-US”以匹配项目文件中的 UICulture 设置。
30 |
31 | //[assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.Satellite)]
32 |
33 |
34 | [assembly: ThemeInfo(
35 | ResourceDictionaryLocation.None, //主题特定资源词典所处位置
36 | //(在页面或应用程序资源词典中
37 | // 未找到某个资源的情况下使用)
38 | ResourceDictionaryLocation.SourceAssembly //常规资源词典所处位置
39 | //(在页面、应用程序或任何主题特定资源词典中
40 | // 未找到某个资源的情况下使用)
41 | )]
42 |
43 |
44 | // 程序集的版本信息由下面四个值组成:
45 | //
46 | // 主版本
47 | // 次版本
48 | // 生成号
49 | // 修订号
50 | //
51 | // 可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值,
52 | // 方法是按如下所示使用“*”:
53 | // [assembly: AssemblyVersion("1.0.*")]
54 | [assembly: AssemblyVersion("1.0.0.0")]
55 | [assembly: AssemblyFileVersion("1.0.0.0")]
56 |
--------------------------------------------------------------------------------
/多功能串口调试助手/wildfire_MultiFuctionalSerial_assistant/wildfire_MultiFuctionalSerial_assistant/MainWindow.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 | using System.Windows;
7 | using System.Windows.Controls;
8 | using System.Windows.Data;
9 | using System.Windows.Documents;
10 | using System.Windows.Input;
11 | using System.Windows.Media;
12 | using System.Windows.Media.Imaging;
13 | using System.Windows.Navigation;
14 | using System.Windows.Shapes;
15 |
16 |
17 | namespace wildfire_MultiFuctionalSerial_assistant
18 | {
19 | ///
20 | /// MainWindow.xaml 的交互逻辑
21 | ///
22 | public partial class MainWindow : Window
23 | {
24 | public MainWindow()
25 | {
26 | InitializeComponent();
27 | }
28 |
29 | private void FunctionTabControl_SelectionChanged(object sender, SelectionChangedEventArgs e)
30 | {
31 |
32 |
33 | if (functionTabControl.SelectedIndex == 2 )
34 | {
35 | softWareMainWindow.Width = 1250;
36 | softWareMainWindow.Height = 680;
37 |
38 | //GPSItem.Content = new wildfire_MultiFuctionalSerial_assistant.SerialBasic();
39 |
40 |
41 |
42 | }
43 | else if (functionTabControl.SelectedIndex == 3 )
44 | {
45 | softWareMainWindow.Width = 1250;
46 | softWareMainWindow.Height = 680;
47 |
48 | //FourmItem.Content = new wildfire_MultiFuctionalSerial_assistant.GPSMap();
49 |
50 |
51 |
52 | }
53 | else
54 | {
55 | softWareMainWindow.Width = 800;
56 | softWareMainWindow.Height = 600;
57 | }
58 | }
59 |
60 |
61 |
62 |
63 | }
64 | }
65 |
--------------------------------------------------------------------------------
/摄像头调试助手/wildfire_MultiFuctionalSerial_assistant/wildfire_MultiFuctionalSerial_assistant/MainWindow.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 | using System.Windows;
7 | using System.Windows.Controls;
8 | using System.Windows.Data;
9 | using System.Windows.Documents;
10 | using System.Windows.Input;
11 | using System.Windows.Media;
12 | using System.Windows.Media.Imaging;
13 | using System.Windows.Navigation;
14 | using System.Windows.Shapes;
15 |
16 |
17 | namespace wildfire_MultiFuctionalSerial_assistant
18 | {
19 | ///
20 | /// MainWindow.xaml 的交互逻辑
21 | ///
22 | public partial class MainWindow : Window
23 | {
24 | public MainWindow()
25 | {
26 | InitializeComponent();
27 | }
28 |
29 | private void FunctionTabControl_SelectionChanged(object sender, SelectionChangedEventArgs e)
30 | {
31 |
32 |
33 | if (functionTabControl.SelectedIndex == 2 )
34 | {
35 | softWareMainWindow.Width = 1250;
36 | softWareMainWindow.Height = 680;
37 |
38 | //GPSItem.Content = new wildfire_MultiFuctionalSerial_assistant.SerialBasic();
39 |
40 |
41 |
42 | }
43 | else if (functionTabControl.SelectedIndex == 3 )
44 | {
45 | softWareMainWindow.Width = 1250;
46 | softWareMainWindow.Height = 680;
47 |
48 | //FourmItem.Content = new wildfire_MultiFuctionalSerial_assistant.GPSMap();
49 |
50 |
51 |
52 | }
53 | else
54 | {
55 | softWareMainWindow.Width = 800;
56 | softWareMainWindow.Height = 600;
57 | }
58 | }
59 |
60 |
61 |
62 |
63 | }
64 | }
65 |
--------------------------------------------------------------------------------
/网络调试助手/wildfire_MultiFuctionalSerial_assistant/wildfire_MultiFuctionalSerial_assistant/MainWindow.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 | using System.Windows;
7 | using System.Windows.Controls;
8 | using System.Windows.Data;
9 | using System.Windows.Documents;
10 | using System.Windows.Input;
11 | using System.Windows.Media;
12 | using System.Windows.Media.Imaging;
13 | using System.Windows.Navigation;
14 | using System.Windows.Shapes;
15 |
16 |
17 | namespace wildfire_MultiFuctionalSerial_assistant
18 | {
19 | ///
20 | /// MainWindow.xaml 的交互逻辑
21 | ///
22 | public partial class MainWindow : Window
23 | {
24 | public MainWindow()
25 | {
26 | InitializeComponent();
27 | }
28 |
29 | private void FunctionTabControl_SelectionChanged(object sender, SelectionChangedEventArgs e)
30 | {
31 |
32 |
33 | if (functionTabControl.SelectedIndex == 2 )
34 | {
35 | softWareMainWindow.Width = 1250;
36 | softWareMainWindow.Height = 680;
37 |
38 | //GPSItem.Content = new wildfire_MultiFuctionalSerial_assistant.SerialBasic();
39 |
40 |
41 |
42 | }
43 | else if (functionTabControl.SelectedIndex == 3 )
44 | {
45 | softWareMainWindow.Width = 1250;
46 | softWareMainWindow.Height = 680;
47 |
48 | //FourmItem.Content = new wildfire_MultiFuctionalSerial_assistant.GPSMap();
49 |
50 |
51 |
52 | }
53 | else
54 | {
55 | softWareMainWindow.Width = 800;
56 | softWareMainWindow.Height = 600;
57 | }
58 | }
59 |
60 |
61 |
62 |
63 | }
64 | }
65 |
--------------------------------------------------------------------------------
/摄像头调试助手 -单帧字节数版本/wildfire_MultiFuctionalSerial_assistant/wildfire_MultiFuctionalSerial_assistant/MainWindow.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 | using System.Windows;
7 | using System.Windows.Controls;
8 | using System.Windows.Data;
9 | using System.Windows.Documents;
10 | using System.Windows.Input;
11 | using System.Windows.Media;
12 | using System.Windows.Media.Imaging;
13 | using System.Windows.Navigation;
14 | using System.Windows.Shapes;
15 |
16 |
17 | namespace wildfire_MultiFuctionalSerial_assistant
18 | {
19 | ///
20 | /// MainWindow.xaml 的交互逻辑
21 | ///
22 | public partial class MainWindow : Window
23 | {
24 | public MainWindow()
25 | {
26 | InitializeComponent();
27 | }
28 |
29 | private void FunctionTabControl_SelectionChanged(object sender, SelectionChangedEventArgs e)
30 | {
31 |
32 |
33 | if (functionTabControl.SelectedIndex == 2 )
34 | {
35 | softWareMainWindow.Width = 1250;
36 | softWareMainWindow.Height = 680;
37 |
38 | //GPSItem.Content = new wildfire_MultiFuctionalSerial_assistant.SerialBasic();
39 |
40 |
41 |
42 | }
43 | else if (functionTabControl.SelectedIndex == 3 )
44 | {
45 | softWareMainWindow.Width = 1250;
46 | softWareMainWindow.Height = 680;
47 |
48 | //FourmItem.Content = new wildfire_MultiFuctionalSerial_assistant.GPSMap();
49 |
50 |
51 |
52 | }
53 | else
54 | {
55 | softWareMainWindow.Width = 800;
56 | softWareMainWindow.Height = 600;
57 | }
58 | }
59 |
60 |
61 |
62 |
63 | }
64 | }
65 |
--------------------------------------------------------------------------------
/摄像头调试助手/wildfire_MultiFuctionalSerial_assistant/wildfire_MultiFuctionalSerial_assistant/Fourm/Fourm.xaml:
--------------------------------------------------------------------------------
1 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
--------------------------------------------------------------------------------
/网络调试助手/wildfire_MultiFuctionalSerial_assistant/wildfire_MultiFuctionalSerial_assistant/Fourm/Fourm.xaml:
--------------------------------------------------------------------------------
1 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
--------------------------------------------------------------------------------
/多功能串口调试助手/wildfire_MultiFuctionalSerial_assistant/wildfire_MultiFuctionalSerial_assistant/Fourm/Fourm.xaml:
--------------------------------------------------------------------------------
1 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
--------------------------------------------------------------------------------
/独立串口调试助手/wildfire_MultiFuctionalSerial_assistant/wildfire_MultiFuctionalSerial_assistant/Fourm/Fourm.xaml:
--------------------------------------------------------------------------------
1 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
--------------------------------------------------------------------------------
/摄像头调试助手 -单帧字节数版本/wildfire_MultiFuctionalSerial_assistant/wildfire_MultiFuctionalSerial_assistant/Fourm/Fourm.xaml:
--------------------------------------------------------------------------------
1 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
--------------------------------------------------------------------------------
/独立串口调试助手/wildfire_MultiFuctionalSerial_assistant/wildfire_MultiFuctionalSerial_assistant/MainWindow.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 | using System.Windows;
7 | using System.Windows.Controls;
8 | using System.Windows.Data;
9 | using System.Windows.Documents;
10 | using System.Windows.Input;
11 | using System.Windows.Media;
12 | using System.Windows.Media.Imaging;
13 | using System.Windows.Navigation;
14 | using System.Windows.Shapes;
15 |
16 |
17 | namespace wildfire_MultiFuctionalSerial_assistant
18 | {
19 | ///
20 | /// MainWindow.xaml 的交互逻辑
21 | ///
22 | public partial class MainWindow : Window
23 | {
24 | public MainWindow()
25 | {
26 | InitializeComponent();
27 | }
28 |
29 | private void FunctionTabControl_SelectionChanged(object sender, SelectionChangedEventArgs e)
30 | {
31 |
32 |
33 | if (functionTabControl.SelectedIndex == 2 )
34 | {
35 | softWareMainWindow.Width = 1250;
36 | softWareMainWindow.Height = 680;
37 |
38 | //GPSItem.Content = new wildfire_MultiFuctionalSerial_assistant.SerialBasic();
39 |
40 |
41 |
42 | }
43 | else if (functionTabControl.SelectedIndex == 3 )
44 | {
45 | softWareMainWindow.Width = 1250;
46 | softWareMainWindow.Height = 680;
47 |
48 | //FourmItem.Content = new wildfire_MultiFuctionalSerial_assistant.GPSMap();
49 |
50 |
51 |
52 | }
53 | else
54 | {
55 | softWareMainWindow.Width = 800;
56 | softWareMainWindow.Height = 600;
57 | }
58 | }
59 |
60 | private void SerialBasic_Loaded(object sender, RoutedEventArgs e)
61 | {
62 |
63 | }
64 |
65 |
66 |
67 |
68 | }
69 | }
70 |
--------------------------------------------------------------------------------
/多功能串口调试助手/wildfire_MultiFuctionalSerial_assistant/wildfire_MultiFuctionalSerial_assistant/Fourm/Fourm.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 | using System.Windows;
7 | using System.Windows.Controls;
8 | using System.Windows.Data;
9 | using System.Windows.Documents;
10 | using System.Windows.Input;
11 | using System.Windows.Media;
12 | using System.Windows.Media.Imaging;
13 | using System.Windows.Navigation;
14 | using System.Windows.Shapes;
15 |
16 | using System.Reflection;
17 |
18 | namespace wildfire_MultiFuctionalSerial_assistant
19 | {
20 | ///
21 | /// Fourm.xaml 的交互逻辑
22 | ///
23 | public partial class Fourm : UserControl
24 | {
25 | public Fourm()
26 | {
27 | InitializeComponent();
28 | }
29 |
30 |
31 | //用于屏蔽webbrowser脚本错误
32 | public void SuppressScriptErrors(object webBrowser, bool Hide)
33 | {
34 | FieldInfo fiComWebBrowser = typeof(object).GetField("_axIWebBrowser2", BindingFlags.Instance | BindingFlags.NonPublic);
35 | if (fiComWebBrowser == null) return;
36 |
37 | object objComWebBrowser = fiComWebBrowser.GetValue(webBrowser);
38 | if (objComWebBrowser == null) return;
39 |
40 | objComWebBrowser.GetType().InvokeMember("Silent", BindingFlags.SetProperty, null, objComWebBrowser, new object[] { Hide });
41 | }
42 |
43 |
44 | private void CommondFrame_Navigating(object sender, NavigatingCancelEventArgs e)
45 | {
46 | SuppressScriptErrors(sender, true);
47 | }
48 |
49 | private void CommondFrame_NavigationFailed(object sender, NavigationFailedEventArgs e)
50 | {
51 | if (e.Exception is System.Net.WebException)
52 | {
53 | MessageBox.Show("\r\n站点不可达\r\n");
54 | e.Handled = true;
55 | }
56 |
57 | }
58 | }
59 | }
60 |
--------------------------------------------------------------------------------
/摄像头调试助手/wildfire_MultiFuctionalSerial_assistant/wildfire_MultiFuctionalSerial_assistant/Fourm/Fourm.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 | using System.Windows;
7 | using System.Windows.Controls;
8 | using System.Windows.Data;
9 | using System.Windows.Documents;
10 | using System.Windows.Input;
11 | using System.Windows.Media;
12 | using System.Windows.Media.Imaging;
13 | using System.Windows.Navigation;
14 | using System.Windows.Shapes;
15 |
16 | using System.Reflection;
17 |
18 | namespace wildfire_MultiFuctionalSerial_assistant
19 | {
20 | ///
21 | /// Fourm.xaml 的交互逻辑
22 | ///
23 | public partial class Fourm : UserControl
24 | {
25 | public Fourm()
26 | {
27 | InitializeComponent();
28 | }
29 |
30 |
31 | //用于屏蔽webbrowser脚本错误
32 | public void SuppressScriptErrors(object webBrowser, bool Hide)
33 | {
34 | FieldInfo fiComWebBrowser = typeof(object).GetField("_axIWebBrowser2", BindingFlags.Instance | BindingFlags.NonPublic);
35 | if (fiComWebBrowser == null) return;
36 |
37 | object objComWebBrowser = fiComWebBrowser.GetValue(webBrowser);
38 | if (objComWebBrowser == null) return;
39 |
40 | objComWebBrowser.GetType().InvokeMember("Silent", BindingFlags.SetProperty, null, objComWebBrowser, new object[] { Hide });
41 | }
42 |
43 |
44 | private void CommondFrame_Navigating(object sender, NavigatingCancelEventArgs e)
45 | {
46 | SuppressScriptErrors(sender, true);
47 | }
48 |
49 | private void CommondFrame_NavigationFailed(object sender, NavigationFailedEventArgs e)
50 | {
51 | if (e.Exception is System.Net.WebException)
52 | {
53 | MessageBox.Show("\r\n站点不可达\r\n");
54 | e.Handled = true;
55 | }
56 |
57 | }
58 | }
59 | }
60 |
--------------------------------------------------------------------------------
/独立串口调试助手/wildfire_MultiFuctionalSerial_assistant/wildfire_MultiFuctionalSerial_assistant/Fourm/Fourm.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 | using System.Windows;
7 | using System.Windows.Controls;
8 | using System.Windows.Data;
9 | using System.Windows.Documents;
10 | using System.Windows.Input;
11 | using System.Windows.Media;
12 | using System.Windows.Media.Imaging;
13 | using System.Windows.Navigation;
14 | using System.Windows.Shapes;
15 |
16 | using System.Reflection;
17 |
18 | namespace wildfire_MultiFuctionalSerial_assistant
19 | {
20 | ///
21 | /// Fourm.xaml 的交互逻辑
22 | ///
23 | public partial class Fourm : UserControl
24 | {
25 | public Fourm()
26 | {
27 | InitializeComponent();
28 | }
29 |
30 |
31 | //用于屏蔽webbrowser脚本错误
32 | public void SuppressScriptErrors(object webBrowser, bool Hide)
33 | {
34 | FieldInfo fiComWebBrowser = typeof(object).GetField("_axIWebBrowser2", BindingFlags.Instance | BindingFlags.NonPublic);
35 | if (fiComWebBrowser == null) return;
36 |
37 | object objComWebBrowser = fiComWebBrowser.GetValue(webBrowser);
38 | if (objComWebBrowser == null) return;
39 |
40 | objComWebBrowser.GetType().InvokeMember("Silent", BindingFlags.SetProperty, null, objComWebBrowser, new object[] { Hide });
41 | }
42 |
43 |
44 | private void CommondFrame_Navigating(object sender, NavigatingCancelEventArgs e)
45 | {
46 | SuppressScriptErrors(sender, true);
47 | }
48 |
49 | private void CommondFrame_NavigationFailed(object sender, NavigationFailedEventArgs e)
50 | {
51 | if (e.Exception is System.Net.WebException)
52 | {
53 | MessageBox.Show("\r\n站点不可达\r\n");
54 | e.Handled = true;
55 | }
56 |
57 | }
58 | }
59 | }
60 |
--------------------------------------------------------------------------------
/网络调试助手/wildfire_MultiFuctionalSerial_assistant/wildfire_MultiFuctionalSerial_assistant/Fourm/Fourm.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 | using System.Windows;
7 | using System.Windows.Controls;
8 | using System.Windows.Data;
9 | using System.Windows.Documents;
10 | using System.Windows.Input;
11 | using System.Windows.Media;
12 | using System.Windows.Media.Imaging;
13 | using System.Windows.Navigation;
14 | using System.Windows.Shapes;
15 |
16 | using System.Reflection;
17 |
18 | namespace wildfire_MultiFuctionalSerial_assistant
19 | {
20 | ///
21 | /// Fourm.xaml 的交互逻辑
22 | ///
23 | public partial class Fourm : UserControl
24 | {
25 | public Fourm()
26 | {
27 | InitializeComponent();
28 | }
29 |
30 |
31 | //用于屏蔽webbrowser脚本错误
32 | public void SuppressScriptErrors(object webBrowser, bool Hide)
33 | {
34 | FieldInfo fiComWebBrowser = typeof(object).GetField("_axIWebBrowser2", BindingFlags.Instance | BindingFlags.NonPublic);
35 | if (fiComWebBrowser == null) return;
36 |
37 | object objComWebBrowser = fiComWebBrowser.GetValue(webBrowser);
38 | if (objComWebBrowser == null) return;
39 |
40 | objComWebBrowser.GetType().InvokeMember("Silent", BindingFlags.SetProperty, null, objComWebBrowser, new object[] { Hide });
41 | }
42 |
43 |
44 | private void CommondFrame_Navigating(object sender, NavigatingCancelEventArgs e)
45 | {
46 | SuppressScriptErrors(sender, true);
47 | }
48 |
49 | private void CommondFrame_NavigationFailed(object sender, NavigationFailedEventArgs e)
50 | {
51 | if (e.Exception is System.Net.WebException)
52 | {
53 | MessageBox.Show("\r\n站点不可达\r\n");
54 | e.Handled = true;
55 | }
56 |
57 | }
58 | }
59 | }
60 |
--------------------------------------------------------------------------------
/摄像头调试助手 -单帧字节数版本/wildfire_MultiFuctionalSerial_assistant/wildfire_MultiFuctionalSerial_assistant/Fourm/Fourm.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 | using System.Windows;
7 | using System.Windows.Controls;
8 | using System.Windows.Data;
9 | using System.Windows.Documents;
10 | using System.Windows.Input;
11 | using System.Windows.Media;
12 | using System.Windows.Media.Imaging;
13 | using System.Windows.Navigation;
14 | using System.Windows.Shapes;
15 |
16 | using System.Reflection;
17 |
18 | namespace wildfire_MultiFuctionalSerial_assistant
19 | {
20 | ///
21 | /// Fourm.xaml 的交互逻辑
22 | ///
23 | public partial class Fourm : UserControl
24 | {
25 | public Fourm()
26 | {
27 | InitializeComponent();
28 | }
29 |
30 |
31 | //用于屏蔽webbrowser脚本错误
32 | public void SuppressScriptErrors(object webBrowser, bool Hide)
33 | {
34 | FieldInfo fiComWebBrowser = typeof(object).GetField("_axIWebBrowser2", BindingFlags.Instance | BindingFlags.NonPublic);
35 | if (fiComWebBrowser == null) return;
36 |
37 | object objComWebBrowser = fiComWebBrowser.GetValue(webBrowser);
38 | if (objComWebBrowser == null) return;
39 |
40 | objComWebBrowser.GetType().InvokeMember("Silent", BindingFlags.SetProperty, null, objComWebBrowser, new object[] { Hide });
41 | }
42 |
43 |
44 | private void CommondFrame_Navigating(object sender, NavigatingCancelEventArgs e)
45 | {
46 | SuppressScriptErrors(sender, true);
47 | }
48 |
49 | private void CommondFrame_NavigationFailed(object sender, NavigationFailedEventArgs e)
50 | {
51 | if (e.Exception is System.Net.WebException)
52 | {
53 | MessageBox.Show("\r\n站点不可达\r\n");
54 | e.Handled = true;
55 | }
56 |
57 | }
58 | }
59 | }
60 |
--------------------------------------------------------------------------------
/网络调试助手/wildfire_MultiFuctionalSerial_assistant/nmeaLib/include/nmea/generator.h:
--------------------------------------------------------------------------------
1 | /*
2 | *
3 | * NMEA library
4 | * URL: http://nmea.sourceforge.net
5 | * Author: Tim (xtimor@gmail.com)
6 | * Licence: http://www.gnu.org/licenses/lgpl.html
7 | * $Id: generator.h 4 2007-08-27 13:11:03Z xtimor $
8 | *
9 | */
10 |
11 | #ifndef __NMEA_GENERATOR_H__
12 | #define __NMEA_GENERATOR_H__
13 |
14 | #include "info.h"
15 |
16 | #ifdef __cplusplus
17 | extern "C" {
18 | #endif
19 |
20 | /*
21 | * high level
22 | */
23 |
24 | struct _nmeaGENERATOR;
25 |
26 | enum nmeaGENTYPE
27 | {
28 | NMEA_GEN_NOISE = 0,
29 | NMEA_GEN_STATIC,
30 | NMEA_GEN_ROTATE,
31 |
32 | NMEA_GEN_SAT_STATIC,
33 | NMEA_GEN_SAT_ROTATE,
34 | NMEA_GEN_POS_RANDMOVE,
35 |
36 | NMEA_GEN_LAST
37 | };
38 |
39 | struct _nmeaGENERATOR * nmea_create_generator(int type, nmeaINFO *info);
40 | void nmea_destroy_generator(struct _nmeaGENERATOR *gen);
41 |
42 | int nmea_generate_from(
43 | char *buff, int buff_sz, /* buffer */
44 | nmeaINFO *info, /* source info */
45 | struct _nmeaGENERATOR *gen, /* generator */
46 | int generate_mask /* mask of sentence`s (e.g. GPGGA | GPGSA) */
47 | );
48 |
49 | /*
50 | * low level
51 | */
52 |
53 | typedef int (*nmeaNMEA_GEN_INIT)(struct _nmeaGENERATOR *gen, nmeaINFO *info);
54 | typedef int (*nmeaNMEA_GEN_LOOP)(struct _nmeaGENERATOR *gen, nmeaINFO *info);
55 | typedef int (*nmeaNMEA_GEN_RESET)(struct _nmeaGENERATOR *gen, nmeaINFO *info);
56 | typedef int (*nmeaNMEA_GEN_DESTROY)(struct _nmeaGENERATOR *gen);
57 |
58 | typedef struct _nmeaGENERATOR
59 | {
60 | void *gen_data;
61 | nmeaNMEA_GEN_INIT init_call;
62 | nmeaNMEA_GEN_LOOP loop_call;
63 | nmeaNMEA_GEN_RESET reset_call;
64 | nmeaNMEA_GEN_DESTROY destroy_call;
65 | struct _nmeaGENERATOR *next;
66 |
67 | } nmeaGENERATOR;
68 |
69 | int nmea_gen_init(nmeaGENERATOR *gen, nmeaINFO *info);
70 | int nmea_gen_loop(nmeaGENERATOR *gen, nmeaINFO *info);
71 | int nmea_gen_reset(nmeaGENERATOR *gen, nmeaINFO *info);
72 | void nmea_gen_destroy(nmeaGENERATOR *gen);
73 | void nmea_gen_add(nmeaGENERATOR *to, nmeaGENERATOR *gen);
74 |
75 | #ifdef __cplusplus
76 | }
77 | #endif
78 |
79 | #endif /* __NMEA_GENERATOR_H__ */
80 |
--------------------------------------------------------------------------------
/多功能串口调试助手/wildfire_MultiFuctionalSerial_assistant/nmeaLib/include/nmea/generator.h:
--------------------------------------------------------------------------------
1 | /*
2 | *
3 | * NMEA library
4 | * URL: http://nmea.sourceforge.net
5 | * Author: Tim (xtimor@gmail.com)
6 | * Licence: http://www.gnu.org/licenses/lgpl.html
7 | * $Id: generator.h 4 2007-08-27 13:11:03Z xtimor $
8 | *
9 | */
10 |
11 | #ifndef __NMEA_GENERATOR_H__
12 | #define __NMEA_GENERATOR_H__
13 |
14 | #include "info.h"
15 |
16 | #ifdef __cplusplus
17 | extern "C" {
18 | #endif
19 |
20 | /*
21 | * high level
22 | */
23 |
24 | struct _nmeaGENERATOR;
25 |
26 | enum nmeaGENTYPE
27 | {
28 | NMEA_GEN_NOISE = 0,
29 | NMEA_GEN_STATIC,
30 | NMEA_GEN_ROTATE,
31 |
32 | NMEA_GEN_SAT_STATIC,
33 | NMEA_GEN_SAT_ROTATE,
34 | NMEA_GEN_POS_RANDMOVE,
35 |
36 | NMEA_GEN_LAST
37 | };
38 |
39 | struct _nmeaGENERATOR * nmea_create_generator(int type, nmeaINFO *info);
40 | void nmea_destroy_generator(struct _nmeaGENERATOR *gen);
41 |
42 | int nmea_generate_from(
43 | char *buff, int buff_sz, /* buffer */
44 | nmeaINFO *info, /* source info */
45 | struct _nmeaGENERATOR *gen, /* generator */
46 | int generate_mask /* mask of sentence`s (e.g. GPGGA | GPGSA) */
47 | );
48 |
49 | /*
50 | * low level
51 | */
52 |
53 | typedef int (*nmeaNMEA_GEN_INIT)(struct _nmeaGENERATOR *gen, nmeaINFO *info);
54 | typedef int (*nmeaNMEA_GEN_LOOP)(struct _nmeaGENERATOR *gen, nmeaINFO *info);
55 | typedef int (*nmeaNMEA_GEN_RESET)(struct _nmeaGENERATOR *gen, nmeaINFO *info);
56 | typedef int (*nmeaNMEA_GEN_DESTROY)(struct _nmeaGENERATOR *gen);
57 |
58 | typedef struct _nmeaGENERATOR
59 | {
60 | void *gen_data;
61 | nmeaNMEA_GEN_INIT init_call;
62 | nmeaNMEA_GEN_LOOP loop_call;
63 | nmeaNMEA_GEN_RESET reset_call;
64 | nmeaNMEA_GEN_DESTROY destroy_call;
65 | struct _nmeaGENERATOR *next;
66 |
67 | } nmeaGENERATOR;
68 |
69 | int nmea_gen_init(nmeaGENERATOR *gen, nmeaINFO *info);
70 | int nmea_gen_loop(nmeaGENERATOR *gen, nmeaINFO *info);
71 | int nmea_gen_reset(nmeaGENERATOR *gen, nmeaINFO *info);
72 | void nmea_gen_destroy(nmeaGENERATOR *gen);
73 | void nmea_gen_add(nmeaGENERATOR *to, nmeaGENERATOR *gen);
74 |
75 | #ifdef __cplusplus
76 | }
77 | #endif
78 |
79 | #endif /* __NMEA_GENERATOR_H__ */
80 |
--------------------------------------------------------------------------------
/摄像头调试助手/wildfire_MultiFuctionalSerial_assistant/nmeaLib/include/nmea/generator.h:
--------------------------------------------------------------------------------
1 | /*
2 | *
3 | * NMEA library
4 | * URL: http://nmea.sourceforge.net
5 | * Author: Tim (xtimor@gmail.com)
6 | * Licence: http://www.gnu.org/licenses/lgpl.html
7 | * $Id: generator.h 4 2007-08-27 13:11:03Z xtimor $
8 | *
9 | */
10 |
11 | #ifndef __NMEA_GENERATOR_H__
12 | #define __NMEA_GENERATOR_H__
13 |
14 | #include "info.h"
15 |
16 | #ifdef __cplusplus
17 | extern "C" {
18 | #endif
19 |
20 | /*
21 | * high level
22 | */
23 |
24 | struct _nmeaGENERATOR;
25 |
26 | enum nmeaGENTYPE
27 | {
28 | NMEA_GEN_NOISE = 0,
29 | NMEA_GEN_STATIC,
30 | NMEA_GEN_ROTATE,
31 |
32 | NMEA_GEN_SAT_STATIC,
33 | NMEA_GEN_SAT_ROTATE,
34 | NMEA_GEN_POS_RANDMOVE,
35 |
36 | NMEA_GEN_LAST
37 | };
38 |
39 | struct _nmeaGENERATOR * nmea_create_generator(int type, nmeaINFO *info);
40 | void nmea_destroy_generator(struct _nmeaGENERATOR *gen);
41 |
42 | int nmea_generate_from(
43 | char *buff, int buff_sz, /* buffer */
44 | nmeaINFO *info, /* source info */
45 | struct _nmeaGENERATOR *gen, /* generator */
46 | int generate_mask /* mask of sentence`s (e.g. GPGGA | GPGSA) */
47 | );
48 |
49 | /*
50 | * low level
51 | */
52 |
53 | typedef int (*nmeaNMEA_GEN_INIT)(struct _nmeaGENERATOR *gen, nmeaINFO *info);
54 | typedef int (*nmeaNMEA_GEN_LOOP)(struct _nmeaGENERATOR *gen, nmeaINFO *info);
55 | typedef int (*nmeaNMEA_GEN_RESET)(struct _nmeaGENERATOR *gen, nmeaINFO *info);
56 | typedef int (*nmeaNMEA_GEN_DESTROY)(struct _nmeaGENERATOR *gen);
57 |
58 | typedef struct _nmeaGENERATOR
59 | {
60 | void *gen_data;
61 | nmeaNMEA_GEN_INIT init_call;
62 | nmeaNMEA_GEN_LOOP loop_call;
63 | nmeaNMEA_GEN_RESET reset_call;
64 | nmeaNMEA_GEN_DESTROY destroy_call;
65 | struct _nmeaGENERATOR *next;
66 |
67 | } nmeaGENERATOR;
68 |
69 | int nmea_gen_init(nmeaGENERATOR *gen, nmeaINFO *info);
70 | int nmea_gen_loop(nmeaGENERATOR *gen, nmeaINFO *info);
71 | int nmea_gen_reset(nmeaGENERATOR *gen, nmeaINFO *info);
72 | void nmea_gen_destroy(nmeaGENERATOR *gen);
73 | void nmea_gen_add(nmeaGENERATOR *to, nmeaGENERATOR *gen);
74 |
75 | #ifdef __cplusplus
76 | }
77 | #endif
78 |
79 | #endif /* __NMEA_GENERATOR_H__ */
80 |
--------------------------------------------------------------------------------
/独立串口调试助手/wildfire_MultiFuctionalSerial_assistant/nmeaLib/include/nmea/generator.h:
--------------------------------------------------------------------------------
1 | /*
2 | *
3 | * NMEA library
4 | * URL: http://nmea.sourceforge.net
5 | * Author: Tim (xtimor@gmail.com)
6 | * Licence: http://www.gnu.org/licenses/lgpl.html
7 | * $Id: generator.h 4 2007-08-27 13:11:03Z xtimor $
8 | *
9 | */
10 |
11 | #ifndef __NMEA_GENERATOR_H__
12 | #define __NMEA_GENERATOR_H__
13 |
14 | #include "info.h"
15 |
16 | #ifdef __cplusplus
17 | extern "C" {
18 | #endif
19 |
20 | /*
21 | * high level
22 | */
23 |
24 | struct _nmeaGENERATOR;
25 |
26 | enum nmeaGENTYPE
27 | {
28 | NMEA_GEN_NOISE = 0,
29 | NMEA_GEN_STATIC,
30 | NMEA_GEN_ROTATE,
31 |
32 | NMEA_GEN_SAT_STATIC,
33 | NMEA_GEN_SAT_ROTATE,
34 | NMEA_GEN_POS_RANDMOVE,
35 |
36 | NMEA_GEN_LAST
37 | };
38 |
39 | struct _nmeaGENERATOR * nmea_create_generator(int type, nmeaINFO *info);
40 | void nmea_destroy_generator(struct _nmeaGENERATOR *gen);
41 |
42 | int nmea_generate_from(
43 | char *buff, int buff_sz, /* buffer */
44 | nmeaINFO *info, /* source info */
45 | struct _nmeaGENERATOR *gen, /* generator */
46 | int generate_mask /* mask of sentence`s (e.g. GPGGA | GPGSA) */
47 | );
48 |
49 | /*
50 | * low level
51 | */
52 |
53 | typedef int (*nmeaNMEA_GEN_INIT)(struct _nmeaGENERATOR *gen, nmeaINFO *info);
54 | typedef int (*nmeaNMEA_GEN_LOOP)(struct _nmeaGENERATOR *gen, nmeaINFO *info);
55 | typedef int (*nmeaNMEA_GEN_RESET)(struct _nmeaGENERATOR *gen, nmeaINFO *info);
56 | typedef int (*nmeaNMEA_GEN_DESTROY)(struct _nmeaGENERATOR *gen);
57 |
58 | typedef struct _nmeaGENERATOR
59 | {
60 | void *gen_data;
61 | nmeaNMEA_GEN_INIT init_call;
62 | nmeaNMEA_GEN_LOOP loop_call;
63 | nmeaNMEA_GEN_RESET reset_call;
64 | nmeaNMEA_GEN_DESTROY destroy_call;
65 | struct _nmeaGENERATOR *next;
66 |
67 | } nmeaGENERATOR;
68 |
69 | int nmea_gen_init(nmeaGENERATOR *gen, nmeaINFO *info);
70 | int nmea_gen_loop(nmeaGENERATOR *gen, nmeaINFO *info);
71 | int nmea_gen_reset(nmeaGENERATOR *gen, nmeaINFO *info);
72 | void nmea_gen_destroy(nmeaGENERATOR *gen);
73 | void nmea_gen_add(nmeaGENERATOR *to, nmeaGENERATOR *gen);
74 |
75 | #ifdef __cplusplus
76 | }
77 | #endif
78 |
79 | #endif /* __NMEA_GENERATOR_H__ */
80 |
--------------------------------------------------------------------------------
/摄像头调试助手 -单帧字节数版本/wildfire_MultiFuctionalSerial_assistant/nmeaLib/include/nmea/generator.h:
--------------------------------------------------------------------------------
1 | /*
2 | *
3 | * NMEA library
4 | * URL: http://nmea.sourceforge.net
5 | * Author: Tim (xtimor@gmail.com)
6 | * Licence: http://www.gnu.org/licenses/lgpl.html
7 | * $Id: generator.h 4 2007-08-27 13:11:03Z xtimor $
8 | *
9 | */
10 |
11 | #ifndef __NMEA_GENERATOR_H__
12 | #define __NMEA_GENERATOR_H__
13 |
14 | #include "info.h"
15 |
16 | #ifdef __cplusplus
17 | extern "C" {
18 | #endif
19 |
20 | /*
21 | * high level
22 | */
23 |
24 | struct _nmeaGENERATOR;
25 |
26 | enum nmeaGENTYPE
27 | {
28 | NMEA_GEN_NOISE = 0,
29 | NMEA_GEN_STATIC,
30 | NMEA_GEN_ROTATE,
31 |
32 | NMEA_GEN_SAT_STATIC,
33 | NMEA_GEN_SAT_ROTATE,
34 | NMEA_GEN_POS_RANDMOVE,
35 |
36 | NMEA_GEN_LAST
37 | };
38 |
39 | struct _nmeaGENERATOR * nmea_create_generator(int type, nmeaINFO *info);
40 | void nmea_destroy_generator(struct _nmeaGENERATOR *gen);
41 |
42 | int nmea_generate_from(
43 | char *buff, int buff_sz, /* buffer */
44 | nmeaINFO *info, /* source info */
45 | struct _nmeaGENERATOR *gen, /* generator */
46 | int generate_mask /* mask of sentence`s (e.g. GPGGA | GPGSA) */
47 | );
48 |
49 | /*
50 | * low level
51 | */
52 |
53 | typedef int (*nmeaNMEA_GEN_INIT)(struct _nmeaGENERATOR *gen, nmeaINFO *info);
54 | typedef int (*nmeaNMEA_GEN_LOOP)(struct _nmeaGENERATOR *gen, nmeaINFO *info);
55 | typedef int (*nmeaNMEA_GEN_RESET)(struct _nmeaGENERATOR *gen, nmeaINFO *info);
56 | typedef int (*nmeaNMEA_GEN_DESTROY)(struct _nmeaGENERATOR *gen);
57 |
58 | typedef struct _nmeaGENERATOR
59 | {
60 | void *gen_data;
61 | nmeaNMEA_GEN_INIT init_call;
62 | nmeaNMEA_GEN_LOOP loop_call;
63 | nmeaNMEA_GEN_RESET reset_call;
64 | nmeaNMEA_GEN_DESTROY destroy_call;
65 | struct _nmeaGENERATOR *next;
66 |
67 | } nmeaGENERATOR;
68 |
69 | int nmea_gen_init(nmeaGENERATOR *gen, nmeaINFO *info);
70 | int nmea_gen_loop(nmeaGENERATOR *gen, nmeaINFO *info);
71 | int nmea_gen_reset(nmeaGENERATOR *gen, nmeaINFO *info);
72 | void nmea_gen_destroy(nmeaGENERATOR *gen);
73 | void nmea_gen_add(nmeaGENERATOR *to, nmeaGENERATOR *gen);
74 |
75 | #ifdef __cplusplus
76 | }
77 | #endif
78 |
79 | #endif /* __NMEA_GENERATOR_H__ */
80 |
--------------------------------------------------------------------------------
/多功能串口调试助手/wildfire_MultiFuctionalSerial_assistant/nmeaLib/include/nmea/gmath.h:
--------------------------------------------------------------------------------
1 | /*
2 | *
3 | * NMEA library
4 | * URL: http://nmea.sourceforge.net
5 | * Author: Tim (xtimor@gmail.com)
6 | * Licence: http://www.gnu.org/licenses/lgpl.html
7 | * $Id: gmath.h 17 2008-03-11 11:56:11Z xtimor $
8 | *
9 | */
10 |
11 | #ifndef __NMEA_GMATH_H__
12 | #define __NMEA_GMATH_H__
13 |
14 | #include "info.h"
15 |
16 | #define NMEA_PI (3.141592653589793) /**< PI value */
17 | #define NMEA_PI180 (NMEA_PI / 180) /**< PI division by 180 */
18 | #define NMEA_EARTHRADIUS_KM (6378) /**< Earth's mean radius in km */
19 | #define NMEA_EARTHRADIUS_M (NMEA_EARTHRADIUS_KM * 1000) /**< Earth's mean radius in m */
20 | #define NMEA_EARTH_SEMIMAJORAXIS_M (6378137.0) /**< Earth's semi-major axis in m according WGS84 */
21 | #define NMEA_EARTH_SEMIMAJORAXIS_KM (NMEA_EARTHMAJORAXIS_KM / 1000) /**< Earth's semi-major axis in km according WGS 84 */
22 | #define NMEA_EARTH_FLATTENING (1 / 298.257223563) /**< Earth's flattening according WGS 84 */
23 | #define NMEA_DOP_FACTOR (5) /**< Factor for translating DOP to meters */
24 |
25 | #ifdef __cplusplus
26 | extern "C" {
27 | #endif
28 |
29 | /*
30 | * degree VS radian
31 | */
32 |
33 | __declspec(dllexport) double nmea_degree2radian(double val);
34 | double nmea_radian2degree(double val);
35 |
36 | /*
37 | * NDEG (NMEA degree)
38 | */
39 |
40 | double nmea_ndeg2degree(double val);
41 | double nmea_degree2ndeg(double val);
42 |
43 | double nmea_ndeg2radian(double val);
44 | double nmea_radian2ndeg(double val);
45 |
46 | /*
47 | * DOP
48 | */
49 |
50 | double nmea_calc_pdop(double hdop, double vdop);
51 | double nmea_dop2meters(double dop);
52 | double nmea_meters2dop(double meters);
53 |
54 | /*
55 | * positions work
56 | */
57 |
58 | void nmea_info2pos(const nmeaINFO *info, nmeaPOS *pos);
59 | void nmea_pos2info(const nmeaPOS *pos, nmeaINFO *info);
60 |
61 | double nmea_distance(
62 | const nmeaPOS *from_pos,
63 | const nmeaPOS *to_pos
64 | );
65 |
66 | double nmea_distance_ellipsoid(
67 | const nmeaPOS *from_pos,
68 | const nmeaPOS *to_pos,
69 | double *from_azimuth,
70 | double *to_azimuth
71 | );
72 |
73 | int nmea_move_horz(
74 | const nmeaPOS *start_pos,
75 | nmeaPOS *end_pos,
76 | double azimuth,
77 | double distance
78 | );
79 |
80 | int nmea_move_horz_ellipsoid(
81 | const nmeaPOS *start_pos,
82 | nmeaPOS *end_pos,
83 | double azimuth,
84 | double distance,
85 | double *end_azimuth
86 | );
87 |
88 | #ifdef __cplusplus
89 | }
90 | #endif
91 |
92 | #endif /* __NMEA_GMATH_H__ */
93 |
--------------------------------------------------------------------------------
/多功能串口调试助手/wildfire_MultiFuctionalSerial_assistant/wildfire_MultiFuctionalSerial_assistant/Properties/Resources.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // 此代码由工具生成。
4 | // 运行时版本:4.0.30319.18444
5 | //
6 | // 对此文件的更改可能会导致不正确的行为,并且如果
7 | // 重新生成代码,这些更改将会丢失。
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace wildfire_MultiFuctionalSerial_assistant.Properties {
12 | using System;
13 |
14 |
15 | ///
16 | /// 一个强类型的资源类,用于查找本地化的字符串等。
17 | ///
18 | // 此类是由 StronglyTypedResourceBuilder
19 | // 类通过类似于 ResGen 或 Visual Studio 的工具自动生成的。
20 | // 若要添加或移除成员,请编辑 .ResX 文件,然后重新运行 ResGen
21 | // (以 /str 作为命令选项),或重新生成 VS 项目。
22 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
23 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
24 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
25 | internal class Resources {
26 |
27 | private static global::System.Resources.ResourceManager resourceMan;
28 |
29 | private static global::System.Globalization.CultureInfo resourceCulture;
30 |
31 | [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
32 | internal Resources() {
33 | }
34 |
35 | ///
36 | /// 返回此类使用的缓存的 ResourceManager 实例。
37 | ///
38 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
39 | internal static global::System.Resources.ResourceManager ResourceManager {
40 | get {
41 | if (object.ReferenceEquals(resourceMan, null)) {
42 | global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("wildfire_MultiFuctionalSerial_assistant.Properties.Resources", typeof(Resources).Assembly);
43 | resourceMan = temp;
44 | }
45 | return resourceMan;
46 | }
47 | }
48 |
49 | ///
50 | /// 使用此强类型资源类,为所有资源查找
51 | /// 重写当前线程的 CurrentUICulture 属性。
52 | ///
53 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
54 | internal static global::System.Globalization.CultureInfo Culture {
55 | get {
56 | return resourceCulture;
57 | }
58 | set {
59 | resourceCulture = value;
60 | }
61 | }
62 | }
63 | }
64 |
--------------------------------------------------------------------------------
/摄像头调试助手/wildfire_MultiFuctionalSerial_assistant/nmeaLib/include/nmea/gmath.h:
--------------------------------------------------------------------------------
1 | /*
2 | *
3 | * NMEA library
4 | * URL: http://nmea.sourceforge.net
5 | * Author: Tim (xtimor@gmail.com)
6 | * Licence: http://www.gnu.org/licenses/lgpl.html
7 | * $Id: gmath.h 17 2008-03-11 11:56:11Z xtimor $
8 | *
9 | */
10 |
11 | #ifndef __NMEA_GMATH_H__
12 | #define __NMEA_GMATH_H__
13 |
14 | #include "info.h"
15 |
16 | #define NMEA_PI (3.141592653589793) /**< PI value */
17 | #define NMEA_PI180 (NMEA_PI / 180) /**< PI division by 180 */
18 | #define NMEA_EARTHRADIUS_KM (6378) /**< Earth's mean radius in km */
19 | #define NMEA_EARTHRADIUS_M (NMEA_EARTHRADIUS_KM * 1000) /**< Earth's mean radius in m */
20 | #define NMEA_EARTH_SEMIMAJORAXIS_M (6378137.0) /**< Earth's semi-major axis in m according WGS84 */
21 | #define NMEA_EARTH_SEMIMAJORAXIS_KM (NMEA_EARTHMAJORAXIS_KM / 1000) /**< Earth's semi-major axis in km according WGS 84 */
22 | #define NMEA_EARTH_FLATTENING (1 / 298.257223563) /**< Earth's flattening according WGS 84 */
23 | #define NMEA_DOP_FACTOR (5) /**< Factor for translating DOP to meters */
24 |
25 | #ifdef __cplusplus
26 | extern "C" {
27 | #endif
28 |
29 | /*
30 | * degree VS radian
31 | */
32 |
33 | __declspec(dllexport) double nmea_degree2radian(double val);
34 | double nmea_radian2degree(double val);
35 |
36 | /*
37 | * NDEG (NMEA degree)
38 | */
39 |
40 | double nmea_ndeg2degree(double val);
41 | double nmea_degree2ndeg(double val);
42 |
43 | double nmea_ndeg2radian(double val);
44 | double nmea_radian2ndeg(double val);
45 |
46 | /*
47 | * DOP
48 | */
49 |
50 | double nmea_calc_pdop(double hdop, double vdop);
51 | double nmea_dop2meters(double dop);
52 | double nmea_meters2dop(double meters);
53 |
54 | /*
55 | * positions work
56 | */
57 |
58 | void nmea_info2pos(const nmeaINFO *info, nmeaPOS *pos);
59 | void nmea_pos2info(const nmeaPOS *pos, nmeaINFO *info);
60 |
61 | double nmea_distance(
62 | const nmeaPOS *from_pos,
63 | const nmeaPOS *to_pos
64 | );
65 |
66 | double nmea_distance_ellipsoid(
67 | const nmeaPOS *from_pos,
68 | const nmeaPOS *to_pos,
69 | double *from_azimuth,
70 | double *to_azimuth
71 | );
72 |
73 | int nmea_move_horz(
74 | const nmeaPOS *start_pos,
75 | nmeaPOS *end_pos,
76 | double azimuth,
77 | double distance
78 | );
79 |
80 | int nmea_move_horz_ellipsoid(
81 | const nmeaPOS *start_pos,
82 | nmeaPOS *end_pos,
83 | double azimuth,
84 | double distance,
85 | double *end_azimuth
86 | );
87 |
88 | #ifdef __cplusplus
89 | }
90 | #endif
91 |
92 | #endif /* __NMEA_GMATH_H__ */
93 |
--------------------------------------------------------------------------------
/摄像头调试助手/wildfire_MultiFuctionalSerial_assistant/wildfire_MultiFuctionalSerial_assistant/Properties/Resources.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // 此代码由工具生成。
4 | // 运行时版本:4.0.30319.18444
5 | //
6 | // 对此文件的更改可能会导致不正确的行为,并且如果
7 | // 重新生成代码,这些更改将会丢失。
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace wildfire_MultiFuctionalSerial_assistant.Properties {
12 | using System;
13 |
14 |
15 | ///
16 | /// 一个强类型的资源类,用于查找本地化的字符串等。
17 | ///
18 | // 此类是由 StronglyTypedResourceBuilder
19 | // 类通过类似于 ResGen 或 Visual Studio 的工具自动生成的。
20 | // 若要添加或移除成员,请编辑 .ResX 文件,然后重新运行 ResGen
21 | // (以 /str 作为命令选项),或重新生成 VS 项目。
22 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
23 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
24 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
25 | internal class Resources {
26 |
27 | private static global::System.Resources.ResourceManager resourceMan;
28 |
29 | private static global::System.Globalization.CultureInfo resourceCulture;
30 |
31 | [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
32 | internal Resources() {
33 | }
34 |
35 | ///
36 | /// 返回此类使用的缓存的 ResourceManager 实例。
37 | ///
38 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
39 | internal static global::System.Resources.ResourceManager ResourceManager {
40 | get {
41 | if (object.ReferenceEquals(resourceMan, null)) {
42 | global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("wildfire_MultiFuctionalSerial_assistant.Properties.Resources", typeof(Resources).Assembly);
43 | resourceMan = temp;
44 | }
45 | return resourceMan;
46 | }
47 | }
48 |
49 | ///
50 | /// 使用此强类型资源类,为所有资源查找
51 | /// 重写当前线程的 CurrentUICulture 属性。
52 | ///
53 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
54 | internal static global::System.Globalization.CultureInfo Culture {
55 | get {
56 | return resourceCulture;
57 | }
58 | set {
59 | resourceCulture = value;
60 | }
61 | }
62 | }
63 | }
64 |
--------------------------------------------------------------------------------
/独立串口调试助手/wildfire_MultiFuctionalSerial_assistant/nmeaLib/include/nmea/gmath.h:
--------------------------------------------------------------------------------
1 | /*
2 | *
3 | * NMEA library
4 | * URL: http://nmea.sourceforge.net
5 | * Author: Tim (xtimor@gmail.com)
6 | * Licence: http://www.gnu.org/licenses/lgpl.html
7 | * $Id: gmath.h 17 2008-03-11 11:56:11Z xtimor $
8 | *
9 | */
10 |
11 | #ifndef __NMEA_GMATH_H__
12 | #define __NMEA_GMATH_H__
13 |
14 | #include "info.h"
15 |
16 | #define NMEA_PI (3.141592653589793) /**< PI value */
17 | #define NMEA_PI180 (NMEA_PI / 180) /**< PI division by 180 */
18 | #define NMEA_EARTHRADIUS_KM (6378) /**< Earth's mean radius in km */
19 | #define NMEA_EARTHRADIUS_M (NMEA_EARTHRADIUS_KM * 1000) /**< Earth's mean radius in m */
20 | #define NMEA_EARTH_SEMIMAJORAXIS_M (6378137.0) /**< Earth's semi-major axis in m according WGS84 */
21 | #define NMEA_EARTH_SEMIMAJORAXIS_KM (NMEA_EARTHMAJORAXIS_KM / 1000) /**< Earth's semi-major axis in km according WGS 84 */
22 | #define NMEA_EARTH_FLATTENING (1 / 298.257223563) /**< Earth's flattening according WGS 84 */
23 | #define NMEA_DOP_FACTOR (5) /**< Factor for translating DOP to meters */
24 |
25 | #ifdef __cplusplus
26 | extern "C" {
27 | #endif
28 |
29 | /*
30 | * degree VS radian
31 | */
32 |
33 | __declspec(dllexport) double nmea_degree2radian(double val);
34 | double nmea_radian2degree(double val);
35 |
36 | /*
37 | * NDEG (NMEA degree)
38 | */
39 |
40 | double nmea_ndeg2degree(double val);
41 | double nmea_degree2ndeg(double val);
42 |
43 | double nmea_ndeg2radian(double val);
44 | double nmea_radian2ndeg(double val);
45 |
46 | /*
47 | * DOP
48 | */
49 |
50 | double nmea_calc_pdop(double hdop, double vdop);
51 | double nmea_dop2meters(double dop);
52 | double nmea_meters2dop(double meters);
53 |
54 | /*
55 | * positions work
56 | */
57 |
58 | void nmea_info2pos(const nmeaINFO *info, nmeaPOS *pos);
59 | void nmea_pos2info(const nmeaPOS *pos, nmeaINFO *info);
60 |
61 | double nmea_distance(
62 | const nmeaPOS *from_pos,
63 | const nmeaPOS *to_pos
64 | );
65 |
66 | double nmea_distance_ellipsoid(
67 | const nmeaPOS *from_pos,
68 | const nmeaPOS *to_pos,
69 | double *from_azimuth,
70 | double *to_azimuth
71 | );
72 |
73 | int nmea_move_horz(
74 | const nmeaPOS *start_pos,
75 | nmeaPOS *end_pos,
76 | double azimuth,
77 | double distance
78 | );
79 |
80 | int nmea_move_horz_ellipsoid(
81 | const nmeaPOS *start_pos,
82 | nmeaPOS *end_pos,
83 | double azimuth,
84 | double distance,
85 | double *end_azimuth
86 | );
87 |
88 | #ifdef __cplusplus
89 | }
90 | #endif
91 |
92 | #endif /* __NMEA_GMATH_H__ */
93 |
--------------------------------------------------------------------------------
/独立串口调试助手/wildfire_MultiFuctionalSerial_assistant/wildfire_MultiFuctionalSerial_assistant/Properties/Resources.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // 此代码由工具生成。
4 | // 运行时版本:4.0.30319.18444
5 | //
6 | // 对此文件的更改可能会导致不正确的行为,并且如果
7 | // 重新生成代码,这些更改将会丢失。
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace wildfire_MultiFuctionalSerial_assistant.Properties {
12 | using System;
13 |
14 |
15 | ///
16 | /// 一个强类型的资源类,用于查找本地化的字符串等。
17 | ///
18 | // 此类是由 StronglyTypedResourceBuilder
19 | // 类通过类似于 ResGen 或 Visual Studio 的工具自动生成的。
20 | // 若要添加或移除成员,请编辑 .ResX 文件,然后重新运行 ResGen
21 | // (以 /str 作为命令选项),或重新生成 VS 项目。
22 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
23 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
24 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
25 | internal class Resources {
26 |
27 | private static global::System.Resources.ResourceManager resourceMan;
28 |
29 | private static global::System.Globalization.CultureInfo resourceCulture;
30 |
31 | [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
32 | internal Resources() {
33 | }
34 |
35 | ///
36 | /// 返回此类使用的缓存的 ResourceManager 实例。
37 | ///
38 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
39 | internal static global::System.Resources.ResourceManager ResourceManager {
40 | get {
41 | if (object.ReferenceEquals(resourceMan, null)) {
42 | global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("wildfire_MultiFuctionalSerial_assistant.Properties.Resources", typeof(Resources).Assembly);
43 | resourceMan = temp;
44 | }
45 | return resourceMan;
46 | }
47 | }
48 |
49 | ///
50 | /// 使用此强类型资源类,为所有资源查找
51 | /// 重写当前线程的 CurrentUICulture 属性。
52 | ///
53 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
54 | internal static global::System.Globalization.CultureInfo Culture {
55 | get {
56 | return resourceCulture;
57 | }
58 | set {
59 | resourceCulture = value;
60 | }
61 | }
62 | }
63 | }
64 |
--------------------------------------------------------------------------------
/网络调试助手/wildfire_MultiFuctionalSerial_assistant/nmeaLib/include/nmea/gmath.h:
--------------------------------------------------------------------------------
1 | /*
2 | *
3 | * NMEA library
4 | * URL: http://nmea.sourceforge.net
5 | * Author: Tim (xtimor@gmail.com)
6 | * Licence: http://www.gnu.org/licenses/lgpl.html
7 | * $Id: gmath.h 17 2008-03-11 11:56:11Z xtimor $
8 | *
9 | */
10 |
11 | #ifndef __NMEA_GMATH_H__
12 | #define __NMEA_GMATH_H__
13 |
14 | #include "info.h"
15 |
16 | #define NMEA_PI (3.141592653589793) /**< PI value */
17 | #define NMEA_PI180 (NMEA_PI / 180) /**< PI division by 180 */
18 | #define NMEA_EARTHRADIUS_KM (6378) /**< Earth's mean radius in km */
19 | #define NMEA_EARTHRADIUS_M (NMEA_EARTHRADIUS_KM * 1000) /**< Earth's mean radius in m */
20 | #define NMEA_EARTH_SEMIMAJORAXIS_M (6378137.0) /**< Earth's semi-major axis in m according WGS84 */
21 | #define NMEA_EARTH_SEMIMAJORAXIS_KM (NMEA_EARTHMAJORAXIS_KM / 1000) /**< Earth's semi-major axis in km according WGS 84 */
22 | #define NMEA_EARTH_FLATTENING (1 / 298.257223563) /**< Earth's flattening according WGS 84 */
23 | #define NMEA_DOP_FACTOR (5) /**< Factor for translating DOP to meters */
24 |
25 | #ifdef __cplusplus
26 | extern "C" {
27 | #endif
28 |
29 | /*
30 | * degree VS radian
31 | */
32 |
33 | __declspec(dllexport) double nmea_degree2radian(double val);
34 | double nmea_radian2degree(double val);
35 |
36 | /*
37 | * NDEG (NMEA degree)
38 | */
39 |
40 | double nmea_ndeg2degree(double val);
41 | double nmea_degree2ndeg(double val);
42 |
43 | double nmea_ndeg2radian(double val);
44 | double nmea_radian2ndeg(double val);
45 |
46 | /*
47 | * DOP
48 | */
49 |
50 | double nmea_calc_pdop(double hdop, double vdop);
51 | double nmea_dop2meters(double dop);
52 | double nmea_meters2dop(double meters);
53 |
54 | /*
55 | * positions work
56 | */
57 |
58 | void nmea_info2pos(const nmeaINFO *info, nmeaPOS *pos);
59 | void nmea_pos2info(const nmeaPOS *pos, nmeaINFO *info);
60 |
61 | double nmea_distance(
62 | const nmeaPOS *from_pos,
63 | const nmeaPOS *to_pos
64 | );
65 |
66 | double nmea_distance_ellipsoid(
67 | const nmeaPOS *from_pos,
68 | const nmeaPOS *to_pos,
69 | double *from_azimuth,
70 | double *to_azimuth
71 | );
72 |
73 | int nmea_move_horz(
74 | const nmeaPOS *start_pos,
75 | nmeaPOS *end_pos,
76 | double azimuth,
77 | double distance
78 | );
79 |
80 | int nmea_move_horz_ellipsoid(
81 | const nmeaPOS *start_pos,
82 | nmeaPOS *end_pos,
83 | double azimuth,
84 | double distance,
85 | double *end_azimuth
86 | );
87 |
88 | #ifdef __cplusplus
89 | }
90 | #endif
91 |
92 | #endif /* __NMEA_GMATH_H__ */
93 |
--------------------------------------------------------------------------------
/网络调试助手/wildfire_MultiFuctionalSerial_assistant/wildfire_MultiFuctionalSerial_assistant/Properties/Resources.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // 此代码由工具生成。
4 | // 运行时版本:4.0.30319.18444
5 | //
6 | // 对此文件的更改可能会导致不正确的行为,并且如果
7 | // 重新生成代码,这些更改将会丢失。
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace wildfire_MultiFuctionalSerial_assistant.Properties {
12 | using System;
13 |
14 |
15 | ///
16 | /// 一个强类型的资源类,用于查找本地化的字符串等。
17 | ///
18 | // 此类是由 StronglyTypedResourceBuilder
19 | // 类通过类似于 ResGen 或 Visual Studio 的工具自动生成的。
20 | // 若要添加或移除成员,请编辑 .ResX 文件,然后重新运行 ResGen
21 | // (以 /str 作为命令选项),或重新生成 VS 项目。
22 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
23 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
24 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
25 | internal class Resources {
26 |
27 | private static global::System.Resources.ResourceManager resourceMan;
28 |
29 | private static global::System.Globalization.CultureInfo resourceCulture;
30 |
31 | [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
32 | internal Resources() {
33 | }
34 |
35 | ///
36 | /// 返回此类使用的缓存的 ResourceManager 实例。
37 | ///
38 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
39 | internal static global::System.Resources.ResourceManager ResourceManager {
40 | get {
41 | if (object.ReferenceEquals(resourceMan, null)) {
42 | global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("wildfire_MultiFuctionalSerial_assistant.Properties.Resources", typeof(Resources).Assembly);
43 | resourceMan = temp;
44 | }
45 | return resourceMan;
46 | }
47 | }
48 |
49 | ///
50 | /// 使用此强类型资源类,为所有资源查找
51 | /// 重写当前线程的 CurrentUICulture 属性。
52 | ///
53 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
54 | internal static global::System.Globalization.CultureInfo Culture {
55 | get {
56 | return resourceCulture;
57 | }
58 | set {
59 | resourceCulture = value;
60 | }
61 | }
62 | }
63 | }
64 |
--------------------------------------------------------------------------------
/摄像头调试助手 -单帧字节数版本/wildfire_MultiFuctionalSerial_assistant/nmeaLib/include/nmea/gmath.h:
--------------------------------------------------------------------------------
1 | /*
2 | *
3 | * NMEA library
4 | * URL: http://nmea.sourceforge.net
5 | * Author: Tim (xtimor@gmail.com)
6 | * Licence: http://www.gnu.org/licenses/lgpl.html
7 | * $Id: gmath.h 17 2008-03-11 11:56:11Z xtimor $
8 | *
9 | */
10 |
11 | #ifndef __NMEA_GMATH_H__
12 | #define __NMEA_GMATH_H__
13 |
14 | #include "info.h"
15 |
16 | #define NMEA_PI (3.141592653589793) /**< PI value */
17 | #define NMEA_PI180 (NMEA_PI / 180) /**< PI division by 180 */
18 | #define NMEA_EARTHRADIUS_KM (6378) /**< Earth's mean radius in km */
19 | #define NMEA_EARTHRADIUS_M (NMEA_EARTHRADIUS_KM * 1000) /**< Earth's mean radius in m */
20 | #define NMEA_EARTH_SEMIMAJORAXIS_M (6378137.0) /**< Earth's semi-major axis in m according WGS84 */
21 | #define NMEA_EARTH_SEMIMAJORAXIS_KM (NMEA_EARTHMAJORAXIS_KM / 1000) /**< Earth's semi-major axis in km according WGS 84 */
22 | #define NMEA_EARTH_FLATTENING (1 / 298.257223563) /**< Earth's flattening according WGS 84 */
23 | #define NMEA_DOP_FACTOR (5) /**< Factor for translating DOP to meters */
24 |
25 | #ifdef __cplusplus
26 | extern "C" {
27 | #endif
28 |
29 | /*
30 | * degree VS radian
31 | */
32 |
33 | __declspec(dllexport) double nmea_degree2radian(double val);
34 | double nmea_radian2degree(double val);
35 |
36 | /*
37 | * NDEG (NMEA degree)
38 | */
39 |
40 | double nmea_ndeg2degree(double val);
41 | double nmea_degree2ndeg(double val);
42 |
43 | double nmea_ndeg2radian(double val);
44 | double nmea_radian2ndeg(double val);
45 |
46 | /*
47 | * DOP
48 | */
49 |
50 | double nmea_calc_pdop(double hdop, double vdop);
51 | double nmea_dop2meters(double dop);
52 | double nmea_meters2dop(double meters);
53 |
54 | /*
55 | * positions work
56 | */
57 |
58 | void nmea_info2pos(const nmeaINFO *info, nmeaPOS *pos);
59 | void nmea_pos2info(const nmeaPOS *pos, nmeaINFO *info);
60 |
61 | double nmea_distance(
62 | const nmeaPOS *from_pos,
63 | const nmeaPOS *to_pos
64 | );
65 |
66 | double nmea_distance_ellipsoid(
67 | const nmeaPOS *from_pos,
68 | const nmeaPOS *to_pos,
69 | double *from_azimuth,
70 | double *to_azimuth
71 | );
72 |
73 | int nmea_move_horz(
74 | const nmeaPOS *start_pos,
75 | nmeaPOS *end_pos,
76 | double azimuth,
77 | double distance
78 | );
79 |
80 | int nmea_move_horz_ellipsoid(
81 | const nmeaPOS *start_pos,
82 | nmeaPOS *end_pos,
83 | double azimuth,
84 | double distance,
85 | double *end_azimuth
86 | );
87 |
88 | #ifdef __cplusplus
89 | }
90 | #endif
91 |
92 | #endif /* __NMEA_GMATH_H__ */
93 |
--------------------------------------------------------------------------------
/摄像头调试助手 -单帧字节数版本/wildfire_MultiFuctionalSerial_assistant/wildfire_MultiFuctionalSerial_assistant/Properties/Resources.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // 此代码由工具生成。
4 | // 运行时版本:4.0.30319.18444
5 | //
6 | // 对此文件的更改可能会导致不正确的行为,并且如果
7 | // 重新生成代码,这些更改将会丢失。
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace wildfire_MultiFuctionalSerial_assistant.Properties {
12 | using System;
13 |
14 |
15 | ///
16 | /// 一个强类型的资源类,用于查找本地化的字符串等。
17 | ///
18 | // 此类是由 StronglyTypedResourceBuilder
19 | // 类通过类似于 ResGen 或 Visual Studio 的工具自动生成的。
20 | // 若要添加或移除成员,请编辑 .ResX 文件,然后重新运行 ResGen
21 | // (以 /str 作为命令选项),或重新生成 VS 项目。
22 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
23 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
24 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
25 | internal class Resources {
26 |
27 | private static global::System.Resources.ResourceManager resourceMan;
28 |
29 | private static global::System.Globalization.CultureInfo resourceCulture;
30 |
31 | [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
32 | internal Resources() {
33 | }
34 |
35 | ///
36 | /// 返回此类使用的缓存的 ResourceManager 实例。
37 | ///
38 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
39 | internal static global::System.Resources.ResourceManager ResourceManager {
40 | get {
41 | if (object.ReferenceEquals(resourceMan, null)) {
42 | global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("wildfire_MultiFuctionalSerial_assistant.Properties.Resources", typeof(Resources).Assembly);
43 | resourceMan = temp;
44 | }
45 | return resourceMan;
46 | }
47 | }
48 |
49 | ///
50 | /// 使用此强类型资源类,为所有资源查找
51 | /// 重写当前线程的 CurrentUICulture 属性。
52 | ///
53 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
54 | internal static global::System.Globalization.CultureInfo Culture {
55 | get {
56 | return resourceCulture;
57 | }
58 | set {
59 | resourceCulture = value;
60 | }
61 | }
62 | }
63 | }
64 |
--------------------------------------------------------------------------------
/多功能串口调试助手/wildfire_MultiFuctionalSerial_assistant/wildfire_MultiFuctionalSerial_assistant.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio 2013
4 | VisualStudioVersion = 12.0.21005.1
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "wildfire_MultiFuctionalSerial_assistant", "wildfire_MultiFuctionalSerial_assistant\wildfire_MultiFuctionalSerial_assistant.csproj", "{CF73FFC9-9F2A-4FDE-8F83-9EF56E7FBD4B}"
7 | EndProject
8 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "nmeaLib", "nmeaLib\nmeaLib.vcxproj", "{2803BD27-B7CC-43C2-9F4E-867084899253}"
9 | EndProject
10 | Global
11 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
12 | Debug|Any CPU = Debug|Any CPU
13 | Debug|Mixed Platforms = Debug|Mixed Platforms
14 | Debug|Win32 = Debug|Win32
15 | Release|Any CPU = Release|Any CPU
16 | Release|Mixed Platforms = Release|Mixed Platforms
17 | Release|Win32 = Release|Win32
18 | EndGlobalSection
19 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
20 | {CF73FFC9-9F2A-4FDE-8F83-9EF56E7FBD4B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
21 | {CF73FFC9-9F2A-4FDE-8F83-9EF56E7FBD4B}.Debug|Any CPU.Build.0 = Debug|Any CPU
22 | {CF73FFC9-9F2A-4FDE-8F83-9EF56E7FBD4B}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
23 | {CF73FFC9-9F2A-4FDE-8F83-9EF56E7FBD4B}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
24 | {CF73FFC9-9F2A-4FDE-8F83-9EF56E7FBD4B}.Debug|Win32.ActiveCfg = Debug|Any CPU
25 | {CF73FFC9-9F2A-4FDE-8F83-9EF56E7FBD4B}.Release|Any CPU.ActiveCfg = Release|Any CPU
26 | {CF73FFC9-9F2A-4FDE-8F83-9EF56E7FBD4B}.Release|Any CPU.Build.0 = Release|Any CPU
27 | {CF73FFC9-9F2A-4FDE-8F83-9EF56E7FBD4B}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
28 | {CF73FFC9-9F2A-4FDE-8F83-9EF56E7FBD4B}.Release|Mixed Platforms.Build.0 = Release|Any CPU
29 | {CF73FFC9-9F2A-4FDE-8F83-9EF56E7FBD4B}.Release|Win32.ActiveCfg = Release|Any CPU
30 | {2803BD27-B7CC-43C2-9F4E-867084899253}.Debug|Any CPU.ActiveCfg = Debug|Win32
31 | {2803BD27-B7CC-43C2-9F4E-867084899253}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32
32 | {2803BD27-B7CC-43C2-9F4E-867084899253}.Debug|Mixed Platforms.Build.0 = Debug|Win32
33 | {2803BD27-B7CC-43C2-9F4E-867084899253}.Debug|Win32.ActiveCfg = Debug|Win32
34 | {2803BD27-B7CC-43C2-9F4E-867084899253}.Debug|Win32.Build.0 = Debug|Win32
35 | {2803BD27-B7CC-43C2-9F4E-867084899253}.Release|Any CPU.ActiveCfg = Release|Win32
36 | {2803BD27-B7CC-43C2-9F4E-867084899253}.Release|Mixed Platforms.ActiveCfg = Release|Win32
37 | {2803BD27-B7CC-43C2-9F4E-867084899253}.Release|Mixed Platforms.Build.0 = Release|Win32
38 | {2803BD27-B7CC-43C2-9F4E-867084899253}.Release|Win32.ActiveCfg = Release|Win32
39 | {2803BD27-B7CC-43C2-9F4E-867084899253}.Release|Win32.Build.0 = Release|Win32
40 | EndGlobalSection
41 | GlobalSection(SolutionProperties) = preSolution
42 | HideSolutionNode = FALSE
43 | EndGlobalSection
44 | EndGlobal
45 |
--------------------------------------------------------------------------------
/摄像头调试助手/wildfire_MultiFuctionalSerial_assistant/wildfire_MultiFuctionalSerial_assistant.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio 2013
4 | VisualStudioVersion = 12.0.21005.1
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "wildfire_MultiFuctionalSerial_assistant", "wildfire_MultiFuctionalSerial_assistant\wildfire_MultiFuctionalSerial_assistant.csproj", "{CF73FFC9-9F2A-4FDE-8F83-9EF56E7FBD4B}"
7 | EndProject
8 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "nmeaLib", "nmeaLib\nmeaLib.vcxproj", "{2803BD27-B7CC-43C2-9F4E-867084899253}"
9 | EndProject
10 | Global
11 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
12 | Debug|Any CPU = Debug|Any CPU
13 | Debug|Mixed Platforms = Debug|Mixed Platforms
14 | Debug|Win32 = Debug|Win32
15 | Release|Any CPU = Release|Any CPU
16 | Release|Mixed Platforms = Release|Mixed Platforms
17 | Release|Win32 = Release|Win32
18 | EndGlobalSection
19 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
20 | {CF73FFC9-9F2A-4FDE-8F83-9EF56E7FBD4B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
21 | {CF73FFC9-9F2A-4FDE-8F83-9EF56E7FBD4B}.Debug|Any CPU.Build.0 = Debug|Any CPU
22 | {CF73FFC9-9F2A-4FDE-8F83-9EF56E7FBD4B}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
23 | {CF73FFC9-9F2A-4FDE-8F83-9EF56E7FBD4B}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
24 | {CF73FFC9-9F2A-4FDE-8F83-9EF56E7FBD4B}.Debug|Win32.ActiveCfg = Debug|Any CPU
25 | {CF73FFC9-9F2A-4FDE-8F83-9EF56E7FBD4B}.Release|Any CPU.ActiveCfg = Release|Any CPU
26 | {CF73FFC9-9F2A-4FDE-8F83-9EF56E7FBD4B}.Release|Any CPU.Build.0 = Release|Any CPU
27 | {CF73FFC9-9F2A-4FDE-8F83-9EF56E7FBD4B}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
28 | {CF73FFC9-9F2A-4FDE-8F83-9EF56E7FBD4B}.Release|Mixed Platforms.Build.0 = Release|Any CPU
29 | {CF73FFC9-9F2A-4FDE-8F83-9EF56E7FBD4B}.Release|Win32.ActiveCfg = Release|Any CPU
30 | {2803BD27-B7CC-43C2-9F4E-867084899253}.Debug|Any CPU.ActiveCfg = Debug|Win32
31 | {2803BD27-B7CC-43C2-9F4E-867084899253}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32
32 | {2803BD27-B7CC-43C2-9F4E-867084899253}.Debug|Mixed Platforms.Build.0 = Debug|Win32
33 | {2803BD27-B7CC-43C2-9F4E-867084899253}.Debug|Win32.ActiveCfg = Debug|Win32
34 | {2803BD27-B7CC-43C2-9F4E-867084899253}.Debug|Win32.Build.0 = Debug|Win32
35 | {2803BD27-B7CC-43C2-9F4E-867084899253}.Release|Any CPU.ActiveCfg = Release|Win32
36 | {2803BD27-B7CC-43C2-9F4E-867084899253}.Release|Mixed Platforms.ActiveCfg = Release|Win32
37 | {2803BD27-B7CC-43C2-9F4E-867084899253}.Release|Mixed Platforms.Build.0 = Release|Win32
38 | {2803BD27-B7CC-43C2-9F4E-867084899253}.Release|Win32.ActiveCfg = Release|Win32
39 | {2803BD27-B7CC-43C2-9F4E-867084899253}.Release|Win32.Build.0 = Release|Win32
40 | EndGlobalSection
41 | GlobalSection(SolutionProperties) = preSolution
42 | HideSolutionNode = FALSE
43 | EndGlobalSection
44 | GlobalSection(Performance) = preSolution
45 | HasPerformanceSessions = true
46 | EndGlobalSection
47 | EndGlobal
48 |
--------------------------------------------------------------------------------
/网络调试助手/wildfire_MultiFuctionalSerial_assistant/wildfire_MultiFuctionalSerial_assistant.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio 2013
4 | VisualStudioVersion = 12.0.21005.1
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "wildfire_MultiFuctionalSerial_assistant", "wildfire_MultiFuctionalSerial_assistant\wildfire_MultiFuctionalSerial_assistant.csproj", "{CF73FFC9-9F2A-4FDE-8F83-9EF56E7FBD4B}"
7 | EndProject
8 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "nmeaLib", "nmeaLib\nmeaLib.vcxproj", "{2803BD27-B7CC-43C2-9F4E-867084899253}"
9 | EndProject
10 | Global
11 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
12 | Debug|Any CPU = Debug|Any CPU
13 | Debug|Mixed Platforms = Debug|Mixed Platforms
14 | Debug|Win32 = Debug|Win32
15 | Release|Any CPU = Release|Any CPU
16 | Release|Mixed Platforms = Release|Mixed Platforms
17 | Release|Win32 = Release|Win32
18 | EndGlobalSection
19 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
20 | {CF73FFC9-9F2A-4FDE-8F83-9EF56E7FBD4B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
21 | {CF73FFC9-9F2A-4FDE-8F83-9EF56E7FBD4B}.Debug|Any CPU.Build.0 = Debug|Any CPU
22 | {CF73FFC9-9F2A-4FDE-8F83-9EF56E7FBD4B}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
23 | {CF73FFC9-9F2A-4FDE-8F83-9EF56E7FBD4B}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
24 | {CF73FFC9-9F2A-4FDE-8F83-9EF56E7FBD4B}.Debug|Win32.ActiveCfg = Debug|Any CPU
25 | {CF73FFC9-9F2A-4FDE-8F83-9EF56E7FBD4B}.Release|Any CPU.ActiveCfg = Release|Any CPU
26 | {CF73FFC9-9F2A-4FDE-8F83-9EF56E7FBD4B}.Release|Any CPU.Build.0 = Release|Any CPU
27 | {CF73FFC9-9F2A-4FDE-8F83-9EF56E7FBD4B}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
28 | {CF73FFC9-9F2A-4FDE-8F83-9EF56E7FBD4B}.Release|Mixed Platforms.Build.0 = Release|Any CPU
29 | {CF73FFC9-9F2A-4FDE-8F83-9EF56E7FBD4B}.Release|Win32.ActiveCfg = Release|Any CPU
30 | {2803BD27-B7CC-43C2-9F4E-867084899253}.Debug|Any CPU.ActiveCfg = Debug|Win32
31 | {2803BD27-B7CC-43C2-9F4E-867084899253}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32
32 | {2803BD27-B7CC-43C2-9F4E-867084899253}.Debug|Mixed Platforms.Build.0 = Debug|Win32
33 | {2803BD27-B7CC-43C2-9F4E-867084899253}.Debug|Win32.ActiveCfg = Debug|Win32
34 | {2803BD27-B7CC-43C2-9F4E-867084899253}.Debug|Win32.Build.0 = Debug|Win32
35 | {2803BD27-B7CC-43C2-9F4E-867084899253}.Release|Any CPU.ActiveCfg = Release|Win32
36 | {2803BD27-B7CC-43C2-9F4E-867084899253}.Release|Mixed Platforms.ActiveCfg = Release|Win32
37 | {2803BD27-B7CC-43C2-9F4E-867084899253}.Release|Mixed Platforms.Build.0 = Release|Win32
38 | {2803BD27-B7CC-43C2-9F4E-867084899253}.Release|Win32.ActiveCfg = Release|Win32
39 | {2803BD27-B7CC-43C2-9F4E-867084899253}.Release|Win32.Build.0 = Release|Win32
40 | EndGlobalSection
41 | GlobalSection(SolutionProperties) = preSolution
42 | HideSolutionNode = FALSE
43 | EndGlobalSection
44 | GlobalSection(Performance) = preSolution
45 | HasPerformanceSessions = true
46 | EndGlobalSection
47 | EndGlobal
48 |
--------------------------------------------------------------------------------
/摄像头调试助手 -单帧字节数版本/wildfire_MultiFuctionalSerial_assistant/wildfire_MultiFuctionalSerial_assistant.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio 2013
4 | VisualStudioVersion = 12.0.21005.1
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "wildfire_MultiFuctionalSerial_assistant", "wildfire_MultiFuctionalSerial_assistant\wildfire_MultiFuctionalSerial_assistant.csproj", "{CF73FFC9-9F2A-4FDE-8F83-9EF56E7FBD4B}"
7 | EndProject
8 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "nmeaLib", "nmeaLib\nmeaLib.vcxproj", "{2803BD27-B7CC-43C2-9F4E-867084899253}"
9 | EndProject
10 | Global
11 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
12 | Debug|Any CPU = Debug|Any CPU
13 | Debug|Mixed Platforms = Debug|Mixed Platforms
14 | Debug|Win32 = Debug|Win32
15 | Release|Any CPU = Release|Any CPU
16 | Release|Mixed Platforms = Release|Mixed Platforms
17 | Release|Win32 = Release|Win32
18 | EndGlobalSection
19 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
20 | {CF73FFC9-9F2A-4FDE-8F83-9EF56E7FBD4B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
21 | {CF73FFC9-9F2A-4FDE-8F83-9EF56E7FBD4B}.Debug|Any CPU.Build.0 = Debug|Any CPU
22 | {CF73FFC9-9F2A-4FDE-8F83-9EF56E7FBD4B}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
23 | {CF73FFC9-9F2A-4FDE-8F83-9EF56E7FBD4B}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
24 | {CF73FFC9-9F2A-4FDE-8F83-9EF56E7FBD4B}.Debug|Win32.ActiveCfg = Debug|Any CPU
25 | {CF73FFC9-9F2A-4FDE-8F83-9EF56E7FBD4B}.Release|Any CPU.ActiveCfg = Release|Any CPU
26 | {CF73FFC9-9F2A-4FDE-8F83-9EF56E7FBD4B}.Release|Any CPU.Build.0 = Release|Any CPU
27 | {CF73FFC9-9F2A-4FDE-8F83-9EF56E7FBD4B}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
28 | {CF73FFC9-9F2A-4FDE-8F83-9EF56E7FBD4B}.Release|Mixed Platforms.Build.0 = Release|Any CPU
29 | {CF73FFC9-9F2A-4FDE-8F83-9EF56E7FBD4B}.Release|Win32.ActiveCfg = Release|Any CPU
30 | {2803BD27-B7CC-43C2-9F4E-867084899253}.Debug|Any CPU.ActiveCfg = Debug|Win32
31 | {2803BD27-B7CC-43C2-9F4E-867084899253}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32
32 | {2803BD27-B7CC-43C2-9F4E-867084899253}.Debug|Mixed Platforms.Build.0 = Debug|Win32
33 | {2803BD27-B7CC-43C2-9F4E-867084899253}.Debug|Win32.ActiveCfg = Debug|Win32
34 | {2803BD27-B7CC-43C2-9F4E-867084899253}.Debug|Win32.Build.0 = Debug|Win32
35 | {2803BD27-B7CC-43C2-9F4E-867084899253}.Release|Any CPU.ActiveCfg = Release|Win32
36 | {2803BD27-B7CC-43C2-9F4E-867084899253}.Release|Mixed Platforms.ActiveCfg = Release|Win32
37 | {2803BD27-B7CC-43C2-9F4E-867084899253}.Release|Mixed Platforms.Build.0 = Release|Win32
38 | {2803BD27-B7CC-43C2-9F4E-867084899253}.Release|Win32.ActiveCfg = Release|Win32
39 | {2803BD27-B7CC-43C2-9F4E-867084899253}.Release|Win32.Build.0 = Release|Win32
40 | EndGlobalSection
41 | GlobalSection(SolutionProperties) = preSolution
42 | HideSolutionNode = FALSE
43 | EndGlobalSection
44 | GlobalSection(Performance) = preSolution
45 | HasPerformanceSessions = true
46 | EndGlobalSection
47 | EndGlobal
48 |
--------------------------------------------------------------------------------
/独立串口调试助手/wildfire_MultiFuctionalSerial_assistant/wildfire_MultiFuctionalSerial_assistant.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio 14
4 | VisualStudioVersion = 14.0.25420.1
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "wildfire_MultiFuctionalSerial_assistant", "wildfire_MultiFuctionalSerial_assistant\wildfire_MultiFuctionalSerial_assistant.csproj", "{CF73FFC9-9F2A-4FDE-8F83-9EF56E7FBD4B}"
7 | ProjectSection(ProjectDependencies) = postProject
8 | {2803BD27-B7CC-43C2-9F4E-867084899253} = {2803BD27-B7CC-43C2-9F4E-867084899253}
9 | EndProjectSection
10 | EndProject
11 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "nmeaLib", "nmeaLib\nmeaLib.vcxproj", "{2803BD27-B7CC-43C2-9F4E-867084899253}"
12 | EndProject
13 | Global
14 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
15 | Debug|Any CPU = Debug|Any CPU
16 | Debug|Mixed Platforms = Debug|Mixed Platforms
17 | Debug|Win32 = Debug|Win32
18 | Release|Any CPU = Release|Any CPU
19 | Release|Mixed Platforms = Release|Mixed Platforms
20 | Release|Win32 = Release|Win32
21 | EndGlobalSection
22 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
23 | {CF73FFC9-9F2A-4FDE-8F83-9EF56E7FBD4B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
24 | {CF73FFC9-9F2A-4FDE-8F83-9EF56E7FBD4B}.Debug|Any CPU.Build.0 = Debug|Any CPU
25 | {CF73FFC9-9F2A-4FDE-8F83-9EF56E7FBD4B}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
26 | {CF73FFC9-9F2A-4FDE-8F83-9EF56E7FBD4B}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
27 | {CF73FFC9-9F2A-4FDE-8F83-9EF56E7FBD4B}.Debug|Win32.ActiveCfg = Debug|Any CPU
28 | {CF73FFC9-9F2A-4FDE-8F83-9EF56E7FBD4B}.Release|Any CPU.ActiveCfg = Release|Any CPU
29 | {CF73FFC9-9F2A-4FDE-8F83-9EF56E7FBD4B}.Release|Any CPU.Build.0 = Release|Any CPU
30 | {CF73FFC9-9F2A-4FDE-8F83-9EF56E7FBD4B}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
31 | {CF73FFC9-9F2A-4FDE-8F83-9EF56E7FBD4B}.Release|Mixed Platforms.Build.0 = Release|Any CPU
32 | {CF73FFC9-9F2A-4FDE-8F83-9EF56E7FBD4B}.Release|Win32.ActiveCfg = Release|Any CPU
33 | {2803BD27-B7CC-43C2-9F4E-867084899253}.Debug|Any CPU.ActiveCfg = Debug|Win32
34 | {2803BD27-B7CC-43C2-9F4E-867084899253}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32
35 | {2803BD27-B7CC-43C2-9F4E-867084899253}.Debug|Mixed Platforms.Build.0 = Debug|Win32
36 | {2803BD27-B7CC-43C2-9F4E-867084899253}.Debug|Win32.ActiveCfg = Debug|Win32
37 | {2803BD27-B7CC-43C2-9F4E-867084899253}.Debug|Win32.Build.0 = Debug|Win32
38 | {2803BD27-B7CC-43C2-9F4E-867084899253}.Release|Any CPU.ActiveCfg = Release|Win32
39 | {2803BD27-B7CC-43C2-9F4E-867084899253}.Release|Mixed Platforms.ActiveCfg = Release|Win32
40 | {2803BD27-B7CC-43C2-9F4E-867084899253}.Release|Mixed Platforms.Build.0 = Release|Win32
41 | {2803BD27-B7CC-43C2-9F4E-867084899253}.Release|Win32.ActiveCfg = Release|Win32
42 | {2803BD27-B7CC-43C2-9F4E-867084899253}.Release|Win32.Build.0 = Release|Win32
43 | EndGlobalSection
44 | GlobalSection(SolutionProperties) = preSolution
45 | HideSolutionNode = FALSE
46 | EndGlobalSection
47 | EndGlobal
48 |
--------------------------------------------------------------------------------