二維碼
http://www.baike.com/wiki/%E4%BA%8C%E7%BB%B4%E7%A0%81
二維條碼/二維碼(2-dimensional bar code)是用某種特定的幾何圖形按一定規律在平面(二維方向上)分布的黑白相間的圖形記錄數據符號信息的;在代碼編制上巧妙地利用構成計算機內部邏輯基礎的“0”、“1”比特流的概念,使用若干個與二進制相對應的幾何形體來表示文字數值信息,通過圖象輸入設備或光電掃描設備自動識讀以實現信息自動處理:它具有條碼技術的一些共性:每種碼制有其特定的字符集;每個字符占有一定的寬度;具有一定的校驗功能等。同時還具有對不同行的信息自動識別功能、及處理圖形旋轉變化點。
http://pro.wwei.cn/open/qrcode_format.html
二維碼(Quick Response Code),又稱二維條碼,在現代商業活動中,可實現的應用十分廣泛,如:產品防偽/溯源、廣告推送、網站鏈接、數據下載、商品交易、定位/導航、電子商務應用、車輛管理、信息傳遞等,隨着國內物聯網產業的蓬勃發展,更多的二維碼技術應用解決方案被開發,二維碼成為移動互聯網入口真正成為現實。
通用格式
http://pro.wwei.cn/open/qrcode_format.html
類型
說明 文本 text 直接生成,無需處理 網址 url 直接生成,無需處理(如果前綴加上 url:
在微信中不能自動跳轉)名片 mecard MECARD:N:小明;TEL:13723456789;EMAIL:payonesmile@qq.com;ADR:廣州天河區;ORG:xx有限公司;URL:http://pro.wwei.cn/;NOTE:QQ:13783821; 電話 tel tel:13723456789 郵箱 mail mailto:payonesmile@qq.com 短信 sms smsto:13723456789:短信內容 無線網絡 WIFI WIFI:S:CMCC;P:123456;T:WPA/WPA2;
無線連接格式
http://blog.csdn.net/jeffasd/article/details/50129621
獲取Wifi配置(Android)
{WIFI:T:WPA;S:mynetwork;P:mypass;;}
相關參數說明:
參數 例子 說明
T WPA 認證類型: WEP 或WPA, ‘nopass’ 代表無需認證
S network 無線網絡的 SSID. (例如 “ABCD”)
P mypass 無線網絡的密碼,如果無需認證則忽略此項 (例如 “pass”)
H true 可選。針對隱藏了SSID的網絡
二維碼WIFI自動連接生成格式
WIFI:T:WPA;S:MM;P:123456;H:true; (H:為隱藏SSID,可選)
WIFI:S:MM;T:nopass;P:123456;
谷歌庫實現wifi格式,以及其他格式:
https://github.com/zxing/zxing/wiki/Barcode-Contents
Wifi Network config (Android)
We propose a syntax like "MECARD" for specifying wi-fi configuration. Scanning such a code would, after prompting the user, configure the device's wi-fi accordingly. The only client that implements this at the moment is for Android. Example:
WIFI:T:WPA;S:mynetwork;P:mypass;;
Parameter | Example | Description |
---|---|---|
T | WPA | Authentication type; can be WEP or WPA, 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. |
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\";;
網站生成
http://club2011.auto.163.com/post/100010081560.html
庫生成
zxing
https://github.com/zxing/zxing
掃描軟件
http://www.zhihu.com/question/20960810
android上Barcode Scanner是可以掃了直接連接的。