The Things Network Stack V2 Legacy API
This repository contains legacy The Things Network V2 API for compatibility purposes.
Install
Make sure your Go environment is set up.
$ git clone git@github.com:TheThingsNetwork/lorawan-stack-legacy.git $(go env GOPATH)/go.thethings.network/lorawan-stack-legacy
$ cd $(go env GOPATH)/go.thethings.network/lorawan-stack-legacy
Also, make sure you have protoc
installed.
Regenerate
The contents of this repository is not meant to be edited, considering it is meant to stay compatible with older software.
You can find in this repository the protocol buffer files that define the API, and the generated Go files.
To regenerate the Go files, use the following commands:
$ make deps # Get dependencies
$ make clean # Removes generated protos
$ make protos # Generates the protos