mirror of
https://github.com/tinygo-org/drivers.git
synced 2026-08-16 21:03:23 +00:00
examples: use shorter names for Lora radio functions
Signed-off-by: deadprogram <ron@hybridgroup.com>
This commit is contained in:
@@ -11,12 +11,12 @@ var (
|
||||
|
||||
type LoraRadio interface {
|
||||
Reset()
|
||||
LoraTx(pkt []uint8, timeoutMs uint32) error
|
||||
LoraRx(timeoutMs uint32) ([]uint8, error)
|
||||
SetLoraFrequency(freq uint32)
|
||||
SetLoraIqMode(mode uint8)
|
||||
SetLoraCodingRate(cr uint8)
|
||||
SetLoraBandwidth(bw uint8)
|
||||
SetLoraCrc(enable bool)
|
||||
SetLoraSpreadingFactor(sf uint8)
|
||||
Tx(pkt []uint8, timeoutMs uint32) error
|
||||
Rx(timeoutMs uint32) ([]uint8, error)
|
||||
SetFrequency(freq uint32)
|
||||
SetIqMode(mode uint8)
|
||||
SetCodingRate(cr uint8)
|
||||
SetBandwidth(bw uint8)
|
||||
SetCrc(enable bool)
|
||||
SetSpreadingFactor(sf uint8)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user