Skip to content
This repository has been archived by the owner on Dec 14, 2021. It is now read-only.

Commit

Permalink
Merge pull request #717 from TheThingsNetwork/feature/au-102-dr
Browse files Browse the repository at this point in the history
Add 1.0.2RevB Data Rates to AU915
  • Loading branch information
htdvisser authored Jun 8, 2018
2 parents b734847 + 1cf80b9 commit 30fef4c
Show file tree
Hide file tree
Showing 3 changed files with 254 additions and 1 deletion.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ build-deps:

deps: build-deps
govendor sync -v
git checkout vendor/github.com/brocaar/lorawan/band/band_au915_928.go

dev-deps: deps
@command -v protoc-gen-grpc-gateway > /dev/null || go get github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway
Expand Down
2 changes: 1 addition & 1 deletion core/networkserver/adr_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ func TestHandleDownlinkADR(t *testing.T) {
}
payload = new(lorawan.LinkADRReqPayload)
payload.UnmarshalBinary(fOpts[2].Payload) // Second LinkAdrReq
a.So(payload.DataRate, ShouldEqual, 3) // SF7BW125
a.So(payload.DataRate, ShouldEqual, 5) // SF7BW125
a.So(payload.TXPower, ShouldEqual, 5) // 20
a.So(payload.Redundancy.ChMaskCntl, ShouldEqual, 0) // Channels 0..15
for i := 0; i < 8; i++ { // First 8 channels disabled
Expand Down
252 changes: 252 additions & 0 deletions vendor/github.com/brocaar/lorawan/band/band_au915_928.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 30fef4c

Please sign in to comment.