mirror of
https://github.com/tinygo-org/drivers.git
synced 2026-08-17 13:23:26 +00:00
examples: further work on at-lora
Signed-off-by: deadprogram <ron@hybridgroup.com>
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
package main
|
||||
|
||||
type LoraRadio interface {
|
||||
Reset() error
|
||||
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)
|
||||
}
|
||||
Reference in New Issue
Block a user