简体   繁体   English

如何使用gprs从GPS设备向网站发送数据?

[英]How to send data to website from GPS device using gprs?

I had planned to do mini project. 我原本打算做迷你项目。 With GPS modem using GPRS(sim card with internet connection) and i need to send the data from GPS modem to a website. 随着使用GPRS(带有互联网连接的SIM卡)的GPS调制解调器,我需要将数据从GPS调制解调器发送到网站。 Is it possible? 可能吗? If so how it can be done? 如果可以,怎么办? What are the languages needed? 需要什么语言? And also tell me about the best GPS device? 还告诉我有关最佳GPS设备的信息吗?

For what you want u must do 2 things 1. Create a TCP Listener which will wait for info using TCP in same port and put into database 2. Create a web or windows application for you read from database. 对于您想要做的事情,您必须做两件事:1.创建一个TCP侦听器,该侦听器将在同一端口中使用TCP等待信息,并将其放入数据库中。2.创建一个Web或Windows应用程序供您从数据库中读取。

i have done something like this in my recent project. 我在最近的项目中做了类似的事情。

Regards. 问候。

GPS devices communicate using a standard protocol called the NMEA protocol. GPS设备使用称为NMEA协议的标准协议进行通信。

Assuming you are using .NET you can check out the Positioning code in the DotSpatial open source project: http://dotspatial.codeplex.com/ 假设您正在使用.NET,则可以在DotSpatial开源项目中检出Positioning代码: http ://dotspatial.codeplex.com/

They've got classes to decode the NMEA strings and can probably do much of what you are describing out of the box. 他们有可以解码NMEA字符串的类,并且可以开箱即用地完成您所描述的许多事情。

As for the best GPS device, if you need standard resolutions, any GPS device will do. 至于最好的GPS设备,如果您需要标准分辨率,那么任何GPS设备都可以。 They can be had for 10's of dollars. 他们可以花10美元。 We often use the USGlobalSat model BU-353, although this is USB so it may not work in your application. 尽管这是USB,所以我们经常使用USGlobalSat型号BU-353,因此它可能无法在您的应用程序中使用。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM