mirror of
https://github.com/tinygo-org/drivers.git
synced 2026-08-21 06:59:00 +00:00
lorawan: Basic implementation of Lorawan Regional Settings and EU868/AU915 regions
This commit is contained in:
committed by
Ron Evans
parent
e6cde8f7ae
commit
78cc1afe46
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user