EasyManua.ls Logo

MC Technologies MC100 Terminal - System Maintenance and Troubleshooting; 1-Wire Interface and Device Management

MC Technologies MC100 Terminal
57 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
MC100
Mobile programmable gateway
MC Technologies GmbH, Kabelkamp 2, 30179 Hannover, Germany
Tel: +49511 67 69 99-0, Fax: +49511 67 69 99-150, Website & Shop: www.mc-technologies.net, Email: info@mc-technologies.net
51
16 1-wire
The 1-wire driver is loaded and started during the boot process. The driver provides the
user with a command-option with 1-wire devices.
16.1 For v1.0.4 or older
Using 1-wire driver 16.1.1
After the 1-wire driver has been loaded, the user functions are located in the following
folder:
/sys/class/1w/
To enter the folder using Command prompt, use the command:
root@MC100: ~#cat /sys/class/1w/
There are the following files which act as interface for the user:
- probe_bus
- read
- write
- reset
Function files 16.1.2
probe_bus
This scans the 1-wire bus and registers all detected 1-wire devices.
The following command executes the scan:
root@MC100:~# echo 1 > /sys/class/1w/probe_bus
Please note that this command can take a while before completion.
read
This reads the content of the 1-wire bus.
Example:
root@MC100:~# cat /sys/class/1w/read
288694aa0b00009dff
root@MC100:~

Table of Contents

Related product manuals