项目作者: FredrikBlix

项目描述 :
Bridge incoming UDP NMEA packets to http-POST requests
高级语言: JavaScript
项目地址: git://github.com/FredrikBlix/nmea-bridge.git
创建时间: 2018-12-06T12:07:41Z
项目社区:https://github.com/FredrikBlix/nmea-bridge

开源协议:GNU Lesser General Public License v3.0

下载


nmea-bridge

This application is built to bridge incoming UDP NMEA packets to http-POST
requests.

It is build in node and uses nmea-simple for the parsing of NMEA strings.

Environental variables

nmea_PORT - UDP port for listening to NMEA (default: 6000).

nmea_PUSH - URI for posting requests (default: http://localhost/api/nmeas).

Docker

To run a docker image with this code, use the docker-compose.yml file, found in the repo or run using the docker command:

  1. $ sudo docker run --detach \
  2. --publish 6000:6000/udp \
  3. --name nmea-bridge \
  4. --restart always \
  5. --net=host \
  6. --env nmea_PUSH="http://localhost/api/nmeas" \
  7. fredrikblix/nmea-bridge:latest