FreeCalypso > hg > fc-tourmaline
view cdg-hybrid/cdginc/m_t30.val @ 281:a75eefbf8be4
Phone boot with PWON: weed out short button presses
Every standard end user phone has a design provision, most naturally
implemented in firmware, whereby the PWON button effects a boot only
if it is held down long enough - short presses of this PWON button
are detected, assumed to be spurious and cause the fw to power back off
instead of proceeding with boot. The present change introduces this
standard function in FreeCalypso.
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Fri, 24 Sep 2021 02:03:08 +0000 |
parents | 35f7a1dc9f7d |
children |
line wrap: on
line source
/* +--------------------------------------------------------------------------+ | PROJECT : PROTOCOL STACK | | FILE : m_t30.val | | SOURCE : "msg\t30.mdf" | | LastModified : "2000-02-04" | | IdAndVersion : "8411.620.98.101" | | SrcFileTime : "Wed Nov 28 10:21:26 2007" | | Generated by CCDGEN_2.5.5A on Fri Oct 14 21:41:52 2016 | | !!DO NOT MODIFY!!DO NOT MODIFY!!DO NOT MODIFY!! | +--------------------------------------------------------------------------+ */ /* PRAGMAS * PREFIX : NONE * COMPATIBILITY_DEFINES : NO (require PREFIX) * ALWAYS_ENUM_IN_VAL_FILE: NO * ENABLE_GROUP: NO * CAPITALIZE_TYPENAME: NO */ #ifndef M_T30_VAL #define M_T30_VAL #define CDG_ENTER__M_T30_VAL #define CDG_ENTER__FILENAME _M_T30_VAL #define CDG_ENTER__M_T30_VAL__FILE_TYPE CDGINC #define CDG_ENTER__M_T30_VAL__LAST_MODIFIED _2000_02_04 #define CDG_ENTER__M_T30_VAL__ID_AND_VERSION _8411_620_98_101 #define CDG_ENTER__M_T30_VAL__SRC_FILE_TIME _Wed_Nov_28_10_21_26_2007 #include "CDG_ENTER.h" #undef CDG_ENTER__M_T30_VAL #undef CDG_ENTER__FILENAME /* * Value constants for VAL_v8 */ #define v8_not_avail (0x0) /* V.8 is not available */ #define v8_avail (0x1) /* V.8 is available */ /* * Value constants for VAL_n_byte */ #define NB_256_BYTES (0x0) /* 256 octets preferred in ECM */ #define NB_64_BYTES (0x1) /* 64 octets preferred in ECM */ /* * Value constants for VAL_ready_tx_fax */ #define RTF_NO_TX_RDY (0x0) /* not ready to transmit a facsimile document */ #define RTF_TX_RDY (0x1) /* ready to transmit a facsimile document */ /* * Value constants for VAL_rec_fax_op */ #define RFO_NO_RX_RDY (0x0) /* not ready to receive a facsimile document */ #define RFO_RX_RDY (0x1) /* ready to receive a facsimile document */ /* * Value constants for VAL_data_sig_rate */ #define VAL_DATA_SIG_RATE___DEF (0x0) /* undefined signalling rate */ #define DSR_2400_V27 (0x0) /* signalling rate 2400 bps V.27 ter */ #define DSR_4800_V27 (0x4) /* signalling rate 4800 bps V.27 ter */ #define DSR_7200_V29 (0xc) /* signalling rate 7200 bps V.29 */ #define DSR_7200_V17 (0xd) /* signalling rate 7200 bps V.17 */ #define DSR_9600_V29 (0x8) /* signalling rate 9600 bps V.29 */ #define DSR_9600_V17 (0x9) /* signalling rate 9600 bps V.17 */ #define DSR_12000_V17 (0x5) /* signalling rate 12000 bps V.17 */ #define DSR_14000_V17 (0x1) /* signalling rate 14400 bps V.19 */ /* * Value constants for VAL_R8_lines_pels */ #define R8LP_R8_ONLY (0x0) /* vertical resolution is specified by R8 only */ #define R8LP_R8_EXTENDED (0x1) /* vertical resolution is specified not only by R8 */ /* * Value constants for VAL_two_dim_coding */ #define TDC_NO_2D_CODING (0x0) /* no 2D T.4 coding */ #define TDC_2D_CODING (0x1) /* 2D T.4 coding */ /* * Value constants for VAL_rec_width */ #define RW_WIDTH_215_MM (0x0) /* Scan line length of 215 mm */ #define RW_WIDTH_303_MM (0x1) /* Scan line length of 215, 255 and 303 mm */ #define RW_WIDTH_255_MM (0x2) /* Scan line length of 215 and 255 mm */ #define RW_WIDTH_INVALID (0x3) /* Invalid scan line length */ /* * Value constants for VAL_max_rec_len */ #define MRL_A4 (0x0) /* Maximum recording length A4 (297 mm) */ #define MRL_UNLIMITED (0x1) /* Unlimited recording length */ #define MRL_B4 (0x2) /* Maximum recording length B4 (364 mm) */ #define MRL_INVALID (0x3) /* Invalid recording length */ /* * Value constants for VAL_min_scan_time */ #define MST_20_MS (0x0) /* 20 ms at 3.85 1/mm: T7.7 = T3.85 */ #define MST_40_MS (0x1) /* 40 ms at 3.85 1/mm: T7.7 = T3.85 */ #define MST_10_MS (0x2) /* 10 ms at 3.85 1/mm: T7.7 = T3.85 */ #define MST_5_MS (0x3) /* 5 ms at 3.85 1/mm: T7.7 = T3.85 */ #define MST_10_MS_HALF (0x4) /* 10 ms at 3.85 1/mm: T7.7 = 1/2 T3.85 */ #define MST_20_MS_HALF (0x5) /* 20 ms at 3.85 1/mm: T7.7 = 1/2 T3.85 */ #define MST_40_MS_HALF (0x6) /* 40 ms at 3.85 1/mm: T7.7 = 1/2 T3.85 */ #define MST_0_MS (0x7) /* 0 ms at 3.85 1/mm: T7.7 = T3.85 */ /* * Value constants for VAL_uncomp_mode */ #define UCM_COMPRESSED (0x0) /* T.4 data (can be send)/(are) in compressed mode */ #define UCM_UNCOMPRESSED (0x1) /* T.4 data (can be send)/(are) in uncompressed mode */ /* * Value constants for VAL_err_corr_mode */ #define ECM_OFF (0x0) /* Error correction mode is not possible/off */ #define ECM_ON (0x1) /* Error correction mode is possible/on */ /* * Value constants for VAL_t6_coding */ #define T6_CODING_OFF (0x0) /* T.6 coding is not possible/off */ #define T6_CODING_ON (0x1) /* T.6 coding is possible/on */ /* * Value constants for VAL_R8_lines */ #define R8_LINES_OFF (0x0) /* R8 x 15.4 lines/mm is not possible/off */ #define R8_LINES_ON (0x1) /* R8 x 15.4 lines/mm is possible/on */ /* * Value constants for VAL_r_300_pels */ #define R300_PELS_OFF (0x0) /* Res 300 x 300 pels /25.4 mm is not possible/off */ #define R300_PELS_ON (0x1) /* Res 300 x 300 pels /25.4 mm is possible/on */ /* * Value constants for VAL_R16_lines_pels */ #define R16_LINES_PELS_OFF (0x0) /* R16 x 15.4 lines/mm and/or 400 x 400 pels/24.4 mm mode is not possible/off */ #define R16_LINES_PELS_ON (0x1) /* R16 x 15.4 lines/mm and/or 400 x 400 pels/24.4 mm mode is possible/on */ /* * Value constants for VAL_i_res_pref */ #define IRP_NO_INCH_BASED (0x0) /* Inch-based resolution not preferred */ #define IRP_INCH_BASED (0x1) /* Inch-based resolution preferred */ /* * Value constants for VAL_m_res_pref */ #define IRP_NO_METRIC_BASED (0x0) /* Metric-based resolution not preferred */ #define IRP_METRIC_BASED (0x1) /* Metric-based resolution preferred */ /* * Value constants for VAL_min_scan_time_hr */ #define MST_T154_EQ_T77 (0x0) /* T15.4 = T7.7 */ #define MST_T154_EQ_HALF_T77 (0x1) /* T15.4 = 0.5 x T7.7 */ /* * Value constants for VAL_sel_polling */ #define SEP_NO_POLLING (0x0) /* Selective polling not possible */ #define SEP_POLLING (0x1) /* Selective polling possible */ /* * Value constants for VAL_subaddr */ #define SA_NO_SUBADDRESSING (0x0) /* Sub-addressing is not possible/intended */ #define SA_SUBADDRESSNIG (0x1) /* Sub-addressing is possible/intended */ /* * Value constants for VAL_password */ #define PW_NO_PASSWORD (0x0) /* Password checking is not possible/intended */ #define PW_PASSWORD (0x1) /* Password checking is possible/intended */ /* * Value constants for VAL_ready_tx_doc */ #define RTD_TX_READY (0x0) /* Ready to transmit a data file */ #define RTD_NOT_TX_READY (0x1) /* Not ready to transmit a data file */ /* * Value constants for VAL_bft */ #define BFT_NO_BIN_FILE_TX (0x0) /* Not possible/intended to transmit a binary file */ #define BFT_BIN_FILE_TX (0x1) /* Possibility/intention to transmit a binary file */ /* * Value constants for VAL_dtm */ #define DTM_NO_DOC_TX_MODE (0x0) /* Not possible/intended to perform the DTM */ #define DTM_DOC_TX_MODE (0x1) /* Possibility/intention to perform the DTM */ /* * Value constants for VAL_edi */ #define EDI_NO_ELEC_DATA_XCHNG (0x0) /* Not possible/intended to perform EDI */ #define EDI_ELEC_DATA_XCHNG (0x1) /* Possibility/intention to perform EDI */ /* * Value constants for VAL_btm */ #define BTM_NO_BASIC_TRANS_MODE (0x0) /* Not possible/intended to perform the BTM */ #define BTM_BASIC_TRANS_MODE (0x1) /* Possibility/intention to perform the BTM */ /* * Value constants for VAL_ready_tx_mixed */ #define RTM_NO_READY_TX_MIXED (0x0) /* Not ready to transmit a character or mixed mode document */ #define RTM_READY_TX_MIXED (0x1) /* Ready to transmit a character or mixed mode document */ /* * Value constants for VAL_char_mode */ #define CM_NO_CHARACTER_MODE (0x0) /* Not possible/intended to perform the character mode */ #define CM_CHARACTER_MODE (0x1) /* Possibility/intention to perform the character mode */ /* * Value constants for VAL_mixed_mode */ #define MM_NO_MIXED_MODE (0x0) /* Not possible/intended to perform the mixed mode */ #define MM_MIXED_MODE (0x1) /* Possibility/intention to perform the mixed mode */ /* * Value constants for VAL_proc_mode_26 */ #define PM_NO_PROC_MODE_26 (0x0) /* Not possible/intended to perform the processable mode 26 */ #define PM_PROC_MODE_26 (0x1) /* Possibility/intention to perform the processable mode 26 */ /* * Value constants for VAL_dig_network_cap */ #define DNC_NO_DIGITAL_NETWORK (0x0) /* Terminal is not on a digital network */ #define DNC_DIGITAL_NETWORK (0x1) /* Terminal is on a digital network */ /* * Value constants for VAL_duplex */ #define DUP_HALF_DUPLEX (0x0) /* Operate in half duplex mode only */ #define DUP_FULL_DUPLEX (0x1) /* Operate in full-duplex or half duplex mode */ /* * Value constants for VAL_jpeg */ #define JPG_NO_CODING (0x0) /* Not able/intent to code documents in JPEG */ #define JPG_CODING (0x1) /* Able/intent to code documents in JPEG */ /* * Value constants for VAL_full_colour */ #define FC_NO_FULL_COLOR_MODE (0x0) /* Not able/intent to work in full colour mode */ #define FC_FULL_COLOR_MODE (0x1) /* Able/intent to work in full colour mode */ /* * Value constants for VAL_r_12_bits_pel_comp */ #define BPP_8_BITS_PER_PEL (0x0) /* Images must/are digitised with 8 bits/pel */ #define BPP_12_BITS_PER_PEL (0x1) /* Images may be/are digitised with up to 12 bits/pel */ /* * Value constants for VAL_no_subsamp */ #define NS_USE_4_1_1_SUB (0x0) /* Use the 4:1:1 sub-sampling ratio for the chrominance components in the image data */ #define NS_NO_SUBSAMPLING (0x1) /* Use no sub-sampling ratio for the chrominance components in the image data */ /* * Value constants for VAL_cust_illum */ #define CI_USE_D50_ILLUM (0x0) /* Only the standard D50 illuminant for colour images supported/used */ #define CI_CUSTOM_ILLUM (0x1) /* Standard D50 illuminant and other illuminants are supported/used for colour images */ /* * Value constants for VAL_cust_gamut */ #define CG_STD_GAMUT_RNG (0x0) /* Only the default gamut range for colour images supported/used */ #define CG_CUST_GAMUT_RNG (0x1) /* Other gamut ranges are supported/used for colour images */ /* * Value constants for VAL_na_letter */ #define NLT_NO_NORTH_AMERICAN_LETTER (0x0) /* No North American Letter format is supported/used */ #define NLT_NORTH_AMERICAN_LETTER (0x1) /* No North American Letter format is supported/used */ /* * Value constants for VAL_na_legal */ #define NLG_NO_NORTH_AMERICAN_LEGAL (0x0) /* No North American Legal format is supported/used */ #define NLG_NORTH_AMERICAN_LEGAL (0x1) /* No North American Legal format is supported/used */ /* * Value constants for VAL_sing_prog_seq_coding_basic */ #define SPG_NO_SINGLE_PROG_BASIC (0x0) /* No single-progression sequential coding basic is supported/used */ #define SPG_SINGLE_PROG_BASIC (0x1) /* Single-progression sequential coding basic is supported/used */ /* * Value constants for VAL_sing_prog_seq_coding_L0 */ #define SPG_NO_SINGLE_PROG_L0 (0x0) /* No single-progression sequential coding optional L0 is supported/used */ #define SPG_SINGLE_PROG_L0 (0x1) /* Single-progression sequential coding optional L0 is supported/used */ /* * Value constants for VAL_frame_size */ #define FS_256_OCTETS (0x0) /* Frame size of 256 octets is used if ECM is active */ #define FS_64_OCTETS (0x1) /* Frame size of 64 octets is used if ECM is active */ /* * Value constants for VAL_resolution_type */ #define RT_METRIC_BASED (0x0) /* Metric based resolution */ #define RT_INCH_BASED (0x1) /* Inch based resolution */ /* * Value constants for VAL_huffman_tables */ #define HT_NO_HUFFMAN_TABLES (0x0) /* No default Huffman tables used */ #define HT_HUFFMAN_TABLES (0x1) /* Default Huffman tables used */ /* * user defined constants */ #define MAX_NSF_LEN (0x2d0) #include "CDG_LEAVE.h" #endif