This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

which changes are require in code when use of wakeup button ?

Respected sir, 

There is added external reset button at SRU532 module, and changes are given according to it using wakeup button at code.When wakeup button is used then some part is uncommented and want to reset only one pin using one button of nRF51422.It is done for reset time of BLE advertising after 3 min or within 1 hr,but it is not worked.How it will solve?

...

Parents
  • Thank you for response.I have define "#define WAKEUP_BUTTON_ID        BUTTON_A" and uncomment lines "err_code = bsp_buttons_enable((1 << WAKEUP_BUTTON_ID) | (1 << BOND_DELETE_ALL_BUTTON_ID));
    APP_ERROR_CHECK(err_code); " and reset button is added externally to SRU532 module at pin p0.23.When systems power on then module become on and after 3 minutes it will auto off.after that press rest button then it gives data when connected with Android App.First time of reset pressing data is given but after that it is connected with App but not gives data.Please give me solution for that.

Reply
  • Thank you for response.I have define "#define WAKEUP_BUTTON_ID        BUTTON_A" and uncomment lines "err_code = bsp_buttons_enable((1 << WAKEUP_BUTTON_ID) | (1 << BOND_DELETE_ALL_BUTTON_ID));
    APP_ERROR_CHECK(err_code); " and reset button is added externally to SRU532 module at pin p0.23.When systems power on then module become on and after 3 minutes it will auto off.after that press rest button then it gives data when connected with Android App.First time of reset pressing data is given but after that it is connected with App but not gives data.Please give me solution for that.

Children
No Data
Related