Skip to content

[Feature Request]: New Device Role "Gateway" that will not decrement hop count or discard zero hop packets for specified client nodes #3437

@ElectroMW

Description

@ElectroMW

Platform

NRF52, ESP32

Description

To access my local mesh I have a remote ROUTER_CLIENT node that my home/primary node connects to. The primary node is usually unable to access any other node except the remote node with the remote node acting as a gateway (in my area I am not alone in this regard).

The mesh is growing to the extent that 3 hops is sometimes needed to reach more distant nodes, even though the node count is still pretty manageable. (Geographically the nodes are fairly widely spaced).

For transmitting I can simply bump the hop count to 4 to account for the gateway but for inbound packets I am effectively limited to 2 unless someone else bumps the count.

My idea is that a node with role GATEWAY (or perhaps GATEWAY_ROUTER & GATEWAY_REPEATER) works as per the existing roles but for a predetermined list of clients it neither decrements the hop count when re-broadcasting the Sender messages of approved clients nor discards the Destination messages of these clients if the hop count is zero but rebroadcasts them.

Perhaps this could be extended a bit further without causing too much additional traffic by also handling messages from new (to the gateway) nodes in this manner to allow the possibility of node discovery at the "true" third hop. Possibly taking a Store and Forward approach to this as opposed to or instead of a simple re-broadcast in this case.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions