/** * @ingroup hl854x * @defgroup hl854x_me Matching engine callbacks * Matching engine string and callback items list * @{ */ #ifndef DI_DRV_HL854X_ME_H__ #define DI_DRV_HL854X_ME_H__ #ifdef __cplusplus extern "C" { #endif #include #define DI_DRV_HL854X_ME_ITEMS_SIZE 49 extern const struct di_me_item di_drv_hl854x_me_items[DI_DRV_HL854X_ME_ITEMS_SIZE]; /** * @defgroup hl854x_me_misc_cb misc callbacks * @{ */ void di_drv_hl854x_cb_ccid(struct di_me_ctx *ctx); void di_drv_hl854x_cb_kgsn(struct di_me_ctx *ctx); void di_drv_hl854x_cb_cme_error(struct di_me_ctx *ctx); void di_drv_hl854x_cb_reply(struct di_me_ctx *ctx); /** @} */ /** * @defgroup hl854x_me_con_cb con callbacks * @{ */ void di_drv_hl854x_con_cb_kcnxcfg(struct di_me_ctx *ctx); void di_drv_hl854x_con_cb_kcnx_ind(struct di_me_ctx *ctx); void di_drv_hl854x_con_cb_kcgpaddr(struct di_me_ctx *ctx); /** @} */ /** * @defgroup hl854x_me_mec_cb mec callbacks * @{ */ void di_drv_hl854x_mec_cb_csq(struct di_me_ctx *ctx); void di_drv_hl854x_mec_cb_ksimdet(struct di_me_ctx *ctx); void di_drv_hl854x_mec_cb_ksimsel(struct di_me_ctx *ctx); void di_drv_hl854x_mec_cb_cpin(struct di_me_ctx *ctx); void di_drv_hl854x_mec_cb_kcell(struct di_me_ctx *ctx); /** @} */ /** * @defgroup hl854x_me_net_cb net callbacks * @{ */ void di_drv_hl854x_net_cb_cops(struct di_me_ctx *ctx); void di_drv_hl854x_net_cb_creg(struct di_me_ctx *ctx); void di_drv_hl854x_net_cb_cgreg(struct di_me_ctx *ctx); /** @} */ /** * @defgroup hl854x_me_sms_cb sms callbacks * @{ */ void di_drv_hl854x_sms_cb_cmgd(struct di_me_ctx *ctx); void di_drv_hl854x_sms_cb_cmgf(struct di_me_ctx *ctx); void di_drv_hl854x_sms_cb_cmgr(struct di_me_ctx *ctx); void di_drv_hl854x_sms_cb_cmgs(struct di_me_ctx *ctx); /** @} */ /** * @defgroup hl854x_me_udp_cb udp callbacks * @{ */ /** * KUDPCFG callback * @param ctx Matching engine context */ void di_drv_hl854x_udp_cb_kudpcfg(struct di_me_ctx *ctx); /** * KUDP_IND callback * @param ctx Matching engine context */ void di_drv_hl854x_udp_cb_kudp_ind(struct di_me_ctx *ctx); /** * KUDP_NOTIF callback * @param ctx Matching engine context */ void di_drv_hl854x_udp_cb_kudp_notif(struct di_me_ctx *ctx); /** * KUDP_DATA callback * @param ctx Matching engine context */ void di_drv_hl854x_udp_cb_kudp_data(struct di_me_ctx *ctx); /** @} */ /** * @defgroup hl854x_me_tcp_cb tcp callbacks * @{ */ void di_drv_hl854x_tcp_cb_ktcpcfg(struct di_me_ctx *ctx); void di_drv_hl854x_tcp_cb_ktcpcnx(struct di_me_ctx *ctx); void di_drv_hl854x_tcp_cb_ktcprcv(struct di_me_ctx *ctx); void di_drv_hl854x_tcp_cb_ktcpsnd(struct di_me_ctx *ctx); void di_drv_hl854x_tcp_cb_ktcpclose(struct di_me_ctx *ctx); void di_drv_hl854x_tcp_cb_ktcpdel(struct di_me_ctx *ctx); void di_drv_hl854x_tcp_cb_ktcp_data(struct di_me_ctx *ctx); void di_drv_hl854x_tcp_cb_ktcp_ind(struct di_me_ctx *ctx); void di_drv_hl854x_tcp_cb_ktcpstat(struct di_me_ctx *ctx); void di_drv_hl854x_tcp_cb_ktcpstart(struct di_me_ctx *ctx); void di_drv_hl854x_tcp_cb_ktcp_ack(struct di_me_ctx *ctx); void di_drv_hl854x_tcp_cb_ktcpackinfo(struct di_me_ctx *ctx); void di_drv_hl854x_tcp_cb_ktcp_notif(struct di_me_ctx *ctx); /** @} */ /** * @defgroup hl854x_me_gps_cb gps callbacks * @{ */ void di_drv_hl854x_cb_gps_start(struct di_me_ctx *ctx); void di_drv_hl854x_cb_gps_evstart(struct di_me_ctx *ctx); void di_drv_hl854x_cb_gps_sleep(struct di_me_ctx *ctx); void di_drv_hl854x_cb_gps_evsleep(struct di_me_ctx *ctx); void di_drv_hl854x_cb_gps_stop(struct di_me_ctx *ctx); void di_drv_hl854x_cb_gps_evstop(struct di_me_ctx *ctx); void di_drv_hl854x_cb_gps_init(struct di_me_ctx *ctx); void di_drv_hl854x_cb_gps_evinit(struct di_me_ctx *ctx); void di_drv_hl854x_cb_gps_pvt(struct di_me_ctx *ctx); void di_drv_hl854x_cb_gps_conf(struct di_me_ctx *ctx); void di_drv_hl854x_cb_gps_release(struct di_me_ctx *ctx); void di_drv_hl854x_cb_gps_evrelease(struct di_me_ctx *ctx); void di_drv_hl854x_cb_gps_evpos(struct di_me_ctx *ctx); /** @} */ #ifdef __cplusplus } #endif /** @} */ #endif /* DI_DRV_HL854X_ME_H__ */