MeshCore icon

MeshCore

Interact with a MeshCore device over TCP/WiFi

Channel → Send Data

AI-generated

Summary

Sends a hexadecimal application datagram to a MeshCore channel, using flood routing or a direct repeater path. The data type tag is passed to receivers with the payload for application-specific processing.

Inputs

  • Channel Index (required) — Zero-based index of the channel to send on; defaults to 0.
  • Routing — Choose Flood to broadcast across the mesh, subject to the device flood scope, or Direct to route along a specific repeater path. Defaults to Flood.
  • Path (required) — For Direct routing, provide the route as hex bytes, one byte per hop. An empty path sends zero-hop direct.
  • Data Type (required) — Unsigned 16-bit application data type tag passed to receivers. Defaults to 65535 (0xFFFF), the developer namespace; 0 is reserved and rejected.
  • Payload (required) — Datagram payload encoded as hexadecimal.

Output shape

A single result from the channel datagram send operation.

The source pack shows the device send command but omits the operation implementation body, so the precise returned fields and send confirmation behavior are not visible.

Links

Discussion