[Feature][ZXW-33]merge ZXW 0428 version
Change-Id: I11f167edfea428d9fab198ff00ff1364932d1b0b
diff --git a/ap/app/include/atreg_msg.h b/ap/app/include/atreg_msg.h
new file mode 100755
index 0000000..a1a5077
--- /dev/null
+++ b/ap/app/include/atreg_msg.h
@@ -0,0 +1,74 @@
+/**
+ * @file atreg_msg.h
+ * @brief ÌṩlibatregÏà¹ØÏûÏ¢¡¢½á¹¹Ìå
+ *
+ * Copyright (C) 2022 Sanechips Technology Co., Ltd.
+ * @author
+ * @ingroup
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ */
+
+
+#ifndef _ATREG_MSG_H
+#define _ATREG_MSG_H
+
+
+/*******************************************************************************
+ * Include header files *
+ *******************************************************************************/
+#include "message.h"
+
+
+/*******************************************************************************
+ * Macro definitions *
+ *******************************************************************************/
+
+
+/*******************************************************************************
+ * Type definitions *
+ *******************************************************************************/
+/** ÏûÏ¢id */
+enum MSG_CDM_RANGE_T
+{
+ MSG_CMD_AT_REG_BASE = MSG_CMD_EXTAT_BASE,
+
+ /* at×¢²áÏûÏ¢id¶¨Òå */
+ MSG_CMD_AT_REG_REQ,
+ MSG_CMD_AT_REG_RSP,
+
+ /* at×¢ÏúÏûÏ¢id¶¨Òå */
+ MSG_CMD_AT_UNREG_REQ,
+ MSG_CMD_AT_UNREG_RSP,
+};
+
+
+/** AT×¢²áÖÁat_ctl */
+struct atreg_msg_t {
+ char at_cmd_prefix[AT_CMD_PREFIX];
+
+ int req_msg_id;
+ int rsp_msg_id;
+
+ /* ATÀàÐÍ: 0-ser, 1-info */
+ int type;
+
+ int res;
+};
+
+
+/*******************************************************************************
+ * Global variable declarations *
+ *******************************************************************************/
+
+
+/*******************************************************************************
+ * Global function declarations *
+ *******************************************************************************/
+
+
+#endif
+