New Command used in Conjunction with DL/DN command. (Manual Event local/ Manual Event Network. This command modifies the TRIGGER field without affecting bits 4 and 5 (used for auto switch modes). When bit 7 is set of TRIGGER_TYPE field, Switch modes are ignored (indicates Manual mode is enabled)po
“ Trigger Modifier”
TL/TN:<Driver ID>,<CONTROL_ MODIFIER>,<SWITCH_ID><CR>
where CONTROL= :
0 = Auto (Remove Manual Mode, clears upper two bits of CONTROL value)
1 = Manual one shot (only sets bit 3 of CONTROL value, no other bits modified)
2 = Manual OFF (Sets bit 7 of CONTROL value, and clears bit 6)
3 = Manual ON (Sets bit 6 and 7 of CONTROL value)
This needs to be fixed in code
Actual bits used by the driver. some bits are dangerous to modify, thats why TL/TN commands will not allow these combinations to occur.
#define CONTROL_DRIVER_ENABLED (1 << 0)
#define CONTROL_DRIVER_ONESHOT (1 << 3)
#define CONTROL_DRIVER_SW1_INVERT (1 << 4)
#define CONTROL_DRIVER_SW2_INVERT (1 << 5)
#define CONTROL_DRIVER_MAN_ON (1 << 6)
#define CONTROL_DRIVER_MAN_OVERRIDE (1 << 7)