mirror of
https://github.com/tinygo-org/drivers.git
synced 2026-09-10 00:29:30 +00:00
sx127x: add functions used for FSK radio communication
Signed-off-by: deadprogram <ron@hybridgroup.com>
This commit is contained in:
@@ -96,6 +96,12 @@ const (
|
||||
SX127X_OPMODE_RX_SINGLE = uint8(0x06)
|
||||
SX127X_OPMODE_CAD = uint8(0x07)
|
||||
|
||||
SX127X_OPMODE_LOW_FREQUENCY = uint8(0x4)
|
||||
|
||||
SX127X_OPMODE_MODULATION_MASK = uint8(0x60)
|
||||
SX127X_OPMODE_MODULATION_FSK = uint8(0x0)
|
||||
SX127X_OPMODE_MODULATION_OOK = uint8(0x20)
|
||||
|
||||
SX127X_LORA_MAC_PUBLIC_SYNCWORD = 0x34
|
||||
SX127X_LORA_MAC_PRIVATE_SYNCWORD = 0x14
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user