-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Documentation or Manual #4
Comments
Hi, You need to setup the device so that it sends packets towards the IP where you'll be running the server, this is done with an SMS command (e.g. I'm not planning on doing much more documentation at the moment. While poorly organized the code should be pretty much self-explanatory. If you're unfamiliar with how to setup your device, or port forwarding etc, I can't help much there. |
Thanks for your response. Yes, I have knowlodge in python. It was in case I was developing a manual to wait for me. On the other hand, to configure the device via SMS, I am not sure about the hexadecimal format. Could you give me an example? Thank you for your patience and understanding |
The python script is actually the server (plus a bunch of functions used to communicate with the GPS device). Running the script, you'll enter an infinite loop that starts the server using the To configure the device itself, you just send it an SMS while its running. No hex at all there. Non-exhaustive list of commands: see this post. I personnally use: |
Firstly, thank you for your hard work. You seem to be the master of these devices across the internet. |
I have managed to work out how to make the domain and port take effect. It required a reboot after sending the message. I now have the issue when running your script I see it connect then disconnect. If after I send a DOMAIN message the domain and port have reverted to the factory ones?? |
Hey there, Apologies for the delay. I have compiled whatever data I could find fro various technical doc but in the end the protocol is still largely undocumented and there are a lot of things inaccurate in the docs. Only experimenting will help... Re the
As far as I remember, the domain ultimately reverts to the original 365gps.com address after a period of timeout on the other one that was set. In my attempts, it was typically happening when I was shutting down my local server and the device wasn't able to communicate with it anymore. Bottom line: if the domain/port revert to the factory default, it's because the device isn't able to discuss with the server. Aside from looking at the logs and experimenting, I can't be too sure... |
Here we can find also good informations: https://gist.github.com/emilio-martinez/11019f04c5b05e3f7f753eaca0e58941 The main server changes by the command "DOMAIN#", and the fallback server can be changed by "SERVER# " |
Hi
Congratulation for your work. Could you to do a manual or documentation to implement yor develop. I purchase the ZX303 model but I'm not can implement your PETGPS work.
Thanks
The text was updated successfully, but these errors were encountered: