OH6.1 ap热点功能调试总结
·
1、开启热点缺少hostapd_interface_service
修改如下:uhdf/device_info.hcs中添加服务

2、设置国家码失败导致开启热点失败
foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_ap/ap_service.cpp
ErrCode ApService::EnableHotspot()中注释国家码相关

3、开启热点后,关闭再开启失败
因为hostapd_interface_service服务被unload,导致getapinstance hostapdinterfacegetinstance failed
注释unload相关

4、手机连接ap热点,获取不到ip地址


更多推荐
所有评论(0)