enum w1_commands — commands available for master or slave operations
enum w1_commands {
W1_CMD_READ,
W1_CMD_WRITE,
W1_CMD_SEARCH,
W1_CMD_ALARM_SEARCH,
W1_CMD_TOUCH,
W1_CMD_RESET,
W1_CMD_SLAVE_ADD,
W1_CMD_SLAVE_REMOVE,
W1_CMD_LIST_SLAVES,
W1_CMD_MAX
}; read len bytes
write len bytes
initiate a standard search, returns only the slave devices found during that search
search for devices that are currently alarming
Touches a series of bytes.
sends a bus reset on the given master
adds a slave to the given master, 8 byte slave id at data[0]
removes a slave to the given master, 8 byte slave id at data[0]
list of slaves registered on this master
number of available commands