gt06_server

所属分类:GPS编程
开发工具:JavaScript
文件大小:55KB
下载次数:0
上传日期:2019-12-20 09:40:27
上 传 者sh-1993
说明:  GT06 GPS跟踪器服务器
(GT06 GPS Tracker Server)

文件列表:
.vscode (0, 2019-12-20)
.vscode\launch.json (740, 2019-12-20)
.vscode\settings.json (35, 2019-12-20)
app.js (1921, 2019-12-20)
crc16.js (2609, 2019-12-20)
gt06.js (10947, 2019-12-20)
package-lock.json (186518, 2019-12-20)
package.json (572, 2019-12-20)
test (0, 2019-12-20)
test\crc16.test.js (411, 2019-12-20)
test\gt06.test.js (7246, 2019-12-20)

> This repo is depricated! Take a look at [vondraussen/gt06](https://github.com/vondraussen/gt06) and [vondraussen/gps_tracker_gateway](https://github.com/vondraussen/gps_tracker_gateway) # GT06 Server This is a GT06 GPS Tracker server implementation written in javascript. It parses all messages received from the device and creates the response message, if needed. Eventually it will send the received information to an MQTT broker. So it acts as a server for GT06 trackers and a gateway to MQTT. > Shout out to [Anton Holubenko](https://github.com/AntonHolubenko) because I've copied the initial version from him. [repo/gt06n](https://github.com/AntonHolubenko/gt06n) ## Configuration Run a `npm install` after you cloned it and start it via `node app.js`. You can create a `.env` file to configure the behavior off the app. The following environment variables are recognized. If not defined a default will be used. - GT06_SERVER_PORT=***459 - MQTT_ROOT_TOPIC=gt06 - MQTT_BROKER_URL=localhost - MQTT_BROKER_PORT=1883 - MQTT_BROKER_PROTO=mqtt - MQTT_BROKER_CA=/etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem - MQTT_BROKER_USER=user - MQTT_BROKER_PASSWD=passwd ## MQTT Messages received on the TCP port will be transmitted via MQTT *MQTT_ROOT_TOPIC/IMEI/pos* For example: *gt06/123456789012345/pos*

近期下载者

相关文件


收藏者