Files
esp-mqtt/lib/mqtt_utils/include/mqtt_utils.h
T
Bogdan Kolendovskyy 32df7e27fc feat: Add support for percent-encoding in password and it's corresponding test
Add support of percent-encoded characters when passing the username and password in URI

Closes https://github.com/espressif/esp-mqtt/issues/294
2026-04-23 16:05:24 +02:00

18 lines
351 B
C

/*
* SPDX-FileCopyrightText: 2025 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Apache-2.0
*/
#pragma once
#ifdef __cplusplus
extern "C" {
#endif // #ifdef __cplusplus
char *mqtt_create_string(const char *ptr, int len);
int esp_mqtt_decode_percent_encoded_string(char *uri);
#ifdef __cplusplus
}
#endif // #ifdef __cplusplus