[Feature]Upload Modem source code
Change-Id: Id4294f30faced84d3e6fd6d5e61e1111bf287a37
diff --git a/mcu/protocol/interface/ddm/d2_public_api.h b/mcu/protocol/interface/ddm/d2_public_api.h
new file mode 100644
index 0000000..ce0ca39
--- /dev/null
+++ b/mcu/protocol/interface/ddm/d2_public_api.h
@@ -0,0 +1,33 @@
+#ifndef __D2_PUBLIC_API_H__
+#define __D2_PUBLIC_API_H__
+
+#include "kal_public_defs.h"
+#include "kal_general_types.h"
+#include "kal_public_api.h"
+
+// Compiler flag, NEED_TO_BE_NOTICED, set by the compiler
+// N/A
+
+// Type definition
+// N/A
+typedef enum {
+ BUILT_IN_APN_STATUS_SUCCESS,
+ BUILT_IN_APN_STATUS_ONGOING
+} d2_built_in_apn_status;
+
+// Macro
+#define d2_get_owner_by_apn_idx(ps_id, apn_idx) (d2apn_get_owner_by_apn_idx((ps_id), (apn_idx)))
+#define d2_get_ipv6_mtu_by_apn(ps_id, apn_name) (ddm_get_ipv6_mtu_by_apn((ps_id), (apn_name)))
+
+// Interface
+// N/A
+/***********************************************************
+ BUILT_IN_APN_STATUS_SUCCESS: Built-in APN process success *
+ BUILT_IN_APN_STATUS_ONGOING: Built-in APN process ongoing *
+************************************************************/
+extern d2_built_in_apn_status d2_get_built_in_apn_status(kal_uint8 ps_id);
+
+// Implementation
+// N/A
+
+#endif