Merge #2655 into sdk650pathc0423 from refs/changes/2655/head 2658/target/3
author胡传军 <1224667075@qq.com>
Sun, 2 Nov 2025 08:00:46 +0000 (08:00 +0000)
committer罗正 <1732036298@qq.com>
Sun, 2 Nov 2025 08:00:46 +0000 (08:00 +0000)
Code review from 胡传军

* refs/changes/2655/head: (7 commits squashed)

  - 修改活动界面UI显示问题

  - Merge branch &#39;sdk650pathc0423&#39; of https://codeup.aliyun.com/64191456b9581d62e8f81ac0/FD230 into sdk650pathc0423

  - VAD修改

  - 优化部分雷鸟代码

  - tcp 升级

  - Merge branch &#39;sdk650pathc0423&#39; of https://codeup.aliyun.com/64191456b9581d62e8f81ac0/FD230 into sdk650pathc0423

  - Merge branch &#39;sdk650pathc0423&#39; of https://codeup.aliyun.com/64191456b9581d62e8f81ac0/FD230 into sdk650pathc0423

Signed-off-by: aliyun8003852482 <1224667075@qq.com>
Merged-by: 罗正 <1732036298@qq.com>
link: https://codeup.aliyun.com/64191456b9581d62e8f81ac0/FD230/change/2655
code/sdk/zhihui/4gTest/cat1_at_cmd.c

index c51825f..8ad2aeb 100644 (file)
@@ -992,6 +992,24 @@ static errcode_t at_cat1_resume_protocol(uint8_t *para, uint32_t paraLen, char *
     return ERRCODE_SUCC;
 }
 
+
+static errcode_t at_cat1_TCP_init(uint8_t *para, uint32_t paraLen, char *strCommonCmd)
+{
+    UNUSED(para);
+    UNUSED(paraLen);
+    UNUSED(strCommonCmd);
+    
+    printf("=== AT^CAT1TCPINIT: Resuming CAT1 protocol stack ===\n");
+    
+    cat1_start_tcp_ota_init();
+    cat1_tcp_server_init();
+
+    return ERRCODE_SUCC;
+}
+
+
+
+
 static const at_cmd_table_t g_cat1_cmd[] = {
     { (char *)"AT^CAT1POWER",       cat1_power, (char *)"1" },
     { (char *)"AT^CAT1DIAL",        at_cat1_dial, (char *)"1" },
@@ -1024,6 +1042,8 @@ static const at_cmd_table_t g_cat1_cmd[] = {
     { (char *)"AT^PPPTCPPERF",      at_4g_tcp_performance_test, (char *)"host,port,connections,time" },
     { (char *)"AT^PPPTCPSTOP",      at_4g_tcp_test_stop, (char *)" " },
     { (char *)"AT^PPPTCPSTATS",     at_4g_tcp_test_stats, (char *)" " },
+    { (char *)"AT^CAT1TCPINIT",     at_cat1_TCP_init, (char *)" " },
+    
 };
 
 at_cmd_table_t *get_cat1_cmd_table(uint32_t *cmd_count)