雷鸟ln_ws_start中添加SKIP_LN_PROTOCOL_TEST用来跳过启动对话,用来测试ppp 2451/1
author孙春阳 <snickersun@163.com>
Tue, 30 Sep 2025 07:20:29 +0000 (15:20 +0800)
committer孙春阳 <snickersun@163.com>
Tue, 30 Sep 2025 07:20:29 +0000 (15:20 +0800)
code/sdk/zhihui/leiniao/imsl_ln/ln_api_websocket.c

index b2b4efa..5e6dc3c 100644 (file)
@@ -736,6 +736,9 @@ static void ln_ws_incomplete_callback(const char *raw_data, size_t length, bool
  */
 int ln_ws_start(ws_message_callback_t_ln callback, uint32_t audio_timeout_ticks)
 {
+    #ifdef SKIP_LN_PROTOCOL_TEST
+    return 0;
+    #endif
     if (g_ws_running) {
         return 0;
     }