Skip to content

Commit 767a2ca

Browse files
committed
vcard example
1 parent 202ca0b commit 767a2ca

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

README.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,27 @@ For example, if my ssid was "wifiball" and not broadcast, and the password was
173173
Message: WIFI:S:wifiball;P:pa$$\:word;T:WPA;H:true;
174174
```
175175

176+
## Example: vCard
177+
Phones can scan [vCard] qrcodes to automatically add a contact to their address
178+
book. Starting with qrcode v2, multi-line qrcodes can be created, allowing you
179+
to create vCards!
180+
181+
```
182+
Filetype: QRCode
183+
Version: 1
184+
Message: BEGIN:VCARD
185+
Message: VERSION:3.0
186+
Message: N:Smith;John
187+
Message: FN:John Smith
188+
Message: ADR;TYPE=dom,home,postal,parcel:;;123 Example St;Exampleton;CA;90210;
189+
Message: BDAY:1970-01-01
190+
Message: TEL;TYPE=pref,voice,msg,cell:+18005551212
191+
Message: END:VCARD
192+
```
193+
194+
Check the [vCard] specification to learn about all of the fields and their
195+
values.
196+
176197
## Building
177198
First, clone the [flipperzero-firmware] repo and then clone this repo in the
178199
`applications_user` directory:
@@ -206,3 +227,4 @@ compiler errors and allow the explicit selection of the qrcode mode.
206227
[QRCode]: https://github.com/ricmoo/QRCode
207228
[qFlipper]: https://docs.flipperzero.one/qflipper
208229
[Releases]: https://github.com/bmatcuk/flipperzero-qrcode/releases/latest
230+
[vCard]: https://www.evenx.com/vcard-3-0-format-specification

0 commit comments

Comments
 (0)