Skip to content

AeneasHe/lora-gateway-bridge

Repository files navigation

LoRa Gateway Bridge

CircleCI

LoRa Gateway Bridge is a service which converts LoRa packet-forwarder protocols into a LoRa Server common protocol (JSON and Protobuf). This project is part of the LoRa Server project.

LoRa网关桥接器,桥接网关和MQTT Broker,进而连接Lora Network Server:

  • 将网关推送的上行数据包(LGMP协议)转换成通用的JSON和Protobuf数据,并转发到MQTT Broker上;
  • 同时监听MQTT Broker消息,将下行数据并将其用UDP协议发送到网关上。

Backends

The following packet-forwarder backends are provided:

该组件主要实现LoRa网关消息协议(LoRa Gateway Message Protocol)。
在internal/backend文件夹下面。

Integrations

The following integrations are provided:

该组件主要实现将Backends组件解析出来的消息发送到mqtt broker上。
在internal/integration文件夹下面。

Forwarder

该组件是本软件的主要入口,将Backends和Integrations组合到一起,实现网关桥接的主要功能,即将网关的消息(LGMP协议)转换成mqtt消息(MQTT协议)。
在internal/forwarder文件夹下面。

软件的实际启动入口:
cmd/lora-gateway-bridge/main.go
cmd/lora-gateway-bridge/cmd/root_run.go

Architecture

architecture

Component links

Links


Sponsors

CableLabs SIDNFonds acklio

License

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

About

Lora-gateway-bridge: Comments in Chinese, Lora网关桥接器的源码中文注释

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages