Skip to content

Commit

Permalink
automatic template update of 1-Wire Analyzer
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcus10110 committed Oct 29, 2020
1 parent 825458b commit a79f94d
Show file tree
Hide file tree
Showing 2 changed files with 79 additions and 1 deletion.
76 changes: 76 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,3 +83,79 @@ cmake ..
```

Then, open the newly created solution file located here: `build\one_wire_analyzer.sln`


## Output Frame Format

### Frame Type: `"reset"`

| Property | Type | Description |
| :--- | :--- | :--- |


Reset pulse

### Frame Type: `"presence"`

| Property | Type | Description |
| :--- | :--- | :--- |


Presence Pulse

### Frame Type: `"rom_command"`

| Property | Type | Description |
| :--- | :--- | :--- |
| `description` | str | read, skip, search, or match |
| `rom_command` | bytes | The command byte |

ROM command. This is the first command issued by the master after a presence pulse

### Frame Type: `"crc"`

| Property | Type | Description |
| :--- | :--- | :--- |
| `crc` | bytes | The CRC byte |

8 bit CRC, last part of the 64 bit identifier

### Frame Type: `"family_code"`

| Property | Type | Description |
| :--- | :--- | :--- |
| `family` | bytes | The family code, which is the first part of the 64 bit identifier |

The family code of the device ID

### Frame Type: `"id"`

| Property | Type | Description |
| :--- | :--- | :--- |
| `id` | int | 48 bit integer, taken from the center of the 64 bit identifier |

The 48 bit device identifier

### Frame Type: `"data"`

| Property | Type | Description |
| :--- | :--- | :--- |
| `data` | bytes | A single data byte |

Data byte after the ROM command and identifier

### Frame Type: `"invalid_rom_command"`

| Property | Type | Description |
| :--- | :--- | :--- |
| `rom_command` | bytes | The ROM command byte |

Unknown ROM command

### Frame Type: `"alarm"`

| Property | Type | Description |
| :--- | :--- | :--- |
| `rom_command` | bytes | The command byte |

Alarm search command
4 changes: 3 additions & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,9 @@ jobs:
artifact: AnalyzerLibLinux
- download: current
artifact: AnalyzerLibWin
patterns: '*.dll'
patterns: |
*.dll
*.pdb
- download: current
artifact: AnalyzerLibMac
- script: |
Expand Down

0 comments on commit a79f94d

Please sign in to comment.