mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-07 19:04:20 +00:00
FHZ/TCM fix
git-svn-id: https://svn.fhem.de/fhem/trunk@1162 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
a69b18db38
commit
a513549618
@ -288,28 +288,28 @@ my @usbtable = (
|
|||||||
DeviceName=> "DEVICE\@9600",
|
DeviceName=> "DEVICE\@9600",
|
||||||
flush => "\n",
|
flush => "\n",
|
||||||
request => "V\n",
|
request => "V\n",
|
||||||
response => "V .* CU.*",
|
response => "^V .* CU.*",
|
||||||
define => "CUL_PARAM CUL DEVICE\@9600 1234", },
|
define => "CUL_PARAM CUL DEVICE\@9600 1234", },
|
||||||
|
|
||||||
{ NAME => "TCM310",
|
{ NAME => "TCM310",
|
||||||
matchList => ["cu.usbserial(.*)", "cu.usbmodem(.*)", "ttyUSB(.*)"],
|
matchList => ["cu.usbserial(.*)", "cu.usbmodem(.*)", "ttyUSB(.*)"],
|
||||||
DeviceName=> "DEVICE\@57600",
|
DeviceName=> "DEVICE\@57600",
|
||||||
request => pack("H*", "5500010005700838"), # get idbase
|
request => pack("H*", "5500010005700838"), # get idbase
|
||||||
response => "\x00\xFF....",
|
response => "^\x00\xFF....",
|
||||||
define => "TCM310_PARAM TCM 310 DEVICE\@57600", },
|
define => "TCM310_PARAM TCM 310 DEVICE\@57600", },
|
||||||
|
|
||||||
{ NAME => "TCM120",
|
{ NAME => "TCM120",
|
||||||
matchList => ["ttyUSB(.*)"],
|
matchList => ["ttyUSB(.*)"],
|
||||||
DeviceName=> "DEVICE\@9600",
|
DeviceName=> "DEVICE\@9600",
|
||||||
request => pack("H*", "A55AAB5800000000000000000003"), # get idbase
|
request => pack("H*", "A55AAB5800000000000000000003"), # get idbase
|
||||||
response => "\xA5\x5A............",
|
response => "^\xA5\x5A............",
|
||||||
define => "TCM120_PARAM TCM 120 DEVICE\@9600", },
|
define => "TCM120_PARAM TCM 120 DEVICE\@9600", },
|
||||||
|
|
||||||
{ NAME => "FHZ",
|
{ NAME => "FHZ",
|
||||||
matchList => ["cu.usbserial(.*)", "ttyUSB(.*)"],
|
matchList => ["cu.usbserial(.*)", "ttyUSB(.*)"],
|
||||||
DeviceName=> "DEVICE\@9600",
|
DeviceName=> "DEVICE\@9600",
|
||||||
request => pack("H*", "8105044fc90185"), # get fhtbuf
|
request => pack("H*", "8105044fc90185"), # get fhtbuf
|
||||||
response => "\x81........",
|
response => "^\x81........",
|
||||||
define => "FHZ_PARAM FHZ DEVICE", },
|
define => "FHZ_PARAM FHZ DEVICE", },
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user