Skip to content

[Bug]: Direct messages (directed to a certain station) are not re-broadcasted in mesh #1459

Description

@ernax78

Category

Other

Hardware

Not Applicable

Firmware Version

1.2.64

Description

After discussing with @andrekir on Discord, it seems this bug is not addressed in 1.3 either so here it goes;

If you send a direct message it will not be re-broadcasted in the mesh, it will just send directly from the sending station and not "bounce" via MQTT nor other re-broadcast via other stations.

To reproduce:
Send a DM that does not have direct radio connection with the sending station.
If you send a "broadcast" it will get the message (via MQTT / re-broadcast)
If you send the DM, it will not be recieved.

Log output snatched from AndreK at Discord

Relevant log output

broadcast (To0xff)

13:40:42 92934 [RadioIf] (bw=250, sf=11, cr=4/8) packet symLen=8 ms, payloadSize=25, time 665 ms
13:40:42 92934 [RadioIf] Lora RX (id=0xec7f6477 Fr0xbc To0xff, WantAck0, HopLim3 Ch0x8 encrypted rxSNR=6.75 rxSNR=1.52895e-154)
13:40:42 92934 [RadioIf] AirTime - Packet received : 665ms
13:40:42 92934 [Router] Add packet record (id=0xec7f6477 Fr0xbc To0xff, WantAck0, HopLim3 Ch0x8 encrypted rxSNR=6.75 rxSNR=1.52895e-154)
13:40:43 92935 [Router] Using channel 0 (hash 0x8)
13:40:43 92935 [Router] Expanding short PSK #1
13:40:43 92935 [Router] Installing AES128 key!
13:40:43 92935 [Router] decoded message (id=0xec7f6477 Fr0xbc To0xff, WantAck0, HopLim3 Ch0x0 Portnum=3 rxtime=1652881243 rxSNR=6.75 rxSNR=1.52895e-154)
13:40:43 92935 [Router] handleReceived(REMOTE) (id=0xec7f6477 Fr0xbc To0xff, WantAck0, HopLim3 Ch0x0 Portnum=3 rxtime=1652881243 rxSNR=6.75 rxSNR=1.52895e-154)
13:40:43 92935 [Router] Module 'position' wantsPacket=1
13:40:43 92935 [Router] Received position from=0xbdf0bebc, id=0xec7f6477, portnum=3, payloadlen=5
13:40:43 92935 [Router] POSITION node=bdf0bebc l=5 TIME 
13:40:43 92935 [Router] updatePosition SPECIAL time setting time=1652881228
13:40:43 92935 [Router] Node status update: 1 online, 2 total
13:40:43 92935 [Router] Module 'position' considered
13:40:43 92935 [Router] Module 'routing' wantsPacket=1
13:40:43 92935 [Router] Received routing from=0xbdf0bebc, id=0xec7f6477, portnum=3, payloadlen=5
13:40:43 92935 [Router] Routing sniffing (id=0xec7f6477 Fr0xbc To0xff, WantAck0, HopLim3 Ch0x0 Portnum=3 rxtime=1652881243 rxSNR=6.75 rxSNR=1.52895e-154)
13:40:43 92935 [Router] Rebroadcasting received floodmsg to neighbors (id=0xec7f6477 Fr0xbc To0xff, WantAck0, HopLim3 Ch0x0 Portnum=3 rxtime=1652881243 rxSNR=6.75 rxSNR=1.52895e-154)
13:40:43 92935 [Router] Expanding short PSK #1
13:40:43 92935 [Router] Installing AES128 key!
13:40:43 92935 [Router] enqueuing for send (id=0xec7f6477 Fr0xbc To0xff, WantAck0, HopLim2 Ch0x8 encrypted rxtime=1652881243 rxSNR=6.75 rxSNR=1.52895e-154)
13:40:43 92935 [Router] txGood=1554,rxGood=1505,rxBad=1
13:40:43 92935 [Router] rx_snr found. hop_limit:2 rx_snr:6.750000
13:40:43 92935 [Router] rx_snr found in packet. Setting tx delay:1002
13:40:43 92935 [Router] FIXME-update-db Sniffing packet
13:40:43 92935 [Router] Delivering rx packet (id=0xec7f6477 Fr0xbc To0xff, WantAck0, HopLim3 Ch0x0 Portnum=3 rxtime=1652881243 rxSNR=6.75 rxSNR=1.52895e-154)
13:40:44 92936 [Router] Forwarding to phone (id=0xec7f6477 Fr0xbc To0xff, WantAck0, HopLim3 Ch0x0 Portnum=3 rxtime=1652881243 rxSNR=6.75 rxSNR=1.52895e-154)
13:40:44 92936 [Router] Update DB node 0xbdf0bebc, rx_time=1652881243
13:40:44 92936 [Router] Module 'routing' considered

direct message (To0xff)

13:36:53 92705 [RadioIf] (bw=250, sf=11, cr=4/8) packet symLen=8 ms, payloadSize=32, time 747 ms
13:36:53 92705 [RadioIf] Lora RX (id=0xa3590a6e Fr0xbc To0xb2, WantAck1, HopLim3 Ch0x8 encrypted rxSNR=6 rxSNR=1.52895e-154)
13:36:53 92705 [RadioIf] AirTime - Packet received : 747ms
13:36:54 92706 [Router] Add packet record (id=0xa3590a6e Fr0xbc To0xb2, WantAck1, HopLim3 Ch0x8 encrypted rxSNR=6 rxSNR=1.52895e-154)
13:36:54 92706 [Router] Using channel 0 (hash 0x8)
13:36:54 92706 [Router] Expanding short PSK #1
13:36:54 92706 [Router] Installing AES128 key!
13:36:54 92706 [Router] decoded message (id=0xa3590a6e Fr0xbc To0xb2, WantAck1, HopLim3 Ch0x0 Portnum=1 rxtime=1652881014 rxSNR=6 rxSNR=1.52895e-154)
13:36:54 92706 [Router] handleReceived(REMOTE) (id=0xa3590a6e Fr0xbc To0xb2, WantAck1, HopLim3 Ch0x0 Portnum=1 rxtime=1652881014 rxSNR=6 rxSNR=1.52895e-154)
13:36:54 92706 [Router] Module 'routing' wantsPacket=1
13:36:54 92706 [Router] Received routing from=0xbdf0bebc, id=0xa3590a6e, portnum=1, payloadlen=12
13:36:54 92706 [Router] Routing sniffing (id=0xa3590a6e Fr0xbc To0xb2, WantAck1, HopLim3 Ch0x0 Portnum=1 rxtime=1652881014 rxSNR=6 rxSNR=1.52895e-154)
13:36:54 92706 [Router] FIXME-update-db Sniffing packet
13:36:54 92706 [Router] Module 'routing' considered

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions