Skip to content

V2.0

Latest

Choose a tag to compare

@SMotlaq SMotlaq released this 23 Oct 09:44
· 1 commit to master since this release

Release Date: October 2026

Major refactoring and quality improvement release. This version focuses on code cleanliness, correctness, documentation and backward compatibility.

What's New

  • Complete code cleanup

    • Fixed all typos and inconsistent naming
    • Modern and consistent API naming with LORA_ prefix
    • Better structure and readability
  • New Features

    • SNR measurement (LoRa_getSNR())
    • Improved RSSI calculation (uses SNR when negative)
    • Fully implemented LoRa_receive_IT() for interrupt-driven reception
    • SF6 support
    • Proper null-pointer and parameter checks
    • Automatic high-power mode (RegPaDac) when using +20 dBm
    • Sync Word is now set during initialization
  • Documentation

    • Full Doxygen comments for all public functions and the main structure
    • Professional README with clear examples
    • Dedicated Migration Guide
  • Compatibility

    • New LoRa_compat.h layer so older projects (v1.x) can still compile with minimal changes
    • Clear migration instructions for the three renamed structure members
  • Examples

    • Five ready-to-use examples covering:
      • Basic TX
      • Polling RX
      • Interrupt RX
      • Ping-Pong
      • Long-range configuration

Breaking Changes

Old Name New Name
spredingFactor spreadingFactor
bandWidth bandwidth
crcRate codingRate
STNBY_MODE LORA_MODE_STANDBY
POWER_20db etc. LORA_POWER_20DBM etc.

Most old #defines still work if you include LoRa_compat.h.

Recommended Action for Existing Users

  1. Replace LoRa.h and LoRa.c with the new files.
  2. Add #include "LoRa_compat.h".
  3. Rename the first three structure fields mentioned above.
  4. Test your application.

Full Changelog: See commit history and MIGRATION.md