This function is called each time there is new data from autogen.
data generated by autogen.
user data passed to the callback.
This function is called each time there is new data from autogen.