OPC
just some useless info:
OPC_SETLED 0x8C
OPC_CLRLED 0x8D
OPC_CLRFLASH 0x8E // solid
OPC_SETFLASH 0x8F
first (green) LED on NN=0001 on:
:S0000N8C00010000;
flash it:;
:S0000N8F00010000;
red:;
:S0000N8C00010001;
yellow:;
:S0000N8C00010002;
and OFF:
green:;
:S0000N8D00010000;
red:;
:S0000N8D00010001;
yellow:;
:S0000N8D00010002;
on and solid again:
green:;
:S0000N8C00010000;
:S0000N8E00010000;
TxCanBeep:
OPC_BEEP_CALL (sent when a call button is pressed)
9C CN CN PH PL CC
OPC_BEEP_CANCEL (sent when a cancel button is pressed)
9D CN CN PH PL CC
lights only:
OPC_BEEP_CALL (datalen = 5)
9C CN CN PH PL
OPC_BEEP_CANCEL (datalen = 5)
9D CN CN PH PL
messages intended for here:
OPC_SETONTIME
set:
E9 NN NN 00 TT
get:
E9 NN NN
// s0000ne94007;
// reply
// :SE470N7C400706;
OPC_DEEP_DEFVAL (logic hi or low)
set:
9B NN NN 00 DV
// :S0000N9b400800FD; // cancel button on caller 0 is normally closed
// :S0000N9b40070055; // cancel buttons on all callers are normally closed
get:
9B NN NN
// s0000n9b4008;
// reply:
// OK
// :SE320N7C4008FD;
OPC_BEEP_CONNECT
reply with all slot’s phone numbers, ack3 with i, PHi, PLi
9F NH NL (datalen = 3)
:S0000N9F4004;
{
:SE440N7C4004004004;
:SE440N7C4004028002;
:SE440N7C4004018003;
:SE440N7C4004038001;
}
set slot to phone number (datalen = 6):s0000n4004;
9F NH NL SS PH PL
TxCANTurn2:
OPC_GETLOCALCTRL // LocalCtrl read
OPC_SETLOCALCTRL // E5, Set LocalCtrl
OPC_ADDLOCALCTRL // E7 NN NN 00 AA AA, add to LocalCtrl
OPC_SUBLOCALCTRL // E8 NN NN 00 RR RR, remove from LocalCtrl
OPC_SETTIMEDON // E6 NN NN 00 TT (TT=01: Set TimedOn, TT=00 for off)
Normal Output:
OPC_ACON // 0×90, On event
OPC_ASON // 0×98, Short Off event
Reverse Output:
OPC_ACOF // 0×91 00 00 LN TO, Off event
OPC_ASOF // 0×99 00 00 LN TO, Short Off event
