'Definitions used in the control messages of the E301 module Module MessageDefinitions 'General Public Const P_MAS As Byte = &H90 'Master Phone Public Const P_ESC As Byte = &H91 'Slave Phone 'Sos Phone -> Central Public Const DEM_USE As Byte = &H21 'User Call Public Const DEM_SER As Byte = &H22 'Service Call Public Const ENV_ALA As Byte = &H23 'Alarm Sending Public Const ACK_FON_ON As Byte = &H84 'ACK to audio activation order Public Const ACK_FON_OFF As Byte = &H85 'ACK to audio deactivarion order Public Const ACK_TON_ON As Byte = &H86 'ACK to tone activation order Public Const ACK_TON_OFF As Byte = &H87 'ACK to tone deactivation order Public Const ACK_ESC_IO As Byte = &H8B 'ACK to auxilar port writting Public Const ACK_LEC_IO As Byte = &H8C 'ACK to auxilar port reading Public Const ACK_VOZ_ON As Byte = &H8D 'ACK to audio message activation Public Const ACK_VOZ_OFF As Byte = &H92 'ACK to audio message deactivation Public Const ACK_ADJ_VOL As Byte = &H8E 'ACK to audio output level adjustment order Public Const RES_TST_FON As Byte = &H88 'Result of audio test Public Const RES_TST_MAN As Byte = &H89 'Result of maintenance test Public Const TST_OK As Byte = &H57 'Used in RES_TST_FON to indicate test Ok Public Const TST_FAIL As Byte = &H58 'Used in RES_TST_FON to indicate fail 'Central -> SOS Phone Public Const ACK_DEM_USE As Byte = &H81 'ACK to user call Public Const ACK_DEM_SER As Byte = &H82 'ACK to service call Public Const ACK_ENV_ALA As Byte = &H83 'ACK to alarm sending Public Const ORD_FON_ON As Byte = &H41 'Audio activation order Public Const ORD_FON_OFF As Byte = &H42 'Audio deactivation order Public Const ORD_TON_ON As Byte = &H43 'Tone activation order Public Const ORD_TON_OFF As Byte = &H44 'Tone deactivation order Public Const ORD_TST_FON As Byte = &H45 'Audio test order Public Const ORD_TST_MAN As Byte = &H46 'Maintenance test order Public Const ORD_ESC_IO As Byte = &H48 'Auxiliary port write Public Const ORD_LEC_IO As Byte = &H49 'Auxiliary port read Public Const ORD_VOZ_ON As Byte = &H4A 'Audio message activation Public Const ORD_VOZ_OFF As Byte = &H4B 'Audio message deactivation Public Const ORD_ADJ_VOL As Byte = &H4C 'Output volume adjustment Public Const L_ESP As Byte = &H51 'Used in ACK_DEM_USE y ACK_DEM_SER to indicate activate message "Waiting response" Public Const L_FON As Byte = &H52 'Used in ACK_DEM_USE y ACK_DEM_SER to indicate activate audio Public Const T_LLA As Byte = &H53 'Used in ORD_TON_ON to indicate call tone Public Const T_COM As Byte = &H54 'Used in ORD_TON_ON to indicate occupied tone Public Const MEN_FUE_SER As Byte = &H55 'Used in ORD_VOZ_ON to indicate messaje "Out of service" Public Const MEN_LLA_ESP As Byte = &H56 'Used in ORD_VOZ_ON to indicate messaje "Waiting response" Public Const FON_OFF_OK As Byte = &H1 'Used in ACK_FON_OFF to indicate success Public Const FON_OFF_FAIL As Byte = 0 'Used in ACK_FON_OFF to indicate fail 'For testing Public Const ORD_ECO_ON As Byte = &H1 'Echo canceller ON Public Const ACK_ECO_ON As Byte = &H2 'ACK to canceller ON order Public Const ORD_ECO_OFF As Byte = &H3 'Echo canceller OFF Public Const ACK_ECO_OFF As Byte = &H4 'ACK to canceller OFF order Public Const ORD_ADJ_MIC As Byte = &H7 'Microphone volume adjust Public Const ACK_ADJ_MIC As Byte = &H8 'ACK to ... End Module