--- /dev/null
+/*
+ * Copyright (c) Quectel Wireless Solution, Co., Ltd.All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+
+#ifndef _HELIOS_AI_H_
+#define _HELIOS_AI_H_
+
+enum {
+ HELIOS_AI_EVENT_START = 1,
+ HELIOS_AI_EVENT_STOP = 2,
+ HELIOS_AI_EVENT_TTS_TEXT = 3,
+ HELIOS_AI_EVENT_ASR_TEXT = 4,
+ HELIOS_AI_EVENT_ERROR = 5,
+} HELIOS_AI_EVENT;
+
+typedef void (*Helios_AI_Callback)(int evt, char *msg);
+
+typedef struct {
+ char StartVoiceChat[256];
+ char UpdateVoiceChat[256];
+ char StopVoiceChat[256];
+ char BotId[256];
+ char VoiceId[256];
+ int volume;
+ Helios_AI_Callback callback;
+ int AliveTime;
+} helios_ai_config;
+
+
+int helios_ai_init(Helios_AI_Callback callback, int alive_time);
+
+int helios_ai_start(void);
+int helios_ai_stop(void);
+
+int helios_ai_status(void);
+
+int helios_ai_set_start_voice_chat(char *url);
+int helios_ai_set_update_voice_chat(char *url);
+int helios_ai_set_stop_voice_chat(char *url);
+int helios_ai_set_bot_id(char *bot_id);
+int helios_ai_set_voice_id(char *voice_id);
+
+int helios_ai_set_volume(int volume);
+int helios_ai_get_volume(void);
+
+int helios_ai_interrupt(void);
+
+#endif
+
--- /dev/null
+# Copyright (c) Quectel Wireless Solution, Co., Ltd.All Rights Reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+
+NAME = AI_RTC
+
+GLOBAL_INCS = .
+
+$(NAME)_SRCS =
+