If I try to update the Serial Number string at runtime using the API void XUA_Endpoint0_setSerialStr(char* serial_str) from _xuaendpoint0.c the corresponding string is NOT updated.
By looking at the code I found that g_serial_str is used only when creating the descriptor and not used at runtime, and the following change solves the issue
If I try to update the Serial Number string at runtime using the API
void XUA_Endpoint0_setSerialStr(char* serial_str)
from _xuaendpoint0.c the corresponding string is NOT updated.By looking at the code I found that
g_serial_str
is used only when creating the descriptor and not used at runtime, and the following change solves the issueI think the same issue applies to other USB strings that can be populated at runtime via the
XUA_Endpoint0_set*Str
functions.