glonassd

所属分类:GPS编程
开发工具:C
文件大小:242KB
下载次数:0
上传日期:2022-08-21 12:49:12
上 传 者sh-1993
说明:  Debian的GPS GLONASS跟踪器服务器
(GPS GLONASS tracker server for Debian)

文件列表:
LICENSE (1064, 2022-08-21)
Makefile (4059, 2022-08-21)
arnavi.c (12121, 2022-08-21)
arnavi.h (3381, 2022-08-21)
arnavi5.c (13440, 2022-08-21)
bin (0, 2022-08-21)
bin\glonassd.tar.gz (97766, 2022-08-21)
de.h (3770, 2022-08-21)
egts.c (66427, 2022-08-21)
egts.h (49083, 2022-08-21)
fava.c (5300, 2022-08-21)
favw.c (4868, 2022-08-21)
forwarder.c (24056, 2022-08-21)
forwarder.h (2165, 2022-08-21)
galileo.c (30292, 2022-08-21)
glonassd.c (33796, 2022-08-21)
glonassd.h (3328, 2022-08-21)
glonassd.supervisor.conf (509, 2022-08-21)
gosafe.c (41302, 2022-08-21)
gps103.c (6343, 2022-08-21)
lib.c (17420, 2022-08-21)
lib.h (1376, 2022-08-21)
loadconfig.c (12204, 2022-08-21)
logger.c (6955, 2022-08-21)
logger.h (187, 2022-08-21)
oracle.c (27822, 2022-08-21)
oracle.sql (899, 2022-08-21)
oracle_change_work_date.sql (159, 2022-08-21)
pg.c (23085, 2022-08-21)
pg.sql (1039, 2022-08-21)
pg_change_work_date.sql (169, 2022-08-21)
prototest.c (2222, 2022-08-21)
rds.c (17043, 2022-08-21)
ru (0, 2022-08-21)
satlite.c (46188, 2022-08-21)
... ...

[This file by Russian](https://github.com/fandrej/glonassd/blob/master/ru/README.md) # glonassd GPS/GLONASS tracker server for Debian ### About **glonassd** is a linux daemon that receives data from a GPS / GLONASS trackers, processing and preserving them in a database.
Written in C, ompiled with gcc 6.3.0 for x86_***-linux-gnu. ### Tracker protocols **Receiving:** Arnavi-4/5, Galileo (all versions), GPS101-GPS103, SAT-LITE / SAT-LITE2, Wialon IPS, Wialon NIS (SOAP / Olympstroy), EGTS (ERA-GLONASS), TQ GPRS (H02).
**Sending (forwarding):** all receiving without reencode or reencode to EGTS, Wialon NIS, WialonIPS, Galileo.
Protocols can be added using plug libraries. ### Database PostgreSQL
Redis
Oracle
Databases can be added using plug libraries. ### Features * Data transfer on the fly to another server with transcoding to a different protocol (to Wialon NIS or EGTS only) or without transcoding. * Automatic restoration of connections to the remote server when the connection is broken. * Storing data at the time of connection failure with the remote server and sending the stored data after the restoration of communication. * The maximum number of relay servers: 3 for each terminal. * Perform scheduled tasks (maximum 5 timers). * Easy configuration using two .conf files (Examples: [glonassd.conf](https://github.com/fandrej/glonassd/blob/master/https://github.com/fandrej/glonassd/wiki/glonassd.conf), [forward.conf](https://github.com/fandrej/glonassd/blob/master/https://github.com/fandrej/glonassd/wiki/forward.conf)) * Extensibility through plug libraries without recompilation daemon. * Run in daemon or simple application mode ### Compilation **make all** for compile daemon + database library + terminals libraries
**make glonassd** for compile daemon only
**make pg** for compile database (PostgreSQL) library
**make name** for compile terminal **name** library
[Additional information about threed party libraries](https://github.com/fandrej/glonassd/blob/master/https://github.com/fandrej/glonassd/wiki/Compilation) ### Installation Create folder for daemon an copy in it files **glonassd, *.so, *.sql**, or use folder where project compiled.
In you PostgreSQL database create table "tgpsdata" (see script tgpsdata.sql).
If you use firewall, enable ports for incoming terminal connections. ### Configuration In **glonassd.conf** file in **server** section edit values for:
**listen** - IP addres listen trackers interface
**transmit** - IP addres retranslation to remote server interface
**log_file** - full path to log file
**db_host, db_port, db_name, db_schema, db_user, db_pass** - parameters for you PostgreSQL database
Comment or uncomment terminals sections for used terminals and edit listeners ports. For forwarding terminals data to remote server see comments in **forward** section of the **glonassd.conf** file.
For schedule database tasks see comments about **timer** parameter in **server** section of the **glonassd.conf** file. ### Run From daemon folder use **./glonassd start** command for start in console mode, CTRL+C for stop.
Use -d parameter for start in daemon mode.
Use -c path/to/config/file parameter for config file not in daemon folder.
If daemon configured as automatically startup, use **service glonassd start** and **service glonassd stop** for start/stop if needded. ### Autostart configure Edit **DAEMON** variable in **glonassd.sh** file for correct path to daemon folder.
Copy **glonassd.sh** file in **/etc/init.d** folder.
Use **chmod 0755 /etc/init.d/glonassd.sh** for make it executable.
Use **systemctl daemon-reload** and **update-rc.d glonassd.sh defaults** for enable autostart daemon.
Use **update-rc.d -f glonassd.sh remove** for diasble autostart without delete glonassd.sh file.
Delete /etc/init.d/glonassd.sh file and use **systemctl daemon-reload** for fully cleanup daemon info. ### License The glonassd is open-sourced software licensed under the [MIT license](https://github.com/fandrej/glonassd/blob/master/http://opensource.org/licenses/MIT). ### Documentation and API [Documentation](https://github.com/fandrej/glonassd/blob/master/https://github.com/fandrej/glonassd/wiki) to be written. ### Author Andrey Fedorov, Kurgan, Russia.
### Epilog This daemon is part of navigation service of [locman.org](https://github.com/fandrej/glonassd/blob/master/http://locman.org/map/index.php). ### Fixes 12.06.2020
* Fixed receiving big data (from other servers) * EGTS protocol fixed * CPU usage improved * Redis database added 01.05.2021
* Added TQ GPRS (H02) receiver protocol (SinoTrack ST-901 device) * Added WialonIPS retranslation protocol * Added Galileo retranslation protocol * Small fixes 13.11.2021
* Added library for working with Oracle database * Improved logs in databases libraries 04.04.2022
* Added processing of CT_MSGTO, CT_MSGFROM EGTS_COMMANDS_SERVICE messages of the EGTS protocol 17.04.2022
* Added GoSafe protocol (Gosafe G*/Proma Sat G* devices)

近期下载者

相关文件


收藏者