mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-04-20 22:13:47 +00:00
parent
2fe3c36b8f
commit
1fb26e7623
7 changed files with 23 additions and 30 deletions
|
|
@ -290,8 +290,7 @@ Bytes 7+: Message Text (UTF-8, variable length)
|
|||
Byte 0: 0x3E
|
||||
Byte 1: Data Type (`data_type`)
|
||||
Byte 2: Channel Index (0-7)
|
||||
Bytes 3-6: Timestamp (32-bit little-endian Unix timestamp, seconds)
|
||||
Bytes 7+: Binary payload bytes (variable length)
|
||||
Bytes 3+: Binary payload bytes (variable length)
|
||||
```
|
||||
|
||||
**Data Type / Transport Mapping**:
|
||||
|
|
@ -299,8 +298,10 @@ Bytes 7+: Binary payload bytes (variable length)
|
|||
- `0x00` is invalid for this command.
|
||||
- Values other than `0xFF` are reserved for official protocol extensions.
|
||||
|
||||
**Note**: Applications that need a timestamp should encode it inside the binary payload.
|
||||
|
||||
**Limits**:
|
||||
- Maximum payload length is `160` bytes.
|
||||
- Maximum payload length is `166` bytes.
|
||||
- Larger payloads are rejected with `PACKET_ERROR`.
|
||||
|
||||
**Response**: `PACKET_OK` (0x00) on success
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue