mirror of
https://github.com/tinygo-org/drivers.git
synced 2026-08-24 16:39:02 +00:00
lorawan/sx12xx : Code cleanup
This commit is contained in:
committed by
Ron Evans
parent
d473b9e1dc
commit
02d808a6fb
@@ -5,10 +5,12 @@ type Channel struct {
|
||||
Bandwidth uint8
|
||||
SpreadingFactor uint8
|
||||
CodingRate uint8
|
||||
PreambleLength uint16
|
||||
TxPowerDBm int8
|
||||
}
|
||||
|
||||
type RegionSettings interface {
|
||||
GetJoinRequestChannel() Channel
|
||||
GetJoinAcceptChannel() Channel
|
||||
GetUplinkChannel() Channel
|
||||
JoinRequestChannel() *Channel
|
||||
JoinAcceptChannel() *Channel
|
||||
UplinkChannel() *Channel
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user