Skip to content

Latest commit

 

History

History
54 lines (41 loc) · 2.41 KB

README.md

File metadata and controls

54 lines (41 loc) · 2.41 KB

Mainflux LoRa Adapter

License Build Status Go Report Card Join the chat at https://gitter.im/Mainflux/mainflux

Adapter between Mainflux IoT system and LoRa Server.

This adapter sits between Mainflux and LoRa server and just forwards the messages form one system to another via MQTT protocol, using the adequate MQTT topics and in the good message format (JSON and SenML), i.e. respecting the APIs of both systems.

LoRa Server is used for connectivity layer and data is pushed via this adapter service to Mainflux, where it is persisted and routed to other protocols via Mainflux multi-protocol message broker. Mainflux adds user accounts, application management and security in order to obtain the overall end-to-end LoRa solution.

Installation

Prerequisite

If not set already, please set your GOPATH and GOBIN environment variables. For example:

mkdir -p ~/go
export GOPATH=~/go
export GOBIN=$GOPATH/bin
# It's often useful to add $GOBIN to $PATH
export PATH=$PATH:$GOBIN

Get the code

Use go tool to "get" (i.e. fetch and build) mainflux-lora-adapter package:

go get github.com/mainflux/mainflux-lora-adapter

This will download the code to $GOPATH/src/github.com/mainflux/mainflux-lora-adapter directory, and then compile it and install the binary in $GOBIN directory.

Now you can run the program with:

mainflux-lora-adapter

if $GOBIN is in $PATH (otherwise use $GOBIN/mainflux-lora-adapter)

Documentation

Development documentation can be found here.

Community

Mailing lists

mainflux Google group.

IRC

Mainflux Gitter

Twitter

@mainflux

License

Apache License, version 2.0