📄 mmsop_en.c
字号:
#define MMS_RESUME_RSP_DFUN mms_rsp_not_supp#define MMS_RESUME_CONF_SFUN u_conf_not_supp#endif#if (MMS_RESUME_EN & RESP_EN)#define MMS_RESUME_REQ_DFUN mms_resume_req#define MMS_RESUME_IND_SFUN u_resume_ind#define RESUME_SSI 0x20#else#define MMS_RESUME_REQ_DFUN mms_req_not_supp#define MMS_RESUME_IND_SFUN u_ind_not_supp#define RESUME_SSI 0x00#endif#if (MMS_RESET_EN & REQ_EN)#define MMS_RESET_RSP_DFUN _mms_null_pdu_dec#define MMS_RESET_CONF_SFUN u_mp_reset_conf#else#define MMS_RESET_RSP_DFUN mms_rsp_not_supp#define MMS_RESET_CONF_SFUN u_conf_not_supp#endif#if (MMS_RESET_EN & RESP_EN)#define MMS_RESET_REQ_DFUN mms_reset_req#define MMS_RESET_IND_SFUN u_reset_ind#define RESET_SSI 0x10#else#define MMS_RESET_REQ_DFUN mms_req_not_supp#define MMS_RESET_IND_SFUN u_ind_not_supp#define RESET_SSI 0x00#endif#if (MMS_KILL_EN & REQ_EN)#define MMS_KILL_RSP_DFUN _mms_null_pdu_dec#define MMS_KILL_CONF_SFUN u_mp_kill_conf#else#define MMS_KILL_RSP_DFUN mms_rsp_not_supp#define MMS_KILL_CONF_SFUN u_conf_not_supp#endif#if (MMS_KILL_EN & RESP_EN)#define MMS_KILL_REQ_DFUN mms_kill_req#define MMS_KILL_IND_SFUN u_kill_ind#define KILL_SSI 0x08#else#define MMS_KILL_REQ_DFUN mms_req_not_supp#define MMS_KILL_IND_SFUN u_ind_not_supp#define KILL_SSI 0x00#endif#if (MMS_GET_PI_EN & REQ_EN)#define MMS_GET_PI_RSP_DFUN mms_get_pi_rsp#define MMS_GET_PI_CONF_SFUN u_mp_getpi_conf#else#define MMS_GET_PI_RSP_DFUN mms_rsp_not_supp#define MMS_GET_PI_CONF_SFUN u_conf_not_supp#endif#if (MMS_GET_PI_EN & RESP_EN)#define MMS_GET_PI_REQ_DFUN mms_get_pi_req#define MMS_GET_PI_IND_SFUN u_getpi_ind#define GETPI_SSI 0x04#else#define MMS_GET_PI_REQ_DFUN mms_req_not_supp#define MMS_GET_PI_IND_SFUN u_ind_not_supp#define GETPI_SSI 0x00#endif/************************************************************************//* EVENT MANAGEMENT - CONFIRMED SERVICES *//************************************************************************/#if (MMS_DEFEC_EN & REQ_EN)#define MMS_DEFEC_RSP_DFUN _mms_null_pdu_dec#define MMS_DEFEC_CONF_SFUN u_mp_defec_conf#else#define MMS_DEFEC_RSP_DFUN mms_rsp_not_supp#define MMS_DEFEC_CONF_SFUN u_conf_not_supp#endif#if (MMS_DEFEC_EN & RESP_EN)#define MMS_DEFEC_REQ_DFUN mms_defec_req#define MMS_DEFEC_IND_SFUN u_defec_ind#define DEFEC_SSI 0x01#else#define MMS_DEFEC_REQ_DFUN mms_req_not_supp#define MMS_DEFEC_IND_SFUN u_ind_not_supp#define DEFEC_SSI 0x00#endif#if (MMS_DELEC_EN & REQ_EN)#define MMS_DELEC_RSP_DFUN mms_delec_rsp#define MMS_DELEC_CONF_SFUN u_mp_delec_conf#else#define MMS_DELEC_RSP_DFUN mms_rsp_not_supp#define MMS_DELEC_CONF_SFUN u_conf_not_supp#endif#if (MMS_DELEC_EN & RESP_EN)#define MMS_DELEC_REQ_DFUN mms_delec_req#define MMS_DELEC_IND_SFUN u_delec_ind#define DELEC_SSI 0x80#else#define MMS_DELEC_REQ_DFUN mms_req_not_supp#define MMS_DELEC_IND_SFUN u_ind_not_supp#define DELEC_SSI 0x00#endif#if (MMS_GETECA_EN & REQ_EN)#define MMS_GETECA_RSP_DFUN mms_geteca_rsp#define MMS_GETECA_CONF_SFUN u_mp_geteca_conf#else#define MMS_GETECA_RSP_DFUN mms_rsp_not_supp#define MMS_GETECA_CONF_SFUN u_conf_not_supp#endif#if (MMS_GETECA_EN & RESP_EN)#define MMS_GETECA_REQ_DFUN mms_geteca_req#define MMS_GETECA_IND_SFUN u_geteca_ind#define GETECA_SSI 0x40#else#define MMS_GETECA_REQ_DFUN mms_req_not_supp#define MMS_GETECA_IND_SFUN u_ind_not_supp#define GETECA_SSI 0x00#endif#if (MMS_REPECS_EN & REQ_EN)#define MMS_REPECS_RSP_DFUN mms_repecs_rsp#define MMS_REPECS_CONF_SFUN u_mp_repecs_conf#else#define MMS_REPECS_RSP_DFUN mms_rsp_not_supp#define MMS_REPECS_CONF_SFUN u_conf_not_supp#endif#if (MMS_REPECS_EN & RESP_EN)#define MMS_REPECS_REQ_DFUN mms_repecs_req#define MMS_REPECS_IND_SFUN u_repecs_ind#define REPECS_SSI 0x20#else#define MMS_REPECS_REQ_DFUN mms_req_not_supp#define MMS_REPECS_IND_SFUN u_ind_not_supp#define REPECS_SSI 0x00#endif#if (MMS_ALTECM_EN & REQ_EN)#define MMS_ALTECM_RSP_DFUN _mms_null_pdu_dec#define MMS_ALTECM_CONF_SFUN u_mp_altecm_conf#else#define MMS_ALTECM_RSP_DFUN mms_rsp_not_supp#define MMS_ALTECM_CONF_SFUN u_conf_not_supp#endif#if (MMS_ALTECM_EN & RESP_EN)#define MMS_ALTECM_REQ_DFUN mms_altecm_req#define MMS_ALTECM_IND_SFUN u_altecm_ind#define ALTECM_SSI 0x10#else#define MMS_ALTECM_REQ_DFUN mms_req_not_supp#define MMS_ALTECM_IND_SFUN u_ind_not_supp#define ALTECM_SSI 0x00#endif#if (MMS_TRIGE_EN & REQ_EN)#define MMS_TRIGE_RSP_DFUN _mms_null_pdu_dec#define MMS_TRIGE_CONF_SFUN u_mp_trige_conf#else#define MMS_TRIGE_RSP_DFUN mms_rsp_not_supp#define MMS_TRIGE_CONF_SFUN u_conf_not_supp#endif#if (MMS_TRIGE_EN & RESP_EN)#define MMS_TRIGE_REQ_DFUN mms_trige_req#define MMS_TRIGE_IND_SFUN u_trige_ind#define TRIGE_SSI 0x08#else#define MMS_TRIGE_REQ_DFUN mms_req_not_supp#define MMS_TRIGE_IND_SFUN u_ind_not_supp#define TRIGE_SSI 0x00#endif#if (MMS_DEFEA_EN & REQ_EN)#define MMS_DEFEA_RSP_DFUN _mms_null_pdu_dec#define MMS_DEFEA_CONF_SFUN u_mp_defea_conf#else#define MMS_DEFEA_RSP_DFUN mms_rsp_not_supp#define MMS_DEFEA_CONF_SFUN u_conf_not_supp#endif#if (MMS_DEFEA_EN & RESP_EN)#define MMS_DEFEA_REQ_DFUN mms_defea_req#define MMS_DEFEA_IND_SFUN u_defea_ind#define DEFEA_SSI 0x04#else#define MMS_DEFEA_REQ_DFUN mms_req_not_supp#define MMS_DEFEA_IND_SFUN u_ind_not_supp#define DEFEA_SSI 0x00#endif#if (MMS_DELEA_EN & REQ_EN)#define MMS_DELEA_RSP_DFUN mms_delea_rsp#define MMS_DELEA_CONF_SFUN u_mp_delea_conf#else#define MMS_DELEA_RSP_DFUN mms_rsp_not_supp#define MMS_DELEA_CONF_SFUN u_conf_not_supp#endif#if (MMS_DELEA_EN & RESP_EN)#define MMS_DELEA_REQ_DFUN mms_delea_req#define MMS_DELEA_IND_SFUN u_delea_ind#define DELEA_SSI 0x02#else#define MMS_DELEA_REQ_DFUN mms_req_not_supp#define MMS_DELEA_IND_SFUN u_ind_not_supp#define DELEA_SSI 0x00#endif#if (MMS_GETEAA_EN & REQ_EN)#define MMS_GETEAA_RSP_DFUN mms_geteaa_rsp#define MMS_GETEAA_CONF_SFUN u_mp_geteaa_conf#else#define MMS_GETEAA_RSP_DFUN mms_rsp_not_supp#define MMS_GETEAA_CONF_SFUN u_conf_not_supp#endif#if (MMS_GETEAA_EN & RESP_EN)#define MMS_GETEAA_REQ_DFUN mms_geteaa_req#define MMS_GETEAA_IND_SFUN u_geteaa_ind#define GETEAA_SSI 0x01#else#define MMS_GETEAA_REQ_DFUN mms_req_not_supp#define MMS_GETEAA_IND_SFUN u_ind_not_supp#define GETEAA_SSI 0x00#endif#if (MMS_REPEAS_EN & REQ_EN)#define MMS_REPEAS_RSP_DFUN mms_repeas_rsp#define MMS_REPEAS_CONF_SFUN u_mp_repeas_conf#else#define MMS_REPEAS_RSP_DFUN mms_rsp_not_supp#define MMS_REPEAS_CONF_SFUN u_conf_not_supp#endif#if (MMS_REPEAS_EN & RESP_EN)#define MMS_REPEAS_REQ_DFUN mms_repeas_req#define MMS_REPEAS_IND_SFUN u_repeas_ind#define REPEAS_SSI 0x80#else#define MMS_REPEAS_REQ_DFUN mms_req_not_supp#define MMS_REPEAS_IND_SFUN u_ind_not_supp#define REPEAS_SSI 0x00#endif#if (MMS_DEFEE_EN & REQ_EN)#define MMS_DEFEE_RSP_DFUN _mms_null_pdu_dec#define MMS_DEFEE_CONF_SFUN u_mp_defee_conf#else#define MMS_DEFEE_RSP_DFUN mms_rsp_not_supp#define MMS_DEFEE_CONF_SFUN u_conf_not_supp#endif#if (MMS_DEFEE_EN & RESP_EN)#define MMS_DEFEE_REQ_DFUN mms_defee_req#define MMS_DEFEE_IND_SFUN u_defee_ind#define DEFEE_SSI 0x40#else#define MMS_DEFEE_REQ_DFUN mms_req_not_supp#define MMS_DEFEE_IND_SFUN u_ind_not_supp#define DEFEE_SSI 0x00#endif#if (MMS_DELEE_EN & REQ_EN)#define MMS_DELEE_RSP_DFUN mms_delee_rsp#define MMS_DELEE_CONF_SFUN u_mp_delee_conf#else#define MMS_DELEE_RSP_DFUN mms_rsp_not_supp#define MMS_DELEE_CONF_SFUN u_conf_not_supp#endif#if (MMS_DELEE_EN & RESP_EN)#define MMS_DELEE_REQ_DFUN mms_delee_req#define MMS_DELEE_IND_SFUN u_delee_ind#define DELEE_SSI 0x20#else#define MMS_DELEE_REQ_DFUN mms_req_not_supp#define MMS_DELEE_IND_SFUN u_ind_not_supp#define DELEE_SSI 0x00#endif#if (MMS_ALTEE_EN & REQ_EN)#define MMS_ALTEE_RSP_DFUN mms_altee_rsp#define MMS_ALTEE_CONF_SFUN u_mp_altee_conf#else#define MMS_ALTEE_RSP_DFUN mms_rsp_not_supp#define MMS_ALTEE_CONF_SFUN u_conf_not_supp#endif#if (MMS_ALTEE_EN & RESP_EN)#define MMS_ALTEE_REQ_DFUN mms_altee_req#define MMS_ALTEE_IND_SFUN u_altee_ind#define ALTEE_SSI 0x10#else#define MMS_ALTEE_REQ_DFUN mms_req_not_supp#define MMS_ALTEE_IND_SFUN u_ind_not_supp#define ALTEE_SSI 0x00#endif#if (MMS_REPEES_EN & REQ_EN)#define MMS_REPEES_RSP_DFUN mms_repees_rsp#define MMS_REPEES_CONF_SFUN u_mp_repees_conf#else#define MMS_REPEES_RSP_DFUN mms_rsp_not_supp#define MMS_REPEES_CONF_SFUN u_conf_not_supp#endif#if (MMS_REPEES_EN & RESP_EN)#define MMS_REPEES_REQ_DFUN mms_repees_req#define MMS_REPEES_IND_SFUN u_repees_ind#define REPEES_SSI 0x08#else#define MMS_REPEES_REQ_DFUN mms_req_not_supp#define MMS_REPEES_IND_SFUN u_ind_not_supp#define REPEES_SSI 0x00#endif#if (MMS_GETEEA_EN & REQ_EN)#define MMS_GETEEA_RSP_DFUN mms_geteea_rsp#define MMS_GETEEA_CONF_SFUN u_mp_geteea_conf#else#define MMS_GETEEA_RSP_DFUN mms_rsp_not_supp#define MMS_GETEEA_CONF_SFUN u_conf_not_supp#endif#if (MMS_GETEEA_EN & RESP_EN)#define MMS_GETEEA_REQ_DFUN mms_geteea_req#define MMS_GETEEA_IND_SFUN u_geteea_ind#define GETEEA_SSI 0x04#else#define MMS_GETEEA_REQ_DFUN mms_req_not_supp#define MMS_GETEEA_IND_SFUN u_ind_not_supp#define GETEEA_SSI 0x00#endif#if (MMS_ACKEVNOT_EN & REQ_EN)#define MMS_ACKEVNOT_RSP_DFUN _mms_null_pdu_dec#define MMS_ACKEVNOT_CONF_SFUN u_mp_ackevnot_conf#else#define MMS_ACKEVNOT_RSP_DFUN mms_rsp_not_supp#define MMS_ACKEVNOT_CONF_SFUN u_conf_not_supp#endif#if (MMS_ACKEVNOT_EN & RESP_EN)#define MMS_ACKEVNOT_REQ_DFUN mms_ackevnot_req#define MMS_ACKEVNOT_IND_SFUN u_ackevnot_ind#define ACKEVNOT_SSI 0x02#else#define MMS_ACKEVNOT_REQ_DFUN mms_req_not_supp#define MMS_ACKEVNOT_IND_SFUN u_ind_not_supp#define ACKEVNOT_SSI 0x00#endif#if (MMS_GETAS_EN & REQ_EN)#define MMS_GETAS_RSP_DFUN mms_getas_rsp#define MMS_GETAS_CONF_SFUN u_mp_getas_conf#else#define MMS_GETAS_RSP_DFUN mms_rsp_not_supp#define MMS_GETAS_CONF_SFUN u_conf_not_supp#endif#if (MMS_GETAS_EN & RESP_EN)#define MMS_GETAS_REQ_DFUN mms_getas_req#define MMS_GETAS_IND_SFUN u_getas_ind#define GETAS_SSI 0x01#else#define MMS_GETAS_REQ_DFUN mms_req_not_supp#define MMS_GETAS_IND_SFUN u_ind_not_supp#define GETAS_SSI 0x00#endif#if (MMS_GETAES_EN & REQ_EN)#define MMS_GETAES_RSP_DFUN mms_getaes_rsp#define MMS_GETAES_CONF_SFUN u_mp_getaes_conf#else#define MMS_GETAES_RSP_DFUN mms_rsp_not_supp#define MMS_GETAES_CONF_SFUN u_conf_not_supp#endif#if (MMS_GETAES_EN & RESP_EN)#define MMS_GETAES_REQ_DFUN mms_getaes_req#define MMS_GETAES_IND_SFUN u_getaes_ind#define GETAES_SSI 0x80#else#define MMS_GETAES_REQ_DFUN mms_req_not_supp#define MMS_GETAES_IND_SFUN u_ind_not_supp#define GETAES_SSI 0x00#endif/************************************************************************//* JOURNAL MANAGEMENT SERVICES *//************************************************************************/#if (MMS_JREAD_EN & REQ_EN)#define MMS_JREAD_RSP_DFUN mms_jread_rsp#define MMS_JREAD_CONF_SFUN u_mp_jread_conf#else#define MMS_JREAD_RSP_DFUN mms_rsp_not_supp#define MMS_JREAD_CONF_SFUN u_conf_not_supp#endif#if (MMS_JREAD_EN & RESP_EN)#define MMS_JREAD_REQ_DFUN mms_jread_req#define MMS_JREAD_IND_SFUN u_jread_ind#define JREAD_SSI 0x40
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -