Skip to content

Commit

Permalink
IRQ_HEADER_ERROR should issue RX error
Browse files Browse the repository at this point in the history
not RX timeout
  • Loading branch information
beegee-tokyo committed Nov 22, 2023
1 parent ca87947 commit cfee171
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 4 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ Arduino library for LoRa communication with Semtech SX126x chips. It is based on

# Release Notes

## V2.0.22 IRQ_HEADER_ERROR should issue RX error, not RX timeout
- Change behaviour of IRQ_HEADER_ERROR, thanks to _**@JeromeBriot**_

## V2.0.21 Some fixes
- Fix public/private network always public
- Add option to restart MAC stack to change e.g. region without re-init timers
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
----
## Changelog
[Code releases](CHANGELOG.md)
- 2023-11-22
- Change behaviour of IRQ_HEADER_ERROR, thanks to _**@JeromeBriot**_
- 2023-10-01
- Fix public/private network always public
- Add option to restart MAC stack to change e.g. region without re-init timers
Expand Down
2 changes: 1 addition & 1 deletion library.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "SX126x-Arduino",
"version": "2.0.21",
"version": "2.0.22",
"keywords": [
"lora",
"Semtech",
Expand Down
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=SX126x-Arduino
version=2.0.21
version=2.0.22
author=Bernd Giesecke <[email protected]>
maintainer=Bernd Giesecke <[email protected]>
sentence=Arduino library to use Semtech SX126x LoRa chips and modules to communicate
Expand Down
4 changes: 2 additions & 2 deletions src/radio/sx126x/radio.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1412,9 +1412,9 @@ void RadioBgIrqProcess(void)
//!< Update operating mode state to a value lower than \ref MODE_STDBY_XOSC
SX126xSetOperatingMode(MODE_STDBY_RC);
}
if ((RadioEvents != NULL) && (RadioEvents->RxTimeout != NULL))
if ((RadioEvents != NULL) && (RadioEvents->RxError != NULL))
{
RadioEvents->RxTimeout();
RadioEvents->RxError();
}
}
}
Expand Down

0 comments on commit cfee171

Please sign in to comment.