examples: use shorter names for Lora radio functions

Signed-off-by: deadprogram <ron@hybridgroup.com>
This commit is contained in:
deadprogram
2023-01-08 18:51:03 +01:00
parent 38ba7772e2
commit 24b6f0f296
5 changed files with 22 additions and 22 deletions
+8 -8
View File
@@ -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)
}