Limits
| What | Limit | Where it matters |
|---|---|---|
| Telegram | 64 bytes | Everything |
| File name | 15 + . + 3 ASCII characters | FileName |
| Brick name | 15 ASCII characters | BrickName |
| Message | 58 bytes | Message, messages().send |
| Mailboxes | 10 inboxes, 10 response outboxes | Mailbox, RemoteMailbox |
| File read chunk | 58 bytes per request | system().read, MAX_READ |
| File write chunk | 61 bytes per request | system().write, MAX_WRITE |
| I/O-map read chunk | 55 bytes per request | MAX_IO_MAP_READ |
| I/O-map write chunk | 54 bytes per request | MAX_IO_MAP_WRITE |
| Poll chunk | 59 bytes | MAX_POLL |
| I²C transfer | 16 bytes each way | LsBytes |
| Motor power, turn ratio | −100 … 100 | Power, TurnRatio |
| Tone | 200 … 14 000 Hz, ≤ 65.535 s | Hz, Millis16 |
| Screen | 100 × 64 pixels, 800 bytes | display::Screen |
| Outputs / inputs | 3 / 4 | OutputPort, InputPort |
The chunk constants live in nxt_rs::protocol::system.