Skip to content

RandRSSI() function returns only zero bytes for RADIO_SX127X #9

@zendulkaj

Description

@zendulkaj

Current Behavior

I use an ELRS TX device with ESP32 + SX127X. I tested your solution and found that the RandRSSI() function returns only zero bytes (0x00) in that HW configuration.

Steps to Reproduce

Can be easily verified via ELRS RX device:
Upload FW with -DDEBUG_LOG to ELRS RX device. When an encryption connection is established then a new key (retrieved from RandRSSI() of ELRS TX device) is printed out on the UART console.

Possible Solution (Not obligatory)

I think there is a typo in this line:
image

Details

Your Environment

  • TX hardware: ESP32 + SX127X
  • RX hardware:
  • Handset model:
  • OpenTX version (including nightly number)
  • ExpressLRS version (TX & RX MUST MATCH): Secure 3.5.3
  • Packet Rate:
  • Telemetry Ratio:
  • user_defines:

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions