Callback functions are used by the µC/HTTPMQTT-client stack when the internal task is enabled. Their purpose is to notify the upper application of certain activities occurring in the µC/HTTPMQTT-client core. Contrary to the hook functions, callbacks doesn't need information from the application; their only objective is to notify the application.
HTTPc Connection Callback Functions
...