-
Notifications
You must be signed in to change notification settings - Fork 155
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PAA certificate and QR code reading in factory mode (CON-1385) #1126
Comments
|
I get discriminator, passcode, vid, pid, and then call the interface to print the QR code. An error is reported code: void PrintOnboardingCodesWithFactoryDataProvider(ESP32FactoryDataProvider & provider)
} The manualPairingCode printed correctly, but the QR code reported an error. I don't know where the problem lies |
Preparing to start certification, I encountered a few issues:
2.If the factory mode is used to write chip information, can the QR code be read?
For example:
PrintOnboardingCodes(chip::RendezvousInformationFlag::kNone);
char payloadBuffer[chip::QRCodeBasicSetupPayloadGenerator::kMaxQRCodeBase38RepresentationLength + 1];
chip::MutableCharSpan qrCode(payloadBuffer);
GetQRCode(qrCode,chip::RendezvousInformationFlag::kOnNetwork);
strcpy(device_info.qrcode,payloadBuffer);
USER_LOGI(TAG,"QRCode: %s",device_info.qrcode);
The text was updated successfully, but these errors were encountered: