This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Issue changing name of TI BLE USB Dongle



Hello,

I am modifying the SimpleBLEPeripheral project to run on the USB dongle. I am having issues changing the name that appears on the iPhone app. The CBPeripheral shows as "TI BLE All".

In the SimpleBLEPeripheral project, I have changed the names of these two variables in SimpleBLEPeripheral.c:

static uint8 scanRSPData[]

and

static uint8 attDeviceName[GAP_DEVICE_NAME_LEN]

I have also set the write permission as follows (as suggested in other posts):

uint8 devNamePermission = GATT_PERMIT_READ | GATT_PERMIT_WRITE;

GGS_SetParameter(GGS_W_PERMIT_DEVICE_NAME_ATT, sizeof(uint8), &devNamePermission);

before calling:

GGS_SetParameter(GGS_DEVICE_NAME_ATT, GAP_DEVICE_NAME_LEN, attDeviceName);

I can not find anywhere in the project where the name "TI BLE All" is located.

When using IAR Workbench to Clean, Make, Build All, Download and Debug on the dongle, everything seems to work fine, and I am able to put breakpoints, and see the name I changed it to.

What could I be missing?

Thanks, 

  • Grep shows "TI BLE All" in BLE-CC254x-1.3\Projects\ble\HostTestApp\Source\hci_ext_app.c.  Curious because I wouldn't expect that file to be part of the simple peripheral project.

  • I also see the "TI BLE All" only in this file hci_ext_app.c, but like you said that file does not seem to be even compiled in the SimpleBLEPeripheral project.

    That leaves me to think that somehow I am not downloading the output into the dongle correctly using IAR.

    Typically, I do a "Clean", the a "Make", or "Rebuild All", and then a "Download and Debug"

    I have the CCDebugger connected to the dongle (with green light) and both the dongle and CC Debugger USB cable connected to the PC.

    I have also tried "Erase" the Soc using the Flash Programmer and then using IAR to download the program.

    Any ideas?

  • Ok, so I switched to a new USB Dongle I purchased, and it works fine. I can see the updated device name.

    I would like to get my older dongle working though. Could it be that it is somehow write protected and thus still showing the HostTestApp device name?

    Thanks,