Options
All
  • Public
  • Public/Protected
  • All
Menu

(Formerly called SubPacket) The payload portion fo a packet, this is the actual bytes that are sent inside a radio packet (because from/to are broken out by the comms library)

generated

from protobuf message Data

Hierarchy

  • Data

Index

Properties

dest

dest: number

The address of the destination node. This field is is filled in by the mesh radio device software, application layer software should never need it. RouteDiscovery messages must populate this. Other message types might need to if they are doing multihop routing.

generated

from protobuf field: fixed32 dest = 4;

payload

payload: Uint8Array

Required

generated

from protobuf field: bytes payload = 2;

portnum

portnum: PortNum

Formerly named typ and of type Type

generated

from protobuf field: PortNum portnum = 1;

requestId

requestId: number

Only used in routing or response messages. Indicates the original message ID that this message is reporting failure on. (formerly called original_id)

generated

from protobuf field: fixed32 request_id = 6;

source

source: number

The address of the original sender for this message. This field should only be populated for reliable multihop packets (to keep packets small).

generated

from protobuf field: fixed32 source = 5;

wantResponse

wantResponse: boolean

Not normally used, but for testing a sender can request that recipient responds in kind (i.e. if it received a position, it should unicast back it's position). Note: that if you set this on a broadcast you will receive many replies.

generated

from protobuf field: bool want_response = 3;

Generated using TypeDoc