id property

  1. @TagNumber(6)
int get id

A unique ID for this packet. Always 0 for no-ack packets or non broadcast packets (and therefore take zero bytes of space). Otherwise a unique ID for this packet, useful for flooding algorithms. ID only needs to be unique on a per sender basis, and it only needs to be unique for a few minutes (long enough to last for the length of any ACK or the completion of a mesh broadcast flood). Note: Our crypto implementation uses this id as well. See crypto for details.

Implementation

@$pb.TagNumber(6)
$core.int get id => $_getIZ(5);
  1. @TagNumber(6)
set id (int value)

Implementation

@$pb.TagNumber(6)
set id($core.int value) => $_setUnsignedInt32(5, value);