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.

CC2564MODA: SPPLE demo: UUID questions

Part Number: CC2564MODA
Other Parts Discussed in Thread: CC256XM4BTBLESW, , CC2564

Hi,

I have a few questions from my customer about SPPLE UUID.
Customer is using Tiva 129x + CC2564MODA. SW is CC256XM4BTBLESW 1.2 R2.

Q1) When SPPLE is connected with smartphone application(i.e. LightBlue), the device UUID is visible from the app.
The image from our Wiki:


Customer says the UUID varies if different smartphone is used even the *same* application is used on the smartphone.
How the UUID is defined in SPPLE demo?
Is it possible to use the same UUID always?

Q2) Customer is developing their own smartphone application to connect with CC2564.
Customer wants to get advertise data (including service UUID) when the smartphone scans devices.
Where should they modify in the SPPLE demo to send these advertise data?

Thanks and regards,
Koichiro Tashiro

  • Sorry for the delay, but with the US holidays this week, please look for one of our technical experts to respond next week.

    Thanks,

    Travis

  • Hi,

    This item is left untouched for three weeks.
    Please respond.

    Answer to Q1 is not needed anymore.
    Please answer to Q2 only.

    Thanks and regards,
    Koichiro Tashiro

  • Hi Tashiro,

    Apologies for the very delayed response.

    For adding data to the BLE advertisements, I suggest you take a look at the AdvertizeIbeacon() function of iBeaconDemo.c of the iBeaconDemo in the CC2564 SDK. In that function, it demonstrates how to write a UUID to the advertisement data using GAP_LE_Set_Advertising_Data(). 

    If you run the iBeaconDemo, you can see with your BLE advertisement scanner app that the UUID specified in that function is set correctly.

    Now, in order to apply this to the SPPLE demo, you will need to do something similar in its advertisement function, which is AdvertiseLE() of SPPLEDemo.c . However, with BLE there is no defined SPP profile or service. Thus, the app that you use to scan for advertisements will not be able to natively display the UUID. This is since you need to make your own custom BLE service that replicates the function of the BT classic SPP profile, which is what the SPPLE demo does. 

    Let me know if you need more clarification or have further questions on using the SPPLE demo.

    Regards,

    Michael