1-Wire - Frame Format
Output Frame Format
Frame Type: "reset"
"reset"
Property | Type | Description |
Reset pulse
Frame Type: "presence"
"presence"
Property | Type | Description |
Presence Pulse
Frame Type: "rom_command"
"rom_command"
Property | Type | Description |
| str | read, skip, search, or match |
| bytes | The command byte |
ROM command. This is the first command issued by the master after a presence pulse
Frame Type: "crc"
"crc"
Property | Type | Description |
| bytes | The CRC byte |
8 bit CRC, last part of the 64 bit identifier
Frame Type: "family_code"
"family_code"
Property | Type | Description |
| bytes | The family code, which is the first part of the 64 bit identifier |
The family code of the device ID
Frame Type: "id"
"id"
Property | Type | Description |
| int | 48 bit integer, taken from the center of the 64 bit identifier |
The 48 bit device identifier
Frame Type: "data"
"data"
Property | Type | Description |
| bytes | A single data byte |
Data byte after the ROM command and identifier
Frame Type: "invalid_rom_command"
"invalid_rom_command"
Property | Type | Description |
| bytes | The ROM command byte |
Unknown ROM command
Frame Type: "alarm"
"alarm"
Property | Type | Description |
| bytes | The command byte |
Alarm search command
Last updated