UNPKG

@wildboar/copp

Version:

Connection-oriented presentation protocol (COPP) data structures and business logic in TypeScript

401 lines (400 loc) 12.1 kB
import * as $ from '@wildboar/asn1/functional'; /** * @summary Event_identifier_cp_PPDU * @constant * @type {number} */ export const Event_identifier_cp_PPDU = 0; /* LONG_NAMED_INTEGER_VALUE */ /** * @summary Event_identifier_cp_PPDU * @constant * @type {number} */ export const cp_PPDU = Event_identifier_cp_PPDU; /* SHORT_NAMED_INTEGER_VALUE */ /** * @summary Event_identifier_cpa_PPDU * @constant * @type {number} */ export const Event_identifier_cpa_PPDU = 1; /* LONG_NAMED_INTEGER_VALUE */ /** * @summary Event_identifier_cpa_PPDU * @constant * @type {number} */ export const cpa_PPDU = Event_identifier_cpa_PPDU; /* SHORT_NAMED_INTEGER_VALUE */ /** * @summary Event_identifier_cpr_PPDU * @constant * @type {number} */ export const Event_identifier_cpr_PPDU = 2; /* LONG_NAMED_INTEGER_VALUE */ /** * @summary Event_identifier_cpr_PPDU * @constant * @type {number} */ export const cpr_PPDU = Event_identifier_cpr_PPDU; /* SHORT_NAMED_INTEGER_VALUE */ /** * @summary Event_identifier_aru_PPDU * @constant * @type {number} */ export const Event_identifier_aru_PPDU = 3; /* LONG_NAMED_INTEGER_VALUE */ /** * @summary Event_identifier_aru_PPDU * @constant * @type {number} */ export const aru_PPDU = Event_identifier_aru_PPDU; /* SHORT_NAMED_INTEGER_VALUE */ /** * @summary Event_identifier_arp_PPDU * @constant * @type {number} */ export const Event_identifier_arp_PPDU = 4; /* LONG_NAMED_INTEGER_VALUE */ /** * @summary Event_identifier_arp_PPDU * @constant * @type {number} */ export const arp_PPDU = Event_identifier_arp_PPDU; /* SHORT_NAMED_INTEGER_VALUE */ /** * @summary Event_identifier_ac_PPDU * @constant * @type {number} */ export const Event_identifier_ac_PPDU = 5; /* LONG_NAMED_INTEGER_VALUE */ /** * @summary Event_identifier_ac_PPDU * @constant * @type {number} */ export const ac_PPDU = Event_identifier_ac_PPDU; /* SHORT_NAMED_INTEGER_VALUE */ /** * @summary Event_identifier_aca_PPDU * @constant * @type {number} */ export const Event_identifier_aca_PPDU = 6; /* LONG_NAMED_INTEGER_VALUE */ /** * @summary Event_identifier_aca_PPDU * @constant * @type {number} */ export const aca_PPDU = Event_identifier_aca_PPDU; /* SHORT_NAMED_INTEGER_VALUE */ /** * @summary Event_identifier_td_PPDU * @constant * @type {number} */ export const Event_identifier_td_PPDU = 7; /* LONG_NAMED_INTEGER_VALUE */ /** * @summary Event_identifier_td_PPDU * @constant * @type {number} */ export const td_PPDU = Event_identifier_td_PPDU; /* SHORT_NAMED_INTEGER_VALUE */ /** * @summary Event_identifier_ttd_PPDU * @constant * @type {number} */ export const Event_identifier_ttd_PPDU = 8; /* LONG_NAMED_INTEGER_VALUE */ /** * @summary Event_identifier_ttd_PPDU * @constant * @type {number} */ export const ttd_PPDU = Event_identifier_ttd_PPDU; /* SHORT_NAMED_INTEGER_VALUE */ /** * @summary Event_identifier_te_PPDU * @constant * @type {number} */ export const Event_identifier_te_PPDU = 9; /* LONG_NAMED_INTEGER_VALUE */ /** * @summary Event_identifier_te_PPDU * @constant * @type {number} */ export const te_PPDU = Event_identifier_te_PPDU; /* SHORT_NAMED_INTEGER_VALUE */ /** * @summary Event_identifier_tc_PPDU * @constant * @type {number} */ export const Event_identifier_tc_PPDU = 10; /* LONG_NAMED_INTEGER_VALUE */ /** * @summary Event_identifier_tc_PPDU * @constant * @type {number} */ export const tc_PPDU = Event_identifier_tc_PPDU; /* SHORT_NAMED_INTEGER_VALUE */ /** * @summary Event_identifier_tcc_PPDU * @constant * @type {number} */ export const Event_identifier_tcc_PPDU = 11; /* LONG_NAMED_INTEGER_VALUE */ /** * @summary Event_identifier_tcc_PPDU * @constant * @type {number} */ export const tcc_PPDU = Event_identifier_tcc_PPDU; /* SHORT_NAMED_INTEGER_VALUE */ /** * @summary Event_identifier_rs_PPDU * @constant * @type {number} */ export const Event_identifier_rs_PPDU = 12; /* LONG_NAMED_INTEGER_VALUE */ /** * @summary Event_identifier_rs_PPDU * @constant * @type {number} */ export const rs_PPDU = Event_identifier_rs_PPDU; /* SHORT_NAMED_INTEGER_VALUE */ /** * @summary Event_identifier_rsa_PPDU * @constant * @type {number} */ export const Event_identifier_rsa_PPDU = 13; /* LONG_NAMED_INTEGER_VALUE */ /** * @summary Event_identifier_rsa_PPDU * @constant * @type {number} */ export const rsa_PPDU = Event_identifier_rsa_PPDU; /* SHORT_NAMED_INTEGER_VALUE */ /** * @summary Event_identifier_s_release_indication * @constant * @type {number} */ export const Event_identifier_s_release_indication = 14; /* LONG_NAMED_INTEGER_VALUE */ /** * @summary Event_identifier_s_release_indication * @constant * @type {number} */ export const s_release_indication = Event_identifier_s_release_indication; /* SHORT_NAMED_INTEGER_VALUE */ /** * @summary Event_identifier_s_release_confirm * @constant * @type {number} */ export const Event_identifier_s_release_confirm = 15; /* LONG_NAMED_INTEGER_VALUE */ /** * @summary Event_identifier_s_release_confirm * @constant * @type {number} */ export const s_release_confirm = Event_identifier_s_release_confirm; /* SHORT_NAMED_INTEGER_VALUE */ /** * @summary Event_identifier_s_token_give_indication * @constant * @type {number} */ export const Event_identifier_s_token_give_indication = 16; /* LONG_NAMED_INTEGER_VALUE */ /** * @summary Event_identifier_s_token_give_indication * @constant * @type {number} */ export const s_token_give_indication = Event_identifier_s_token_give_indication; /* SHORT_NAMED_INTEGER_VALUE */ /** * @summary Event_identifier_s_token_please_indication * @constant * @type {number} */ export const Event_identifier_s_token_please_indication = 17; /* LONG_NAMED_INTEGER_VALUE */ /** * @summary Event_identifier_s_token_please_indication * @constant * @type {number} */ export const s_token_please_indication = Event_identifier_s_token_please_indication; /* SHORT_NAMED_INTEGER_VALUE */ /** * @summary Event_identifier_s_control_give_indication * @constant * @type {number} */ export const Event_identifier_s_control_give_indication = 18; /* LONG_NAMED_INTEGER_VALUE */ /** * @summary Event_identifier_s_control_give_indication * @constant * @type {number} */ export const s_control_give_indication = Event_identifier_s_control_give_indication; /* SHORT_NAMED_INTEGER_VALUE */ /** * @summary Event_identifier_s_sync_minor_indication * @constant * @type {number} */ export const Event_identifier_s_sync_minor_indication = 19; /* LONG_NAMED_INTEGER_VALUE */ /** * @summary Event_identifier_s_sync_minor_indication * @constant * @type {number} */ export const s_sync_minor_indication = Event_identifier_s_sync_minor_indication; /* SHORT_NAMED_INTEGER_VALUE */ /** * @summary Event_identifier_s_sync_minor_confirm * @constant * @type {number} */ export const Event_identifier_s_sync_minor_confirm = 20; /* LONG_NAMED_INTEGER_VALUE */ /** * @summary Event_identifier_s_sync_minor_confirm * @constant * @type {number} */ export const s_sync_minor_confirm = Event_identifier_s_sync_minor_confirm; /* SHORT_NAMED_INTEGER_VALUE */ /** * @summary Event_identifier_s_sync_major_indication * @constant * @type {number} */ export const Event_identifier_s_sync_major_indication = 21; /* LONG_NAMED_INTEGER_VALUE */ /** * @summary Event_identifier_s_sync_major_indication * @constant * @type {number} */ export const s_sync_major_indication = Event_identifier_s_sync_major_indication; /* SHORT_NAMED_INTEGER_VALUE */ /** * @summary Event_identifier_s_sync_major_confirm * @constant * @type {number} */ export const Event_identifier_s_sync_major_confirm = 22; /* LONG_NAMED_INTEGER_VALUE */ /** * @summary Event_identifier_s_sync_major_confirm * @constant * @type {number} */ export const s_sync_major_confirm = Event_identifier_s_sync_major_confirm; /* SHORT_NAMED_INTEGER_VALUE */ /** * @summary Event_identifier_s_p_exception_report_indication * @constant * @type {number} */ export const Event_identifier_s_p_exception_report_indication = 23; /* LONG_NAMED_INTEGER_VALUE */ /** * @summary Event_identifier_s_p_exception_report_indication * @constant * @type {number} */ export const s_p_exception_report_indication = Event_identifier_s_p_exception_report_indication; /* SHORT_NAMED_INTEGER_VALUE */ /** * @summary Event_identifier_s_u_exception_report_indication * @constant * @type {number} */ export const Event_identifier_s_u_exception_report_indication = 24; /* LONG_NAMED_INTEGER_VALUE */ /** * @summary Event_identifier_s_u_exception_report_indication * @constant * @type {number} */ export const s_u_exception_report_indication = Event_identifier_s_u_exception_report_indication; /* SHORT_NAMED_INTEGER_VALUE */ /** * @summary Event_identifier_s_activity_start_indication * @constant * @type {number} */ export const Event_identifier_s_activity_start_indication = 25; /* LONG_NAMED_INTEGER_VALUE */ /** * @summary Event_identifier_s_activity_start_indication * @constant * @type {number} */ export const s_activity_start_indication = Event_identifier_s_activity_start_indication; /* SHORT_NAMED_INTEGER_VALUE */ /** * @summary Event_identifier_s_activity_resume_indication * @constant * @type {number} */ export const Event_identifier_s_activity_resume_indication = 26; /* LONG_NAMED_INTEGER_VALUE */ /** * @summary Event_identifier_s_activity_resume_indication * @constant * @type {number} */ export const s_activity_resume_indication = Event_identifier_s_activity_resume_indication; /* SHORT_NAMED_INTEGER_VALUE */ /** * @summary Event_identifier_s_activity_interrupt_indication * @constant * @type {number} */ export const Event_identifier_s_activity_interrupt_indication = 27; /* LONG_NAMED_INTEGER_VALUE */ /** * @summary Event_identifier_s_activity_interrupt_indication * @constant * @type {number} */ export const s_activity_interrupt_indication = Event_identifier_s_activity_interrupt_indication; /* SHORT_NAMED_INTEGER_VALUE */ /** * @summary Event_identifier_s_activity_interrupt_confirm * @constant * @type {number} */ export const Event_identifier_s_activity_interrupt_confirm = 28; /* LONG_NAMED_INTEGER_VALUE */ /** * @summary Event_identifier_s_activity_interrupt_confirm * @constant * @type {number} */ export const s_activity_interrupt_confirm = Event_identifier_s_activity_interrupt_confirm; /* SHORT_NAMED_INTEGER_VALUE */ /** * @summary Event_identifier_s_activity_discard_indication * @constant * @type {number} */ export const Event_identifier_s_activity_discard_indication = 29; /* LONG_NAMED_INTEGER_VALUE */ /** * @summary Event_identifier_s_activity_discard_indication * @constant * @type {number} */ export const s_activity_discard_indication = Event_identifier_s_activity_discard_indication; /* SHORT_NAMED_INTEGER_VALUE */ /** * @summary Event_identifier_s_activity_discard_confirm * @constant * @type {number} */ export const Event_identifier_s_activity_discard_confirm = 30; /* LONG_NAMED_INTEGER_VALUE */ /** * @summary Event_identifier_s_activity_discard_confirm * @constant * @type {number} */ export const s_activity_discard_confirm = Event_identifier_s_activity_discard_confirm; /* SHORT_NAMED_INTEGER_VALUE */ /** * @summary Event_identifier_s_activity_end_indication * @constant * @type {number} */ export const Event_identifier_s_activity_end_indication = 31; /* LONG_NAMED_INTEGER_VALUE */ /** * @summary Event_identifier_s_activity_end_indication * @constant * @type {number} */ export const s_activity_end_indication = Event_identifier_s_activity_end_indication; /* SHORT_NAMED_INTEGER_VALUE */ /** * @summary Event_identifier_s_activity_end_confirm * @constant * @type {number} */ export const Event_identifier_s_activity_end_confirm = 32; /* LONG_NAMED_INTEGER_VALUE */ /** * @summary Event_identifier_s_activity_end_confirm * @constant * @type {number} */ export const s_activity_end_confirm = Event_identifier_s_activity_end_confirm; /* SHORT_NAMED_INTEGER_VALUE */ export const _decode_Event_identifier = $._decodeInteger; export const _encode_Event_identifier = $._encodeInteger; /* eslint-enable */