Skip to content

cossou/gpstracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GPS Tracker

Implements some methods of the protocol for "Zhongxun Locator Communication Protocol".

Working with "GF-22" device from AliExpress.

How to run this

Install dependencies:

npm install

Start the TCP server:

npm start

It will run the server on port 2222.

I use ngrok to expose the server to the internet.

$ ngrok tcp 2222

...
Forwarding                    tcp://XXX.tcp.eu.ngrok.io:12345 -> localhost:2222

Point your device to the address above by sending an SMS to your device:

// server#domain#port example:
server#XXX.tcp.eu.ngrok.io#12345

You should receive an "OK" SMS response.

Tests

Run test suite:

npm test

About

GF-22 Topin protocol server implementation in Nodejs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published