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.

how to program cc2541

Other Parts Discussed in Thread: CC2541

Hi,

I am experimenting with BLE for th e purpose of connecting a hardware device to an android application.

I am using the keyfob from TI's cc2541 and learning to program using workbench.I have a took sample BLE peripheral program.

I cannot figure out How to transfer the stream of data from keyfob to any application.I am beginner in the BLE development. Please anyone guide me through this.

  • Hi,

    this documentation provides a good starting point:

    http://processors.wiki.ti.com/index.php/LPRF_BLE_Simple_Application

    http://www.ti.com/lit/ug/swru271f/swru271f.pdf

    The last one is a BLE Software Developer’s Guide which includes a lot of information that I think can get you started.

    Good luck!

    Regards,
    Johan 

  • Hi Johan,

    Thanks for your reply.

    I want to send the stream of data through BLE using cc2541.

    Suggest me the function which used to transfer the stream of  data in simple BLE peripheral sample.

    Regards,

    Mari

  • Hi,

    I am working on CC2541 device, which is connected to the some sensor.

    Initially it  stores the sensor data and then transfer through cc2541 to the Android /PC.I want to transfer the data continuously as SPP profile.But In BLE there is no such profile so i have chosen the GATT_NOTIFICATION to read the data from cc2541.

    I am in situation how to start programming using GATT_NOTIFICATION?

    since I am being in beginner in BLE programming I Couldn't understand the concepts data transferring through BLE.

    Anyone guide me in right direction.

    Regards

    Mari.

  • Hello.  I recommend reading through and following the BTool examples in the DK User's Guide: http://www.ti.com/lit/ug/swru270c/swru270c.pdf

    This will introduce you to the GATT layer and profiles, which is how data is transferred in BLE.

    Note that the default simpleGATTprofile which is explained in the user's guide includes a characteristic (simple profile characteristic 4) which is configured for notifications.