Note: You must be registered in order to post a reply. To register, click here. Registration is FREE!
T O P I C R E V I E W
nabil.webdeveloper
Posted - 22 avr. 2012 : 17:09:28 Hello,I'm a new member and I hope I'll find the solution here. my question is simply:As an example if we configure our GPS TK-102 GPRS settings to send information to an ip adreese using port 80(I supposed it can do that)do well we receive on the main page of our service something like this ?longitude=...&imei=? If not is there a simple solution to receive data from GPS thank you and sorry for my bad english
5 L A T E S T R E P L I E S (Newest First)
hookie
Posted - 28 avr. 2012 : 12:58:19 Hello, Exactly what I wish to do too.. At least Barbudor, will show us where to start? any link maybe?..
Thanks in advance!
nabil.webdeveloper
Posted - 27 avr. 2012 : 20:31:01 Okey,Thanks you so much bardbudor :)
barbudor
Posted - 25 avr. 2012 : 16:27:07 Nabil I do not intend to share my full application as it is a bit too complex and ambitious. More of an intellectual exercise for me than a real projet. However I have agreed with other people that I should take some time to present a down-stripped version o fthe code to redirect the tracker's connection to a PHP site. This would be the basis and would need user's to build their own application above. Stay tuned but I have so many things to do .....
nabil.webdeveloper
Posted - 22 avr. 2012 : 23:48:50 Thanks Barbudor,I'm Sorry i had read some topics but I Didn't Find a special solution. Can you help us by posting The application and how did you installed in the server :) it can be very helpful! And Thank you!
barbudor
Posted - 22 avr. 2012 : 18:57:36 The protocol is not HTTP and thus cannot be sent to a PHP script hosted as a HTTP URL.
To receive TK102 data you MUST write something at TCP/IP socket level.
This can be performed in PHP only if you have full control of the server in order to allow PHP to create process and sockets. Most of the time these features are not available on hosting services.
This have been discussed multiple times in the existing topics that you should read carefully and throughfully before asking FAQs
In my case, I have a C++ app running on an embedded Linux host which receive the TCP/IP connection from my TK102 and forward to a PHP script as a HTTP GET request.