开发者

recieving gps data sent to webservice on port 80

I'm buying a gps tracker which is able to sent its GPS data (NMEA) to a designated ip/hostname and port.

Since i do not own a server, I was wondering what would happen if I configured the device to send开发者_开发知识库 its data to 1.1.1.1:80 where the default php-webservice is running.

So far so good. But how can I then use the sended data? When i post a form it is in $_POST. But in what variable can I find the sent NMEA data? recieving gps data sent to webservice on port 80


Your GPS device is not an HTTP client. It does not "speak the language" of the service that usually runs on port 80 (that is, a web server).

Instead, install a daemon like gpsd.

And I have no idea what you mean by 1.1.1.1. I bet you don't own a machine with that address.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜