MeshCore icon

MeshCore

Interact with a MeshCore device over TCP/WiFi

Repeater → Get Neighbours

AI-generated

Summary

Fetches a paginated list of neighbours known to a target Repeater, with a selectable sort order and public key prefix length.

Inputs

  • Contact Public Key (required) — Target Repeater’s public key in hexadecimal; the first 6 bytes are used for routing.
  • Count — Maximum number of neighbours to fetch; defaults to 10.
  • Offset — Result offset for pagination; defaults to 0.
  • Order By — Sorts newest to oldest, oldest to newest, strongest to weakest, or weakest to strongest; defaults to Newest to Oldest.
  • Public Key Prefix Length — Number of public key prefix bytes to return for each neighbour; defaults to 8.
  • Extra Timeout (Ms) — Additional wait time beyond the device’s airtime estimate; defaults to 5000 ms. Increase it for longer or slower paths.

Output shape

A single result containing the fetched neighbours.

The list is limited and paginated by Count and Offset. Requires a Repeater running firmware v1.9.0 or later.

Links

Discussion