The Compact.NET 1-Wire API assembly library (OneWireLinkLayer.dll) is a
limited port of the OW.NET API to C# and is focused on Windows
CE/Mobile/Pocket PC using the Compact .NET framework. For now
Maxim only provides the equivalent of the DSPortAdapter object in the
Compact.NET API. However, an open-source effort is underway to
provide more pure C# classes (such as OneWireContainers, MemoryBanks,
etc). It is currently available from
http://sourceforge.net/projects/owdotnet/.
The examples written for the Compact.NET 1-Wire API are linked to the
Compact .NET framework version 2.0. This is available as a free
download from Microsoft's website.
The Compact .NET 1-Wire API contents of this SDK are as follows:
- 2 example programs written entirely in C#.
- A complete set of HTML documentation containing detailed
descriptions
of all of the objects, methods, and
properties included in the API.
- Compiled versions of all of the example programs.
- The complete source code for the OneWireLinkLayer.dlll
assembly library as a Visual Studio 2005 C# project.
File list for the SDK 1-Wire COM:
Documentation in (install directory)\DOCS\Compact.NET:
HTML DOCS - To browse them, please start with index.html.
Source Files for the OneWireLinkLayer.dll in (install
directory)\SOURCE\Compact.NET.
Source Files by directory in (install
directory)\EXAMPLES\Compact.NET.
\C#
\Get1WireAddresses
- C# GUI demo.
The "Get1WireAddresses.exe" is an
example program that simply lists the 1-Wire/iButton devices available
on a 1-Wire network. It also prints a description of the device.
\OneWireIO - C#
GUI demo.
Exercises all features of the 1-Wire
Port Adapter, including both standard speed and overdrive speed resets,
bit operations, byte operations, power delivery operations, and
searches.