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.

BLE STACK and Characteristic values



I am using simple_peripheral project in cc1350LP and I want to send Indication "I think so" where the peripheral send "commands" over BLE to a central device:

in similar way to:

https://e2e.ti.com/support/wireless_connectivity/bluetooth_low_energy/f/538/t/517467

I have more question... how is possible generate the output on RED? no the same data obviously because that is an example from the above link.

Do a custom profile generate it automatically? 

The direction on Green what's that supposed to mean? Master(central)-Slave(peripheral)?, Master-Server?, Client-server?

I tried to make a custom profile using Bluetooth Developer Studio and TI bds plugging to generate the code for CC1350LP following the SimpleLink Academy tutorial but where is supposed to be the Characteristics Values in code? I dont know it :(

I want to use the CC1350LP because I will need to use Sub 1Ghz after I done with BLE, I already checked the SWRU393 and TI wiki BLE and I couldn't find an answers to my question and I feel a little frustrated because I spend around 3 week in the same questions and I'm still stuck.

Just I need tips that I should to follow and the confusion about the Characteristics value role: https://e2e.ti.com/support/wireless_connectivity/bluetooth_low_energy/f/538/t/556958 

Thanks.

  • Hi Ale,

    Can you clarify what you mean by "generating the output in red"? Are you talking about the packet sniffer parsing the BLE data or do you mean generating the packet structure?

    The custom profile will not send the information automatically but it does create the attribute data. Since you've already reviewed the TI BLE Software Developer's Guide and SimpleLink Academy, you can learn more about attribute data and structure in the BLE Core Spec v4.2.

    Direction refers to which direction the information is being send (Master->Slave)

    If you are using the simple_peripheral project, characteristic values are defined and used in simple_gatt_profile.c
  • Hi Rachel, Thanks a lot for answering.

    Yes, I want to generate the packet structure and send my own data. I am able to get data from the ADC and I want to sent It to another BLE(central) using a similar structure once the connection is established and not just in advertising mode.

    If the custom profile wont send the information automatically do I have to make a custom task? Or just modifying the currents in the simple_peripheral will work? I want to learn more about BLE but how can I apply the BLE Core Spec 4.2 in code for CCS?

    Thanks again I'll check simple_gatt_profile.c.

    Sorry for the fool questions but its because I'm beginner for TI CCS and modules. I have some experience programing PIC microcontrollers in ASM, DSPiC in CCS for PiC, ATmega and Arduino and I'm a little lost in this environment.

    Regards.

  • I found the characteristics values now I am planning to use Characteristic 4 because are notify(could it be change to indications?)

    Now I want to send for example:

    a specific Opcode

    a specific AttHandle

    a specific AttValue

    How can I change it? to sent my own 

    I cant find the variables to set it

    Is it related to SimpleProfile_SetParameter() and GATTServApp_ProcessCharCfg()? how can it be applied to my case?