Skip to content

receive() with timeout exits immediately after transmit() on SX1262 (Heltec WiFi LoRa 32 V3) #1748

@jacb38

Description

@jacb38

Hardware : Heltec WiFi LoRa 32 V3.2 (ESP32-S3 + SX1262)
RadioLib version : 7.1.2
Framework : Arduino / PlatformIO
Issue :
After a successful radio.transmit(), calling radio.receive(buffer, timeout_ms) returns -6 (RADIOLIB_ERR_RX_TIMEOUT) almost immediately regardless of the timeout value set (tested with 15000ms and 25000ms).
The SX1262 does not appear to enter RX mode properly after TX when using the blocking receive() call.
Workaround :
Using the interrupt-driven approach with startReceive() + DIO1 callback works correctly and the node successfully receives packets.
Question : Is blocking receive() after transmit() supported on SX1262 ? Should standby() be called explicitly between TX and RX ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    staleIssue was left inactive for too longtemplate info missingAuthor of this issue ignored the issue template.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions