默认配置列表增加921600,1M和2M 2635/1 2635/head
author孙春阳 <snickersun@163.com>
Wed, 29 Oct 2025 11:33:18 +0000 (19:33 +0800)
committer孙春阳 <snickersun@163.com>
Wed, 29 Oct 2025 11:33:18 +0000 (19:33 +0800)
code/sdk/zhihui/ppp/include/ppp_config.h

index bf881bd..2f98361 100644 (file)
@@ -31,8 +31,8 @@ extern "C" {
 #define PPP_UART_BAUDRATE          1000000
 
 /* 支持的波特率列表(自适应模式) */
-#define PPP_BAUDRATE_AUTO_LIST      {9600, 57600, 115200}
-#define PPP_BAUDRATE_AUTO_COUNT     3
+#define PPP_BAUDRATE_AUTO_LIST      {115200,921600,1000000,2000000}
+#define PPP_BAUDRATE_AUTO_COUNT     4
 
 /* 支持的固定波特率列表 */
 #define PPP_BAUDRATE_FIXED_LIST     {4800, 9600, 57600, 115200, 230400, 460800, 750000, 921600, 1000000, 2000000, 4000000}