aboutsummaryrefslogtreecommitdiff
path: root/embassy-lora/src
Commit message (Collapse)AuthorAgeFilesLines
* Move embassy-lora, lora examples to lora-phy repo.Dario Nieuwenhuis2023-11-293-615/+0
|
* Re-add impl_trait_projectionsDániel Buga2023-10-301-1/+2
|
* time: Update examples, tests, and other code to use new Timer::after_x ↵Adam Greig2023-10-151-1/+1
| | | | convenience methods
* Remove impl_trait_projections.Dario Nieuwenhuis2023-10-021-1/+1
|
* stm32: use PAC enums for VOS.Dario Nieuwenhuis2023-09-181-9/+5
|
* Wait for high for DIO1 for rp2040-based LoRa boards.ceekdee2023-09-121-5/+1
|
* Sync all fmt.rs files.Dario Nieuwenhuis2023-08-301-6/+39
|
* stm32: update stm32-metapac.Dario Nieuwenhuis2023-06-191-11/+5
|
* Make interrupt module more standard.Dario Nieuwenhuis2023-06-081-6/+6
| | | | | | | | | | | | - Move typelevel interrupts to a special-purpose mod: `embassy_xx::interrupt::typelevel`. - Reexport the PAC interrupt enum in `embassy_xx::interrupt`. This has a few advantages: - The `embassy_xx::interrupt` module is now more "standard". - It works with `cortex-m` functions for manipulating interrupts, for example. - It works with RTIC. - the interrupt enum allows holding value that can be "any interrupt at runtime", this can't be done with typelevel irqs. - When "const-generics on enums" is stable, we can remove the typelevel interrupts without disruptive changes to `embassy_xx::interrupt`.
* cortex-m: remove owned interrupts.Dario Nieuwenhuis2023-06-011-3/+3
|
* stm32: move lora to bind_interruptsxoviat2023-05-241-15/+21
|
* Update Rust nightly.Dario Nieuwenhuis2023-05-191-1/+0
|
* Remove external-lora-phy feature.ceekdee2023-04-281-1/+1
|
* Remove legacy LoRa drivers.ceekdee2023-04-2710-3410/+2
|
* Deprecate original LoRa drivers. Update rust-lorawan releases.ceekdee2023-04-251-0/+1
|
* Add lora-phy examples.ceekdee2023-04-231-0/+3
|
* Add external LoRa physical layer functionality.ceekdee2023-04-212-0/+328
|
* Update to rust-lorawan with afit supportUlf Lilleengen2023-04-154-179/+135
|
* Change timing window to match values found experimentally.Caleb Jamison2023-02-171-2/+2
|
* LoRa/STM32WL: adjust Rx window offset and durationSamuel Tardieu2023-02-021-2/+2
| | | | | Those timings open Rx time windows covering 99.7% of the one expected by the antenna while allowing 3ms for the Rx subsystem to start listening.
* LoRa/SX126x: adjust Rx window offset and durationSamuel Tardieu2023-02-021-2/+2
| | | | | Those timings open Rx time windows covering 99.7% of the one expected by the antenna while allowing 3ms for the Rx subsystem to start listening.
* LoRa/SX1276: adjust Rx window offset and durationSamuel Tardieu2023-01-271-2/+2
| | | | | | | | | | | | | | | | | | | | | | | After a transmission, two receive windows Rx1 and Rx2 are opened for one second each, one right after the other, after a fixed delay (for example 5s). The Rx window offset is added to the starting date of each window and the Rx window duration represents the maximum delay we will wait for an incoming message before declaring that a timeout occurred. A value of -500ms for the offset and 800ms for the duration means that instead of having Rx1 = [5000, 6000[ and Rx2 = [6000, 7000[ we get Rx1 = [4500, 5300[ and Rx2 = [5500, 6300[. We only cover 30% of the expected windows. The maximum time a SX127x can take before the Rx side is ready is TS_HOP + TS_RE = 50µs + 2.33ms. Using 3ms for the offset and 1003ms for the duration will give much better time windows: Rx1 = [4997, 5997[ and Rx2 = [5997, 7000]. Note that the lorawan-device crate caps Rx1 end date to Rx2 start date. This change allows a previously failing Murata CMWX1ZZABZ-091 module (STM32L + SX1276) to connect to the TTN LoRa network.
* Fix LoRaWAN PHY settings for SX126x driverJustin Beaurivage2022-11-211-3/+3
| | | | | * Set preamble length to 8 symbols * Set polarity to inverted for received messages
* Special handling for log and defmtUlf Lilleengen2022-11-091-0/+4
|
* Ensure embassy-lora stm32wl supports log crateUlf Lilleengen2022-11-071-4/+4
|
* Change rak4631 feature to sx126x, removing use in board-specific processing; ↵ceekdee2022-10-103-24/+12
| | | | simplify the P2P examples; correct RSSI computation.
* Improve generics and consolidate antenna handlingceekdee2022-10-084-79/+61
|
* Merge branch 'embassy-rs:master' into masterChuck Davis2022-09-281-3/+3
|\
| * Remove subghz static lifetime requirementUlf Lilleengen2022-09-281-3/+3
| |
* | Update some outstanding questionsceekdee2022-09-281-9/+9
| |
* | Initial add for sx126xceekdee2022-09-276-0/+2316
|/
* Replace futures::future::poll_fn -> core::future::poll_fn.Dario Nieuwenhuis2022-09-221-2/+1
|
* Update Rust nightly.Dario Nieuwenhuis2022-09-221-1/+0
| | | | Removes feature(generic_associated_types)
* run `cargo fmt`Timo Kröger2022-09-031-4/+3
|
* lora: Fix unused import warningTimo Kröger2022-08-261-1/+1
|
* Adjust timings after offset calculation fixUlf Lilleengen2022-08-261-2/+2
|
* Make settings configurableUlf Lilleengen2022-08-261-3/+7
|
* Add impl for offset radio interfaceUlf Lilleengen2022-08-261-2/+24
|
* lora: Improve TX/RX parametersTimo Kröger2022-08-261-42/+40
| | | | Match the settings used in the C driver
* lora: Make some options configurableTimo Kröger2022-08-261-38/+37
| | | | | | Call `config()` only once at construction not with every RX and TX operation. The Lora-E5 only supports HP mode, use that instead. The nucleo board supports both HP and LP and should continue to work.
* lora: Use a trait for RF frontend switchingTimo Kröger2022-08-261-35/+7
| | | | | | The Seeed Studio Lora-E5 module only has two control pins. With the `RadioSwitch` trait the user can implement any method required by the module/board to control the TX/RX direction of the radio frontend.
* lora: Improve IRQ handlingTimo Kröger2022-08-261-72/+50
| | | | | | | * Interrupt handler only triggers a waker: Do the actual interrupt processing which involves SUBGHZ SPI coms in the task. * Do not require a static state for the constructor. * Remove unsafe from construcor.
* sync: flatten module structure.Dario Nieuwenhuis2022-08-221-1/+1
|
* split `embassy-util` into `embassy-futures`, `embassy-sync`.Dario Nieuwenhuis2022-08-221-1/+1
|
* Split embassy-time from embassy-executor.Dario Nieuwenhuis2022-08-182-2/+2
|
* Split embassy crate into embassy-executor, embassy-util.Dario Nieuwenhuis2022-07-293-3/+3
|
* Rename Unborrowed -> PeripheralRef, Unborrow -> PeripheralDario Nieuwenhuis2022-07-231-5/+5
|
* Update embassy-stm32Dario Nieuwenhuis2022-07-231-23/+23
|
* Extract setting of lora modulation paramsDaniel Bevenius2022-06-151-15/+14
| | | | | | This commit suggests extracting the lora modulation parameters into a separate function which can then be called from both the do_tx, and the do_rx functions.
* Run rustfmt.Dario Nieuwenhuis2022-06-123-179/+69
|