Skip to content

[Bug]: RAK4631 stops updating after a while (and only comes back after any kind of serial connection) #5754

Closed
@andrepcg

Description

@andrepcg

Category

Other

Hardware

Rak4631

Firmware Version

2.5.15.79da236

Description

Not sure if related to #5491 so I opted to create a new issue to tackle the potential bug separately.

I'm also experiencing some issues with a RAK4631 (i have 2 and one is acting weird).

List of nodes:

  • A (esp32), connected to wifi and MQTT
  • B (RAK4631), node connected to a Raspberry Pi that I can SSH into. Firmware: 2.5.15"
  • C (RAK4631), purely remote node (solar). Firmware: 2.5.18.89ebafc"

I'm in a very low density area and only my nodes are present.

A can see C and somewhat see B. B can see C.

Looking at the meshtastic map, node B stops being updated after a while (some random time). If I ssh into the raspberry and leave a serial connection opened with --noproto, it never stops responding and the "last updated" info in the map is always fresh.

It also seems that triggering any serial connection with the board makes it soft reset and it starts responding again and the map info gets instantaneously updated (by talking to the A node).

1. Requesting telemetry for node B on node A:

meshtastic --request-telemetry --dest '!5570b7aa'
Connected to radio
Sending device_metrics telemetry request to !5570b7aa on channelIndex:0 (this could take a while)
Aborting due to: Timed out waiting for telemetry

2. Node B logs right after starting --noproto:

~ $ meshtastic --noproto
WARNING file:mesh_interface.py _sendToRadio line:1117 Not sending packet because protocol use is disabled by noProto
Connected to radio
Mv=4275, batPct=100
DEBUG | 13:58:21 165 [Power] Battery: usbPower=1, isCharging=1, batMv=4277, batPct=100
ERROR | 18:39:17 189821 [RadioIf] Ignore received packet due to error=-7
DEBUG | 18:39:17 189821 [RadioIf] Packet RX (noise?) : 673ms
INFO  | 18:39:17 189822 [NodeInfo] Send our nodeinfo to mesh (wantReplies=0)
DEBUG | 18:39:17 189822 [NodeInfo] cancelSending id=0x2afbc70d, removed=0
INFO  | 18:39:17 189822 [NodeInfo] Send owner !5570b7aa/RUB1-02########/RB02
DEBUG | 18:39:17 189822 [NodeInfo] Partially randomized packet id 3399141136
DEBUG | 18:39:17 189822 [NodeInfo] Update DB node 0x5570b7aa, rx_time=1736015957
DEBUG | 18:39:17 189822 [NodeInfo] handleReceived(LOCAL) (id=0xca9ac710 fr=0x5570b7aa to=0xffffffff, WantAck=0, HopLim=4 Ch=0x0 Portnum=4 rxtime=1736015957 priority=10)
DEBUG | 18:39:17 189822 [NodeInfo] No modules interested in portnum=4, src=LOCAL
DEBUG | 18:39:17 189822 [NodeInfo] Add packet record (id=0xca9ac710 fr=0x5570b7aa to=0xffffffff, WantAck=0, HopLim=4 Ch=0x0 Portnum=4 rxtime=1736015957 priority=10)
DEBUG | 18:39:17 189822 [NodeInfo] Expand short PSK #1
DEBUG | 18:39:17 189822 [NodeInfo] Use AES128 key!
DEBUG | 18:39:17 189822 [NodeInfo] enqueue for send (id=0xca9ac710 fr=0x5570b7aa to=0xffffffff, WantAck=0, HopLim=4 Ch=0x8 encrypted len=100 rxtime=1736015957 hopStart=4 priority=10)
DEBUG | 18:39:17 189822 [NodeInfo] txGood=4,txRelay=1,rxGood=10,rxBad=8
INFO  | 18:39:17 189822 [Position] Send pos@0:6 to mesh (wantReplies=0)
DEBUG | 18:39:17 189822 [Position] cancelSending id=0x4fe0cf0f, removed=0
DEBUG | 18:39:17 189822 [Position] Send location with precision 16
INFO  | 18:39:17 189822 [Position] Strip low RTCQuality (2) time from position
INFO  | 18:39:17 189822 [Position] Position reply: time=0 lat=40196xxxx lon=-8418xxxx
DEBUG | 18:39:17 189822 [Position] Partially randomized packet id 3745994513
.....

3. Requesting telemetry for node B on node A after the step above:

meshtastic --request-telemetry --dest '!5570b7aa'
Connected to radio
Sending device_metrics telemetry request to !5570b7aa on channelIndex:0 (this could take a while)
Telemetry received:
Battery level: 101.00%
Voltage: 4.28 V
Total channel utilization: 3.15%
Transmit air utilization: 0.15%
Uptime: 189882 s

If I leave --noproto running on node B (by using the RPi), it never stops responding! (or if I run any command that talks to the node via serial)

Relevant log output

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions