lospan

module
v0.11.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 3, 2024 License: Apache-2.0

README

lospan - a LoRaWAN library

This library is based on the (Congress LoRaWAN server by Telenor Digital)[https://github.com/ExploratoryEngineering/congress]. (see the NOTICE file)

The server is stripped down a bit to make a LoRaWAN server as a library.

Testing

Build with make

Launch the service itself with

bin/congress --lora-connection-string=lora.db

then run the device emulator with

bin/eagle-one --mode=create

You should see 10 devices send 10 messages each to the service.

Use bin/lc to interact with the gRPC API. This client is for development and testing only so expect sharp edges.

Directories

Path Synopsis
cmd
congress
Package main is the Congress (aka LoRa Core) service.
Package main is the Congress (aka LoRa Core) service.
datagenerator
Package main is the CLI for the data generator tool
Package main is the CLI for the data generator tool
eagle-one
Package main contains the eagle one device simulator
Package main contains the eagle one device simulator
lc
Package main contains the lora server management CLI
Package main contains the lora server management CLI
pkg
apiserver
Package apiserver contains the gRPC server code
Package apiserver contains the gRPC server code
band
Package band defines the frequency bands used by the LoRaWAN package.
Package band defines the frequency bands used by the LoRaWAN package.
cmac
Package cmac implements the AES-CMAC checksum algorithm.
Package cmac implements the AES-CMAC checksum algorithm.
congress
Package congress launches a full blown server
Package congress launches a full blown server
events/gwevents
Package gwevents contains OOB events for the gateways
Package gwevents contains OOB events for the gateways
frequency
Package frequency contains stubbed frequency band settings.
Package frequency contains stubbed frequency band settings.
gateway
Package gateway implements the various gateway interfaces.
Package gateway implements the various gateway interfaces.
keys
Package keys contains an EUI key generator
Package keys contains an EUI key generator
lg
Package lg is the log wrapping package.
Package lg is the log wrapping package.
model
Package model contains the high-level entities in the LoRaWAN spec.package model
Package model contains the high-level entities in the LoRaWAN spec.package model
processor
Package processor contains the various steps in the processing pipeline.package processor
Package processor contains the various steps in the processing pipeline.package processor
protocol
Package protocol contains the low-level LoRaWAN types
Package protocol contains the low-level LoRaWAN types
server
Package server contains the structs used in the pipeline and associated types.
Package server contains the structs used in the pipeline and associated types.
storage
Package storage contains the storage backend for the LoRa Core server.package storage
Package storage contains the storage backend for the LoRa Core server.package storage
utils
Package utils contains various utility types and functions.package utils
Package utils contains various utility types and functions.package utils

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL