TRX init fixes and reopen function

Begonnen von mattwire, 16 Juli 2015, 02:14:01

Vorheriges Thema - Nächstes Thema

mattwire

Hallo,

I am using rfxtrx with ser2net and have been debugging some reconnection/reinitialisation issues.  I attach a patch with the following fixes/changes:
1. Add "reopen" set function.
2. Fix typo in Ready function (OpenDev should call DoInit not Ready).
3. Modify DoInit / Clear for robustness.

Willi

Thanks a lot for this patch!  8)

I have applied it to SVN some minutes ago.
FHEM@Q600(debian) mit DS9490R (1Wire) | FHEM@Sheevaplug(debian) mit RFXCOM-Receiver(80002), CULv3 & USB-WDE1 | FHEM@odroid mit CULv2 & RFXtrx433