esp_qrcode_generate() function
Encodes the given string into a QR Code and calls the display function @attention 1. Can successfully encode a UTF-8 string of up to 2953 bytes or an alphanumeric string of up to 4296 characters or any digit string of up to 7089 characters
Arguments
cfg
Configuration used for QR Code encoding.
text
String to encode into a QR Code.
Return value
- ESP_OK: succeed - ESP_FAIL: Failed to encode string into a QR Code - ESP_ERR_NO_MEM: Failed to allocate buffer for given max_qrcode_version