You are here: Forum Home → ANT Developers Forums → ANT General Questions → Thread
#define SW_VER_NUM "2.4"
BOOL ANT_GetDeviceUSBInfo(UCHAR ucUSBDeviceNum, UCHAR* pucProductString, UCHAR* pucSerialString);
ANT_SetUSBDescriptorString()
UCHAR aucDescString3[] = "123"; // sample Serial Number String
pclMessageObject->SetUSBDescriptorString(3, aucDescString3, sizeof(aucDescString3));
UCHAR aucDescString3[] = "123"; // sample Serial Number String
pclMessageObject->SetUSBDescriptorString(3, aucDescString3, sizeof(aucDescString3));
The error messages you are seeing indicate that this command is not supported in the USB stick you are using. What kind of USB stick are you trying to use these commands with? Is this an OEM USB2 stick or a Garmin stick? You cannot change any of the descriptor strings on the Garmin stick. If you are unsure, please post the ANT version string (you can get it by requesting the version message, for example, with ANTwareII).