User Activity

Hi, I am using C++ for my project and I would like to have access to the elements of my class inside a callback function from HAL drivers. Until now, no success, can anybody help me how I can do this? Thank you.
I am trying to send 1023 bytes every 1 ms using isochronous channel, but the maximum I can achieve is 512 bytes. If I try to increase to 1023 I see in wireshark only 199 bytes, but until 512 bytes it works fine. Does anyone know how to configure to g...