Coder Social home page Coder Social logo

michailpot / packet-forwarder-bridge Goto Github PK

View Code? Open in Web Editor NEW

This project forked from chirpstack/chirpstack-gateway-bridge

0.0 0.0 0.0 2.23 MB

LoRa Gateway Bridge bridges between the packet_forwarder protocol and gRPC

Home Page: https://thethingsnetwork.org

License: MIT License

Makefile 4.06% Go 95.78% Shell 0.16%

packet-forwarder-bridge's Introduction

LoRa Gateway Bridge / Packet Forwarder Bridge - The Things Network Fork

LoRa Gateway Bridge (or Packet Forwarder Bridge) is a service that does protocol translation between the packet_forwarder UDP protocol running on most LoRa gateways and the Protocol Buffers over gRPC that are used in The Things Network's backend.

Installation

You can download binaries for macOS, 64 bit Linux, 32 bit Linux, arm Linux, 64 bit Windows or 32 bit Windows. You can also install from source with the following steps:

  • Make sure you have Go installed (version 1.7 or later).
  • Set up your Go environment
  • Clone our fork: git clone https://github.com/TheThingsNetwork/packet-forwarder-bridge.git $GOPATH/src/github.com/brocaar/lora-gateway-bridge
  • Go to the folder: cd $GOPATH/src/github.com/brocaar/lora-gateway-bridge
  • Build: make deps build install

Running

lora-gateway-bridge [options]

Options

Flag ENV Var Description
--udp-bind UDP_BIND ip:port to bind the UDP listener to (default: "0.0.0.0:1700")
--ttn-account-server TTN_ACCOUNT_SERVER Account Server URL (default: "https://account.thethingsnetwork.org")
--ttn-account-client-id TTN_ACCOUNT_CLIENT_ID Client ID to authenticate with the Account Server (optional)
--ttn-account-client-secret TTN_ACCOUNT_CLIENT_SECRET Client Secret to authenticate with the Account Server (optional)
--ttn-discovery-server TTN_DISCOVERY_SERVER host:port of TTN Discovery Server
--root-ca-file ROOT_CA_FILE Root CA file (if discovery server uses TLS)
--ttn-router TTN_ROUTER TTN Router ID
--ttn-gateway-eui TTN_GATEWAY_EUI TTN Gateway EUI (optional)
--ttn-gateway-id TTN_GATEWAY_ID TTN Gateway ID the EUI should translate to (optional)
--ttn-gateway-token TTN_GATEWAY_TOKEN TTN Gateway Token to authenticate the Gateway ID (optional)
--ttn-gateway-key TTN_GATEWAY_KEY TTN Gateway Key to authenticate the Gateway ID (optional)

Example

If you set up the TTN backend for development (as described in the README) you can use the following to start the bridge:

lora-gateway-bridge --ttn-discovery-server localhost:1900 --ttn-router dev

Issues / Feature Requests

Issues or feature requests for the bridge can be opened at github.com/brocaar/lora-gateway-bridge/issues. Issues or feature requests related to The Things Network can be opened at github.com/TheThingsNetwork/ttn/issues.

License

LoRa Gateway Bridge is distributed under the MIT license. See LICENSE.

packet-forwarder-bridge's People

Contributors

brocaar avatar htdvisser avatar virterm avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.