Abstract

Field: Network protocol design; robot communication standards; emergency protocol architecture

Problem Solved: No prior robot network protocol defines a universal message envelope that unifies versioning, layer demultiplexing, message identification, priority signaling, payload encoding declaration, and emergency override capability in a fixed-length binary header across all protocol layers simultaneously.

Disclosure Summary: The RP2P Envelope Message defines a fixed 32-byte binary header carried by every RP2P™ message at every layer. A dedicated SAFE override flag in the Flags field and a reserved priority value 0xFF in the priority byte enable unconditional emergency preemption of all queued non-emergency messages.

Key Technical Details:

•  Fixed 32-byte header in network byte order preceding variable-length payload

•  Magic field: 2 bytes ASCII ‘R2’ (0x52 0x32) for frame synchronization

•  Ver field: 1 byte protocol major version; this specification defines 0x01

•  Lyr field: 1 byte originating layer 0x00–0x06; 0x0F reserved for RP2P-SAFE™

•  MsgType field: 2 bytes layer-scoped message type from Foundation registry

•  Flags field: bit 0 ACK, bit 1 fragment, bit 2 compressed, bit 3 SAFE override, bits 4–15 reserved

•  MessageID field: 8 bytes monotonic per-sender identifier for ACK, dedup, and audit

•  Timestamp field: 8 bytes microseconds since Unix epoch UTC

•  Prio field: 0x00 background through 0xC0 real-time; 0xFF reserved for RP2P-SAFE™

•  Enc field: 0x01 CBOR mandatory, 0x02 JSON optional, 0x03 protobuf optional

•  PayloadLen field: 4 bytes; maximum 16 MiB per message

•  HdrCRC16 field: CRC-16/CCITT over header bytes 0–29

•  SAFE override flag mandates processing ahead of all queued non-SAFE messages

Prior Art Differentiation: Ethernet, IP, and TCP define layer-specific headers for their respective protocol functions. No prior protocol defines a universal envelope header spanning all layers of a robot cooperation stack with integrated emergency preemption signaling at the envelope level.

Creative Commons License

Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 License.

Share

COinS