TMEX API 1-Wire SDK Help

API Overview

The basic design of TMEX is based on the International Standards Organization (ISO) reference model of Open System Interconnection (OSI). Its layered protocol includes five layers: Session layer, File Operations layer, Transport layer, Network layer and Hardware Specific layer.

Function List by Group

The TMEX commands are listed in the appropriate layer according to their function.

Function Alphabetical List

The TMEX commands are listed in the alphabetical order.

TMEX Design Guide

Windows Considerations

The TMEX DLL drivers must be in a directory that can be found by the Microsoft Windows application. The 1-Wire Drivers installation program will automatically copy the drivers into the Windows\System sub-directory. It is recommended that the end user install the 1-Wire Drivers and then install the target application. The DLL drivers are designed such that there is a main driver and then a series of Hardware Specific sub-drivers.

1-Wire File Structure

The 1-Wire File Structure is the foundation of the Presentation Layer of TMEX. It provides a directory structure for data stored on a 1-Wire device, allowing named files to be randomly accessed. The data organization of the 1-Wire File Structure is very similar to that of a floppy disk. A sector of a floppy roughly corresponds to a memory page of a 1-Wire device. The directory tells which files are stored, where the data is located in the device, and how many pages it occupies. The 1-Wire File Structure is carefully designed to provide high speed and optimal performance in a Touch environment. Every memory page can be read, CRC-checked or written without the need to access other pages. If a file is modified, only the affected pages need to be rewritten.

TMEX Error Return Codes

Shows all TMEX Error Return Codes in each layer.