Skip to content

Conversation

@rightup
Copy link
Owner

@rightup rightup commented Nov 4, 2025

Tweak TX timing and update, and fine tune LBT slightly.

@rightup rightup requested a review from Copilot November 4, 2025 22:16
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR bumps the version to 1.0.4 and refactors the LoRa transmission timeout calculation and channel busy backoff logic in the SX1262 radio driver. The changes align the Python implementation with a C++ MeshCore formula for more accurate timing calculations.

  • Version updated from 1.0.3 to 1.0.4 across all relevant files
  • Replaced approximate timeout calculation with precise LoRa airtime formula
  • Improved channel busy backoff with exponential backoff strategy

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 5 comments.

File Description
tests/test_basic.py Updated version assertion to match new 1.0.4 version
src/pymc_core/init.py Bumped package version to 1.0.4
pyproject.toml Updated project version to 1.0.4
src/pymc_core/hardware/sx1262_wrapper.py Refactored TX timeout calculation using LoRa airtime formula and improved backoff logic with exponential backoff

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@rightup rightup merged commit e0ccf6a into main Nov 4, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants