Create basic functions for handling 1wire device operations.