From 778e1790714fe6d7d73cda5adaea826bcb4144ae Mon Sep 17 00:00:00 2001 From: NoCodeNoBB Date: Thu, 15 Aug 2024 09:39:15 +0000 Subject: [PATCH] =?UTF-8?q?=E7=BD=91=E7=BB=9C=E7=AE=A1=E7=90=86=E6=96=B0?= =?UTF-8?q?=E5=A2=9E=E6=9E=9A=E4=B8=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: NoCodeNoBB --- network/netmanager/include/net_connection_type.h | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/network/netmanager/include/net_connection_type.h b/network/netmanager/include/net_connection_type.h index 32a8118c8..4bf1a1754 100644 --- a/network/netmanager/include/net_connection_type.h +++ b/network/netmanager/include/net_connection_type.h @@ -73,7 +73,12 @@ typedef enum NetConn_NetCap { * Portal * @since 12 */ - NETCONN_NET_CAPABILITY_PORTAL = 17 + NETCONN_NET_CAPABILITY_PORTAL = 17, + /** + * In checking network connectivity. + * @since 12 + */ + NETCONN_NET_CAPABILITY_CHECKING_CONNECTIVITY = 31 } NetConn_NetCap; /** @@ -85,6 +90,11 @@ typedef enum NetConn_NetCap { typedef enum NetConn_NetBearerType { /** Cellular network */ NETCONN_BEARER_CELLULAR = 0, + /** + * Bluetooth + * @since 12 + */ + NETCONN_BEARER_BLUETOOTH = 2, /** WIFI */ NETCONN_BEARER_WIFI = 1, /** Ethernet */ -- Gitee