add latest barebone additions

This commit is contained in:
soypat
2023-06-12 00:09:27 -03:00
parent 211e3ba366
commit 3112fe1b27
4 changed files with 14 additions and 11 deletions
+3
View File
@@ -12,6 +12,9 @@ type DeviceLoRaBare struct {
}
func (d *DeviceLoRaBare) Configure(c lora.Config) (err error) {
// Taken from both:
// pico-lorawan/src/lorawan.c
// pico-lorawan/lib/LoRaMac-node/src/radio/sx1276/sx1276.c
d.DL.Reset()
// Seems to take just under ~6ms. Wait 20ms.
err = d.DL.rxFSKChainCalibration(20 * time.Millisecond)