12-21 15:41:33.636 I/WifiService( 1081): startScan uid=10098 12-21 15:41:33.640 I/WifiScanRequestProxy( 1081): Scan request from com.autonavi.amapauto throttled 12-21 15:41:33.640 I/ActivityManager( 1081): caller:android, send broadcast:android.net.wifi.SCAN_RESULTS 12-21 15:41:33.642 E/WifiService( 1081): Failed to start scan 12-21 15:41:33.775 I/ActivityManager( 1081): caller:android, send broadcast:android.intent.action.SIG_STR 12-21 15:41:33.971 I/hostapd ( 3893): ap0: STA 28:c7:09:63:e0:a3 IEEE 802.11: disassociated 12-21 15:41:33.971 I/wificond( 631): Station 28:c7:09:63:e0:a3 disassociated from hotspot 12-21 15:41:33.972 I/hostapd ( 3893): ap0: STA 28:c7:09:63:e0:a3 IEEE 802.11: disassociated 12-21 15:41:33.972 I/hostapd ( 3893): ap0: AP-STA-DISCONNECTED 28:c7:09:63:e0:a3 12-21 15:41:33.973 D/SoftApManager( 1081): Setting num stations on CMD_NUM_ASSOCIATED_STATIONS_CHANGED 12-21 15:41:33.973 D/SoftApManager( 1081): Number of associated stations changed: 0 12-21 15:41:33.975 D/AlarmManager( 1081): [set] switch ELAPSED_REALTIME_WAKEUP -> ELAPSED_REALTIME,callingPackage = android,triggerAtTime = 721599,listenerTag = SoftApManager Soft AP Send Message Timeout 12-21 15:41:33.976 D/SoftApManager( 1081): Timeout message scheduled这段log表示什么
时间: 2023-02-16 09:47:55 浏览: 542
这段 log 中似乎描述了 WiFi 相关的一些操作。其中,
- "startScan" 和 "Scan request from com.autonavi.amapauto throttled" 描述了有应用请求扫描 WiFi,但是被限制了。
- "STA 28:c7:09:63:e0:a3 IEEE 802.11: disassociated" 和 "Station 28:c7:09:63:e0:a3 disassociated from hotspot" 描述了一个 WiFi 设备 (STA) 从热点 (hotspot) 断开了连接。
- "Number of associated stations changed: 0" 描述了连接到热点的设备数量变为了 0。
- "Timeout message scheduled" 描述了已设置了一个超时消息。
但是,由于这段 log 中缺少上下文信息,我不能提供更多具体的解释。
相关问题
12-21 15:41:33.636 I/WifiService( 1081): startScan uid=10098 12-21 15:41:33.640 I/WifiScanRequestProxy( 1081): Scan request from com.autonavi.amapauto throttled 12-21 15:41:33.640 I/ActivityManager( 1081): caller:android, send broadcast:android.net.wifi.SCAN_RESULTS 12-21 15:41:33.642 E/WifiService( 1081): Failed to start scan 12-21 15:41:33.775 I/ActivityManager( 1081): caller:android, send broadcast:android.intent.action.SIG_STR 12-21 15:41:33.971 I/hostapd ( 3893): ap0: STA 28:c7:09:63:e0:a3 IEEE 802.11: disassociated 12-21 15:41:33.971 I/wificond( 631): Station 28:c7:09:63:e0:a3 disassociated from hotspot 12-21 15:41:33.972 I/hostapd ( 3893): ap0: STA 28:c7:09:63:e0:a3 IEEE 802.11: disassociated 12-21 15:41:33.972 I/hostapd ( 3893): ap0: AP-STA-DISCONNECTED 28:c7:09:63:e0:a3 12-21 15:41:33.973 D/SoftApManager( 1081): Setting num stations on CMD_NUM_ASSOCIATED_STATIONS_CHANGED 12-21 15:41:33.973 D/SoftApManager( 1081): Number of associated stations changed: 0 12-21 15:41:33.975 D/AlarmManager( 1081): [set] switch ELAPSED_REALTIME_WAKEUP -> ELAPSED_REALTIME,callingPackage = android,triggerAtTime = 721599,listenerTag = SoftApManager Soft AP Send Message Timeout 12-21 15:41:33.976 D/SoftApManager( 1081): Timeout message scheduled这段log表示什么
这段log的意思是在手机上的Wifi服务试图进行扫描时被拒绝,因为它被限流了。在扫描失败后,系统发送了一个广播,通知相关应用有关Wifi扫描结果的变化。接着,设备上的一个客户端(STA)28:c7:09:63:e0:a3从热点(hotspot)断开连接,并在此之后,SoftApManager处理了与连接的客户端数量有关的变化,并安排了一条消息在将来的某个时间进行超时处理。
static_library("iot_wifi") { sources = [ "iot_wifi.c", "iot_netcfg.c", "iot_softap.c", ] cflags = [ "-Wno-unused-variable" ] cflags += [ "-Wno-unused-but-set-variable" ] cflags += [ "-Wno-unused-parameter" ] include_dirs = [ "//kernel/liteos_m/components/net/lwip-2.1/enhancement/include/lwip", "//kernel/liteos_m/components/net/lwip-2.1/porting/include/", "//base/hiviewdfx/hilog_lite/interfaces/native/innerkits/hilog", "//foundation/communication/wifi_lite/interfaces/wifiservice/", "//third_party/mbedtls/include/mbedtls", "//kernel/liteos_m/kal/cmsis", "//third_party/cJSON", "//utils/native/lite/include", "../inc", ] deps = [ "//base/hiviewdfx/hilog_lite/frameworks/featured:hilog_static", ] }
这是一个名为 "iot_wifi" 的静态库的构建配置。它包含了以下源文件:
- iot_wifi.c
- iot_netcfg.c
- iot_softap.c
构建选项中设置了一些编译标志,如忽略未使用的变量和参数。包含的头文件路径如下:
- //kernel/liteos_m/components/net/lwip-2.1/enhancement/include/lwip
- //kernel/liteos_m/components/net/lwip-2.1/porting/include/
- //base/hiviewdfx/hilog_lite/interfaces/native/innerkits/hilog
- //foundation/communication/wifi_lite/interfaces/wifiservice/
- //third_party/mbedtls/include/mbedtls
- //kernel/liteos_m/kal/cmsis
- //third_party/cJSON
- //utils/native/lite/include
- ../inc
此外,该静态库依赖于另一个名为 "hilog_static" 的静态库,路径为:
- //base/hiviewdfx/hilog_lite/frameworks/featured:hilog_static
阅读全文