On Android, it is necessary to set the SSID of the wireless hotspot to be hidden. After communicating with the system, it is found that there are related configuration items in the configuration file of the wireless hotspot, which can facilitate the realization of this function.
Add the following configuration item to the /data/misc/wifi/hostpad.confg
file and ignore_broadcast_ssid=1
restart the wifi hotspot module to hide the SSID easily. If you want to hide it, set the value to 0.
expand:
When connecting to the hotspot according to the wifi name and password, if the hotspot SSID is hidden, it may not be able to connect at this time. You need to add the configuration of scanning the connection to hide the SSID in the connection configuration file. The configuration code is as follows: You scan_ssid=1
can scan and connect the SSID . function.
Reprint address: http://www.wxtlife.com/2017/02/16/android-system-wifi-hide-ssid/