BlaeckTCP 1.0.0
Frames
B0 — Symbol List (0xB0)
Signal schema: names, types, master/slave config.
| Element | Size | Type | Description |
|---|---|---|---|
| MasterSlaveConfig | 1 byte | uint8 | 0x01 = master, 0x02 = slave |
| SlaveID | 1 byte | uint8 | 0x00 for master; device-specific for slaves |
| SymbolName | variable | string | Signal name |
| DTYPE | 1 byte | uint8 | Datatype code (0x00–0x09). See Datatypes |
B1 — Data (0xB1)
Signal values with StatusByte and CRC32.
| Element | Size | Type | Description |
|---|---|---|---|
| SymbolID | 2 bytes | uint16 | Zero-based signal index (matches B0 order) |
| DATA | variable | raw bytes | Signal value, size per DTYPE |
| StatusByte | 1 byte | uint8 | Device/hub status. See Status Codes |
| CRC32 | 4 bytes | uint32 | Integrity checksum. See CRC32 |
B3 — Devices (0xB3)
Device identity with LibName.
| Element | Size | Type | Description |
|---|---|---|---|
| MasterSlaveConfig | 1 byte | uint8 | 0x01 = master, 0x02 = slave |
| SlaveID | 1 byte | uint8 | 0x00 for master; device-specific for slaves |
| DeviceName | variable | string | User-defined device name |
| HWVersion | variable | string | Hardware version |
| FWVersion | variable | string | Firmware version |
| LibVersion | variable | string | Library version (e.g., "6.0.0") |
| LibName | variable | string | Library name |