Hi,
I have a problem interfacing a CC2511 dongle with my PC. I have programmed the CC2511 dongle with "rs232_to_usb_dongle" code from TI. I am using Visual Studio 2005 (MFC) and the CUDAL library. Here is my code (follow the example code in CUDAL documentation) :
CudalDongle *pDongle = NULL;
CUDAL_DONGLE_INFO pDongleInfo[16]; int dongleCount = CudalDongle::EnumDongles(pDongleInfo, 16); for(int n=0; n<dongleCount; n++) { pDongle = CudalDongle::CreateDongle(&pDongleInfo[0]);
if(pDongle) break;
} if(!pDongle) { DisplayData(_T("Cannot create dongle\n")); return; }
The "dongleCount" is always zero with the CC2511 dongle attached to my PC. My PC device manager can detect the dongle but "EnumDongles" cannot. I have the same problem when I programmed the CC2511 dongle with "winamp_remote" example from TI. When I connect smartRF04 board to my PC, the "dongleCount" becomes one. Looks like the CudalDongle::EnumDongles can detect the smartRF04 but not cc2511 dongle.
Any idea or similar problem?
Thanks a lot.