ESP8266, Arduino IDE, 32-bit integer to const char*

Hi,

Background:

I am working with ESP8266 using Arduino IDE. I have written a library ESPMetRED for ESP8266 which enables communication between Raspberry Pi and ESP8266 using MQTT protocol.

Various information is required such as WiFi SSID, Password etc. by the sketch for proper functioning. Have a look on this example. As you can see all the variables are const char* because all the libraries on which my library depends required these parameters as const char*.

My problem:
As you can see in example sketch, MQTT_PUBLISH_TOPIC, MQTT_SUBSCRIBE_TOPIC and CLIENT_ID are defined. But now I want to use ESP8266 chip ID to define all these three parameters automatically. ESP8266 chip ID is a 32-bit integer value which We can get by ESP.getChipId() as stated here. When I try to set these required parameter, I get the following error.

error: invalid conversion from 'uint32_t {aka unsigned int}' to 'const char*' [-fpermissive]

Is there any way to convert this uint32_t to const char*?

Is there any way to convert this uint32_t to const char*?

http://www.cplusplus.com/reference/cstdlib/itoa/?kw=itoa