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.

CC2650: CC2650: Device name configuration

Part Number: CC2650

Hello,

I am working with CC2650, Simple Link BLE stack version 4.2.

Background information: In my project, I am using a BLE sensor node that sends data to the mobile application.

Need: The mobile application will send a 'name'(device name) to the sensor node. The sensor node will then advertise using the device name that it has received from the mobile application.

Question: Is it possible to change the device name of the BLE sensor node after receiving it from the mobile application? If yes, how?

Thanks and regards,

Shipra.

  • Hi Shipra,
    Yes, but the implementation depends on where you are storing the device name, i.e. Device Information Service (DIS), Advertisement Data or Scan Response Data.
  • Hello Joakim,

    Thank you for your response.

    In my knowledge, the device name can't be stored in DIS as DIS contains only Firmware, s/w, h/w versions etc. Right?
    However, there is a profile called "Re-transmitting ATT response" in GATT that contains information about the device name.

    I want to store the device name in BLE stack in such a way that it advertises itself to other scanning devices using that name. This name will be provided to the BLE sensor node from the mobile application.
    Hence, storing it in Advertisement Data would be suitable, right? Or will it have to be configured in Retransmitting ATT Responses?

    Can you please tell me the steps I should follow for the same?

    Hope you got my question.
    Thanks:)

    PS: the link I am referring to is: dev.ti.com/.../node
    You can refer to GATT section in the link.
  • Hello Shipra,
    "Re-transmitting ATT response" is not a profile and is not related to device name.

    The only way to advertise device name without being in a connection is to place it in advertisement data or scan response data (active scanners can receive this). You can change the advertisement payload at run time, but there can be scanner implementations that will not scan again from the same device address.
  • Just a small follow up. For connected mode you can set the GAP GATT service characteristic "Device Name". from the GATT server and read it from the GATT client. Refer to:
    GGS_SetParameter(GGS_DEVICE_NAME_ATT, GAP_DEVICE_NAME_LEN, (void *) attDeviceName);
  • Hi Erik,

    "You can change the advertisement payload at run time, but there can be scanner implementations that will not scan again from the same device address."
    Can you please explain this line a bit more? maybe with an example? I could use it for my project.

    Thanks & regards,
    Shipra.
  • Hello Shipra,
    Have you searched the forum?
    e2e.ti.com/.../503480