如何制作二维码分享WiFi密码

相关文章:

https://zh.wikihow.com/%E5%88%B6%E4%BD%9C%E4%BA%8C%E7%BB%B4%E7%A0%81%E5%88%86%E4%BA%ABWiFi%E5%AF%86%E7%A0%81

https://www.sohu.com/a/219944402_100048759

https://github.com/zxing/zxing/wiki/Barcode-Contents#wi-fi-network-config-android-ios-11

使用的网页:

https://qifi.org/

https://www.qrstuff.com/

http://www.zxing.appspot.com/generator

https://www.liantu.com/

说明:

  • 在iPhone上,用户只需打开相机应用程序,并将其对准二维码即可。将会出现一个“Wi-Fi二维码”的通知。如果用户点击它,就可以选择加入WiFi网络。他们所要做的就是点击加入连接
  • 部分安卓手机也可以使用“相机”应用扫描二维码。但部分安卓用户需要下载二维码扫描应用程序才能扫描二维码。这些应用程序可以从Google Play商店获得。

Wi-Fi Network config (Android, iOS 11+)

使用类似“ MECARD”的语法来指定wi-fi配置。提示用户后,扫描此类代码将相应地配置设备的Wi-Fi。例:

WIFI:T:WPA;S:mynetwork;P:mypass;;
Parameter Example Description
T WPA Authentication type; can be WEP or WPA or WPA2-EAP, or nopass for no password. Or, omit for no password.
S mynetwork Network SSID. Required. Enclose in double quotes if it is an ASCII name, but could be interpreted as hex (i.e. "ABCD")
P mypass Password, ignored if T is nopass (in which case it may be omitted). Enclose in double quotes if it is an ASCII name, but could be interpreted as hex (i.e. "ABCD")
H true Optional. True if the network SSID is hidden. Note this was mistakenly also used to specify phase 2 method in releases up to 4.7.8 / Barcode Scanner 3.4.0. If not a boolean, it will be interpreted as phase 2 method (see below) for backwards-compatibility
E TTLS (WPA2-EAP only) EAP method, like TTLS or PWD
A anon (WPA2-EAP only) Anonymous identity
I myidentity (WPA2-EAP only) Identity
PH2 MSCHAPV2 (WPA2-EAP only) Phase 2 method, like MSCHAPV2

Order of fields does not matter. Special characters \;," and : should be escaped with a backslash (\) as in MECARD encoding. For example, if an SSID was literally "foo;bar\baz" (with double quotes part of the SSID name itself) then it would be encoded like: WIFI:S:\"foo\;bar\\baz\";;

格式:WIFI:S:<SSID>;T:<WPA|WEP|>;P:<password>;;

例如:

wifi信号SSID:AAA,

加密方式:WPA/WPA2

密码:12345678

结果:WIFI:S:AAA;T:WPA;P:12345678;;

猜你喜欢

转载自blog.csdn.net/yyws2039725/article/details/113780543
今日推荐