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.

CCS/CC2640R2F: How to read/write gatt char values without pressing keys

Part Number: CC2640R2F

Tool/software: Code Composer Studio

hello,

In simple_central how to read/write  gatt char values of simple_ peripheral  without pressing keys  

how to connect without pressing key gatt rw ?

and how to read /write without pressing keys ?

suggest me ti what should do for read / write values without pressing keys 

thank you in advance 

  • Hello,

    1. Disable the key handler in board_key.c  /  Board_initKeys.

    2. Create a new task that contains a state machine.

    • This state machine will be in charge of "emulating" the key pressing.

    Let me put together an example that will connect to an specific peripheral (hard code) and then it will write to a characteristic every 1 second. I'll try to have it ready sometime next week.

       Best regards,

        David

  • thank you for  your reply ,

    i have disabled the key handle and created the new task but its coming as shown below values are not getting only showing the display 


    suggest me how to get gatt value without pressing keys