Support for TuxRadio/CSM
git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@1714 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -289,6 +289,7 @@ CommandCreateLog($$)
|
||||
|
||||
##########################
|
||||
# Table for automatically creating IO devices
|
||||
# PARAM in define will be replaced with the $1 from matchList
|
||||
my @usbtable = (
|
||||
{ NAME => "CUL",
|
||||
matchList => ["cu.usbmodem(.*)", "ttyACM(.*)"],
|
||||
@@ -298,6 +299,14 @@ my @usbtable = (
|
||||
response => "^V .* CU.*",
|
||||
define => "CUL_PARAM CUL DEVICE\@9600 1PARAM34", },
|
||||
|
||||
{ NAME => "CUL",
|
||||
matchList => ["ttySP(.*)"],
|
||||
DeviceName=> "DEVICE\@38400",
|
||||
flush => "\n",
|
||||
request => "V\n",
|
||||
response => "^V .* CSM.*",
|
||||
define => "CUL_PARAM CUL DEVICE\@38400 1PARAM34", },
|
||||
|
||||
{ NAME => "TCM310",
|
||||
matchList => ["cu.usbserial(.*)", "cu.usbmodem(.*)", "ttyUSB(.*)", "ttyACM(.*)"],
|
||||
DeviceName=> "DEVICE\@57600",
|
||||
|
||||
Reference in New Issue
Block a user