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 08:56:59 浏览: 246
这段 log 表示手机正在尝试开始一次 Wi-Fi 扫描,但是由于被限流,扫描失败。此外,在这段时间内,一个无线终端(STA)断开了与热点(hotspot)的连接,热点也将这个终端从已连接的终端列表中删除。在这之后,AlarmManager 将触发一个 ELAPSED_REALTIME 定时器,目的是在指定的时间后发送一条消息。
相关问题
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
阅读全文