MeshCore icon

MeshCore

Interact with a MeshCore device over TCP/WiFi

Contact → Set Path

AI-generated

Summary

Set a contact’s route on the MeshCore device using its public key and an optional path of hop bytes. Leave Path empty to set a zero-hop route.

Inputs

  • Public Key (required) — Contact public key as hexadecimal.
  • Path — Route bytes as hexadecimal, with each byte representing a hop. An empty value specifies a zero-hop path.

Output shape

A contact record or operation result returned by the device.

The supplied source pack shows the setContactPath implementation exists, but omits the operation dispatch body, so the exact returned shape is not visible.

Examples

Example 1: Use a direct route with no intermediate hops.

Provide the contact’s public key and leave Path empty.

Links

Discussion