|
Treehopper C# API
|
Represents a OneWire-capable host. More...
Public Member Functions | |
| Task | StartOneWireAsync () |
| Start OneWire mode on this host More... | |
| Task | OneWireResetAndMatchAddressAsync (ulong address) |
| Reset all devices on the OneWire bus and send the supplied address More... | |
| Task< List< ulong > > | OneWireSearchAsync () |
| Search all attached devices to discover addresses More... | |
| Task< bool > | OneWireResetAsync () |
| Reset the OneWire bus to put all devices in a known state. More... | |
| Task< byte[]> | ReceiveAsync (int numBytes) |
| Receive data from the OneWire bus More... | |
| Task | SendAsync (byte[] dataToSend) |
| Send an array of bytes to the OneWire bus More... | |
| Task | SendAsync (byte data) |
| Send a single byte to the OneWire bus More... | |
Represents a OneWire-capable host.
| Task StartOneWireAsync | ( | ) |
Start OneWire mode on this host
Implemented in HardwareUart.
| Task OneWireResetAndMatchAddressAsync | ( | ulong | address | ) |
Reset all devices on the OneWire bus and send the supplied address
| address | The address to address |
Implemented in HardwareUart.
| Task<List<ulong> > OneWireSearchAsync | ( | ) |
Search all attached devices to discover addresses
Implemented in HardwareUart.
| Task<bool> OneWireResetAsync | ( | ) |
Reset the OneWire bus to put all devices in a known state.
Implemented in HardwareUart.
| Task<byte[]> ReceiveAsync | ( | int | numBytes | ) |
Receive data from the OneWire bus
| numBytes | The number of bytes to receive |
Implemented in HardwareUart.
| Task SendAsync | ( | byte [] | dataToSend | ) |
Send an array of bytes to the OneWire bus
| dataToSend | A byte array of the data to send |
Implemented in HardwareUart.
| Task SendAsync | ( | byte | data | ) |
Send a single byte to the OneWire bus
| data | The byte to send |
Implemented in HardwareUart.