lorawan: Basic implementation of Lorawan Regional Settings and EU868/AU915 regions

This commit is contained in:
Olivier Fauchon
2023-01-12 22:46:04 +01:00
committed by Ron Evans
parent e6cde8f7ae
commit 78cc1afe46
8 changed files with 125 additions and 14 deletions
+14
View File
@@ -0,0 +1,14 @@
package region
type Channel struct {
Frequency uint32
Bandwidth uint8
SpreadingFactor uint8
CodingRate uint8
}
type RegionSettings interface {
GetJoinRequestChannel() Channel
GetJoinAcceptChannel() Channel
GetUplinkChannel() Channel
}