6d0f8b01创建于 2024年3月15日历史提交
文件最后提交记录最后更新时间
将WLAN转为Stage模型 Signed-off-by: @two-thousand-or-three-thousand <lisiquan1@huawei.com> 3 年前
修复wlan多次点击wifi开关应用闪退问题 Signed-off-by: zwx1126739 <zhanghong121@huawei.com> 2 年前
Wlan、international、ScreenRecorder、Screenshot迁移 Signed-off-by: sunwenxu <sunwenxu1@huawei.com> 3 年前
将WLAN转为Stage模型 Signed-off-by: @two-thousand-or-three-thousand <lisiquan1@huawei.com> 3 年前
Wlan、international、ScreenRecorder、Screenshot迁移 Signed-off-by: sunwenxu <sunwenxu1@huawei.com> 3 年前
Issue: #I6DX6A Description: SystemFeature模块,目录结构迁移 Sig: SIG_Sample Feature or Bugfix: Bugfix Binary Source: No Signed-off-by: hongshengquan <hongshengquan3@huawei.com> 3 年前
修复UI、SystemFeature断链 Signed-off-by: zwx1126739 <zhanghong121@huawei.com> 2 年前
Wlan、international、ScreenRecorder、Screenshot迁移 Signed-off-by: sunwenxu <sunwenxu1@huawei.com> 3 年前
将WLAN转为Stage模型 Signed-off-by: @two-thousand-or-three-thousand <lisiquan1@huawei.com> 3 年前
Wlan、international、ScreenRecorder、Screenshot迁移 Signed-off-by: sunwenxu <sunwenxu1@huawei.com> 3 年前
Wlan、international、ScreenRecorder、Screenshot迁移 Signed-off-by: sunwenxu <sunwenxu1@huawei.com> 3 年前
Wlan、international、ScreenRecorder、Screenshot迁移 Signed-off-by: sunwenxu <sunwenxu1@huawei.com> 3 年前
新增Wlan测试用例 Signed-off-by: ISS014801000918\liangqian <liangqian10@huawei.com> 3 年前
README.md

WLAN

Introduction

This sample shows how to use WLAN with eTS, including disabling and enabling the WLAN, scanning the WLAN and obtaining the scanning result, listening for WLAN status and Wi-Fi connection status, obtaining the IP address, country code, and checking whether the device supports WLAN features.

Usage

  1. After the app is started, it checks whether the WLAN is activated. If it is activated, the app scans for available Wi-Fi networks and displays the list of available and connected Wi-Fi networks.

  2. Touch the toggle on the page to enable or disable the WLAN. The device listens for the WLAN statue, scans for available Wi-Fi networks, and displays the connected Wi-Fi network.

  3. Touch a Wi-Fi network in the list of available Wi-Fi networks to connect to the Wi-Fi network. If the Wi-Fi network is encrypted, a dialog box will be displayed asking you to enter the password.

  4. Touch About in the upper right corner of the home page. The obtained IP address, country code, and supported WLAN features are displayed.

Constraints

This sample can only be run on standard-system devices.