2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-10 03:06:37 +00:00

98_autocreate.pm: remove FRM from usb scan (Forum #100054)

git-svn-id: https://svn.fhem.de/fhem/trunk@19291 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2019-04-29 21:04:46 +00:00
parent 5437317147
commit e9f4aeae10

View File

@ -527,15 +527,17 @@ my @usbtable = (
response => "^ArduCounter V.*", # response is two lines
define => "ArduCounter_PARAM ArduCounter DEVICE\@38400", },
{ NAME => "FRM",
matchList => ["cu.usbserial(.*)", "cu.usbmodem(.*)",
"ttyUSB(.*)", "ttyACM(.*)", "ttyAMA(.*)"],
DeviceName=> "DEVICE\@57600",
init => pack("H*", "F9"), # Reset
timeout => 5.0, # StandardFirmata blink takes time
request => pack("H*", "F079F7"), # Query firmware version and filename START_SYSEX (0xF0), queryFirmware (0x79), END_SYSEX (0xF7)
response => "^\xF0\x79(.*)\xF7", # Response Sysex xF0 x78 (2 Byte version) (n Byte filename) Endsysex xF7
define => "FRM_PARAM FRM DEVICE\@57600", },
# FRM causes too much lockups, removed until understood why (Forum #100054)
# { NAME => "FRM",
# matchList => ["cu.usbserial(.*)", "cu.usbmodem(.*)",
# "ttyUSB(.*)", "ttyACM(.*)", "ttyAMA(.*)"],
# DeviceName=> "DEVICE\@57600",
# init => pack("H*", "F9"), # Reset
# timeout => 5.0, # StandardFirmata blink takes time
# request => pack("H*", "F079F7"), # Query firmware version and filename START_SYSEX (0xF0), queryFirmware (0x79), END_SYSEX (0xF7)
# response => "^\xF0\x79(.*)\xF7", # Response Sysex xF0 x78 (2 Byte version) (n Byte filename) Endsysex xF7
# define => "FRM_PARAM FRM DEVICE\@57600", },
);