onHangUp - event of object PmModem

The event fires after the modem hangs up (it is in the Idle state).
pMe(Object) Reference to the PROMOTIC object where the event rises.
pEvent(Object) A referrence to object describing detailed information about the specific event.
pEvent.Reason - (Long) Value of the hang-up cause by the modem (for values see the Table)
0 - The HangUp method has been called
1 - Hang-up by the other party
2 - The number is busy. It arises after calling the Call method if the other party is calling up. This value isn't implemented in the meantime. Instead of it the value 3 is set.
3 - Timeout. It arises after calling the Call method if the other party doesn't answer the phone in the required time limit and doesn't establish the connection to the modem.
Other value - If the hang-up cause is the value greater or equal 20. It goes about the nonstandard way of the transfer termination (e.g. a modem error).
PROMOTIC 8.3.26 SCADA system documentation - MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice