onewire_scan
Scan a 1-Wire bus to list every device's 64-bit ROM code and decode its family. If no devices are found, check for the required 4.7k data-line pull-up.
Instructions
1-Wire 搜索 ROM,列出总线上每颗器件的 64 位 ROM 码,并解出家族码对应的器件。
搜不到时的第一条怀疑对象是数据线缺 4.7k 上拉(1-Wire 靠上拉给器件充电, 缺了必然一颗都搜不到)——输出里会给完整清单。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bus | No | ||
| port | No | ||
| baudrate | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |