Skip to content

Fix: Semtech radio Sleep fails when not in Standby#2986

Open
entr0p1 wants to merge 1 commit into
meshcore-dev:devfrom
entr0p1:fix/radio-poweroff
Open

Fix: Semtech radio Sleep fails when not in Standby#2986
entr0p1 wants to merge 1 commit into
meshcore-dev:devfrom
entr0p1:fix/radio-poweroff

Conversation

@entr0p1

@entr0p1 entr0p1 commented Jul 19, 2026

Copy link
Copy Markdown
Contributor

Radio powerOff() may be ineffective on some radios (confirmed SX1262, SX1268, LLCC68, possibly also LR1110 and LR1121) if the radio is not in Standby state (e.g. if its in RX). This PR ensures the radio is in standby before calling the sleep command.

From section 13.1.1 of Semtech datasheet for SX1262, SX1268, LLCC68: "The command SetSleep(...) sets the device in SLEEP mode with the lowest current consumption possible. This command can be sent only while in STDBY mode "

SX1262 Datasheet
SX1268 Datasheet
LLCC68 Datasheet

SX1276 not affected, LR1110 and LR1121 are unclear from the datasheets.

Fixes:

  • RadioLibWrapper, CustomSX1262Wrapper: call Standby() before calling Sleep()

… SX1268, LLCC68, possibly also LR1110 and LR1121).

From Semtech datasheet for SX1262, SX1268, LLCC68:
"The command SetSleep(...) sets the device in SLEEP mode with the lowest current consumption possible. This command can be sent
only while in STDBY mode "

SX1276 not affected, LR1110 and LR1121 are unclear from the datasheets.

Fixes:
- RadioLibWrapper, CustomSX1262Wrapper: call Standby() before calling Sleep() as
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.

1 participant