forked from sabas1080/PN7150
-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
54d1faf
commit 1df0e56
Showing
1 changed file
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -40,10 +40,10 @@ void setup() { | |
message.addUriRecord("https://www.electroniccats.com"); // https://www. prefix explicitly | ||
message.addUriRecord("tel:1234567890"); // The library can handle all the prefixes listed at https://github.com/ElectronicCats/ElectronicCats-PN7150/blob/master/API.md#uri-prefixes | ||
String ssid = "Bomber Cat"; // SSID of the WiFi network | ||
String authentificationType = "WPA2 PERSONAL"; // Supported authentification types at https://github.com/ElectronicCats/ElectronicCats-PN7150/blob/master/API.md#wifi-authentication-types | ||
String authenticationType = "WPA2 PERSONAL"; // Supported authentication types at https://github.com/ElectronicCats/ElectronicCats-PN7150/blob/master/API.md#wifi-authentication-types | ||
String encryptionType = "AES"; // Supported encryption types at https://github.com/ElectronicCats/ElectronicCats-PN7150/blob/master/API.md#wifi-encryption-types | ||
String password = "Password"; // Password of the WiFi network | ||
message.addWiFiRecord(ssid, authentificationType, encryptionType, password); | ||
message.addWiFiRecord(ssid, authenticationType, encryptionType, password); | ||
message.addUriRecord("mailto:[email protected]"); | ||
message.addMimeMediaRecord("text/plain", "Hello world!", 12); // Media-type as defined in RFC 2046 | ||
nfc.setSendMsgCallback(messageSentCallback); | ||
|