Skip to content

Commit d6a86bf

Browse files
committed
Rename DataRate > BitRate (FSK modulation).
1 parent ecb0881 commit d6a86bf

File tree

5 files changed

+11
-7
lines changed

5 files changed

+11
-7
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## 1.1.1
4+
5+
* Rename DataRate to BitRate (FSK modulation)
6+
37
## 1.1.0
48

59
Note that the changes below are incompatible with LoRa Server

gateway/backend.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,7 @@ func newDataRateFromDatR(d DatR) (band.DataRate, error) {
446446

447447
if d.FSK != 0 {
448448
dr.Modulation = band.FSKModulation
449-
dr.DataRate = int(d.FSK)
449+
dr.BitRate = int(d.FSK)
450450
return dr, nil
451451
}
452452

@@ -461,6 +461,6 @@ func newDatRfromDataRate(d band.DataRate) DatR {
461461
}
462462

463463
return DatR{
464-
FSK: uint32(d.DataRate),
464+
FSK: uint32(d.BitRate),
465465
}
466466
}

vendor/github.com/brocaar/lorawan/band/band.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/brocaar/lorawan/band/band_eu863_870.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/vendor.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@
2121
"revisionTime": "2016-04-16T09:33:49Z"
2222
},
2323
{
24-
"checksumSHA1": "JhsEl+poxTkTUc4HyjvI7KTnIiw=",
24+
"checksumSHA1": "Aj6/AlM74fTWzev+Li6Si9KynJU=",
2525
"origin": "github.com/brocaar/lora-semtech-bridge/vendor/github.com/brocaar/lorawan/band",
2626
"path": "github.com/brocaar/lorawan/band",
27-
"revision": "61f52e3008626c275b62a72090a7ef13a6294764",
28-
"revisionTime": "2016-04-16T09:33:49Z"
27+
"revision": "701d895780c438307bba7f70991be16b6b4955a3",
28+
"revisionTime": "2016-04-17T10:01:52Z"
2929
},
3030
{
3131
"path": "github.com/codegangsta/cli",

0 commit comments

Comments
 (0)