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 add controllable write in Peripheral

Hi guys,

     I think this is something most people try to do. I am trying write a msg to a dongle after I press the S1 button or Joy Center button. When I made an if sentence after  GAPROLE_CONNECTED_ADV was true, it said HAL_KEY_SW_6 and also HAL_KEY_CENTER did not exist but in the include section, it had the hal_key.h as required. Can someone explain what it is that is missing? Also, do you guys think its necessary to make a another whole task for the period of time and action for either S1 or Joy center to be pushed after connection and adv made?

Thank you in advanced, by the way I have gone through this post and have followed the smartrf default version of the keys and S1 in the hal files: http://e2e.ti.com/support/low_power_rf/f/538/t/201064.aspx

Akash