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.

LAUNCHXL-CC26X2R1: LAUNCHXL-CC26X2R1: Not able to communication with simple central (modified ) with simple peripheral(modified)

Part Number: LAUNCHXL-CC26X2R1

Hello Jan,

can you suggest is their any API in peripheral code so we can get data into that buffer whichever send by central device after pairing is initiate.

in my case pairing is successfully completed. but whenever i am pressing the button on central device it will transmit the data.

but in peripheral device i am not able to get data.

please provide me in which function data is received ; into the peripheral code.

Regards,

Shrikant Koli

  • Hi,

    Thank you for reaching out.

    Looks like you've got help from an other engineer before. May I ask if you are using the Simple Serial Socket (Server & Client) examples as suggested before? Do you get these to work when not-modified? 

    Bets regards,

  • Hello,

    is it work with simple central code?

    Regards,

    Shrikant

  • Hi Shrikant,

    The Simple Serial Socket Client project is actually based on the simple_central example available in your SDK.

    The Simple Serial Socket Server project is actually based on the simple_peripheral example available in your SDK.

    Non-modified simple_central example used with the Simple Serial Socket Server project will not achieve what you want. Especially because the code turning on notification is not implemented in the simple_central example.

    In order to achieve what you want, I would recommend you chose either of these options:

    • option 1: Start your project from the Simple Serial Socket Client and the Simple Serial Socket Server projects
    • option 2: Port the code you need from the Simple Serial Socket Client project to your simple_central example (and port the code you need from the Simple Serial Socket Server project to your simple_peripheral example)

    I hope this will help,

  • Hello Team,

    option 1 is not possible for me due the time limitation.

    if we talk about option 2 this is also not possible because of time and simple central code is freeze.

    i have a only one option to make change into the simple peripheral code.

    please suggest as per requirement.

    Regards,

    Shrikant K

  • Hi Shrikant,

    I am afraid your project cannot be completed without changes in the simple_central code.

    Actually, I was under the impression you wanted to leverage GATT notifications. Is it correct? Have you implemented the required code on the simple_central to turn on notifications?

    Assuming the simple_central code is frozen, do you have frozen the GATT table too? If yes, could you please provide details on it? Have you managed to implement it on the simple_peripheral side? What are the remaining issues?

    Best regards,