Created QR Code Image
This commit is contained in:
parent
17d8b94cfb
commit
a39b1ede0b
Binary file not shown.
|
After Width: | Height: | Size: 128 KiB |
|
|
@ -63,7 +63,7 @@ void HAPClient::init(){
|
|||
srp.createVerifyCode(homeSpan.defaultSetupCode,verifyData.verifyCode,verifyData.salt); // create verification code from default Setup Code and random salt
|
||||
nvs_set_blob(srpNVS,"VERIFYDATA",&verifyData,sizeof(verifyData)); // update data
|
||||
nvs_commit(srpNVS); // commit to NVS
|
||||
Serial.print("Optional QR Code: ");
|
||||
Serial.print("Setup Payload for Optional QR Code: ");
|
||||
Serial.print(homeSpan.qrCode.get(atoi(homeSpan.defaultSetupCode),homeSpan.qrID,atoi(homeSpan.category)));
|
||||
Serial.print("\n\n");
|
||||
}
|
||||
|
|
|
|||
|
|
@ -540,7 +540,7 @@ void Span::processSerialCommand(const char *c){
|
|||
nvs_commit(HAPClient::srpNVS); // commit to NVS
|
||||
Serial.print("New Code Saved!\n");
|
||||
|
||||
Serial.print("Optional QR Code: ");
|
||||
Serial.print("Setup Payload for Optional QR Code: ");
|
||||
Serial.print(qrCode.get(atoi(setupCode),qrID,atoi(category)));
|
||||
Serial.print("\n\n");
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue