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: [email protected]
52
write
This is used to write commands to the bus:
Please note the following format:
**<expected bytes to read\>:<command\>**
Example:
root@MC100:~# echo 9:be > /sys/class/1w/write
root@MC100:~#
reset
This file rests the bus.
Example:
root@MC100:~# echo 1 > /sys/class/1w/reset
root@MC100:~#
Select device:
16.1.3
A separate folder is created for each device detected during scanning.
Example:
root@MC100:~# ls /sys/class/1w/
100702A30308004e/ 105B94A303080036/ probe_bus read reset write
For selecting a specific device, the user has to write to the select file in the device folder.
Example:
root@MC100:~# echo 1 > /sys/class/1w/282E12AD0B0000b1/select
root@MC100:~#