Actions76
- Advert Actions
- Channel Actions
- Contact Actions
- Device Actions
- Export Private Key
- Factory Reset
- Get Allowed Repeat Frequencies
- Get Auto Add Config
- Get Battery Voltage
- Get Custom Variables
- Get Device Info
- Get Device Time
- Get Radio Parameters
- Get Self Info
- Get Self Telemetry
- Get Stats
- Get Tuning Parameters
- Reboot
- Set Advert Name
- Set Auto Add Config
- Set Custom Variable
- Set Device Pin
- Set Device Time
- Set Other Parameters
- Set Path Hash Mode
- Set Radio Parameters
- Set Tuning Parameters
- Sign Data
- Sync Device Time
- Diagnostic Actions
- Flood Scope Actions
- Message Actions
- Repeater Actions
- Utility Actions
Contact → Set Path
AI-generatedSummary
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.