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

ANT RX Timeout ?

Dear members,

How can I wake up the system after idle ?

It goes to main loop, but never wakes up if there's a signal from HRM,BSC or B.Power after search time out and idle.

Code :

  case EVENT_RX_SEARCH_TIMEOUT:
									 //Rixtronix LAB
								   //8 Sept 2021, 
								   //on search timeout, and idle, make device on if there is a signal from sensor ?
									  NRF_LOG_INFO("EVENT_RX_SEARCH_TIMEOUT...\r\n");
                    //err_code = bsp_indication_set(BSP_INDICATE_IDLE);//default
								    err_code = bsp_indication_set(BSP_INDICATE_SCANNING);
								    //nrf_pwr_mgmt_feed(); //Function for indicating activity. 
								     
                    break;

Thanks

Parents Reply
  • Hi Kenneth,

    Thanks for the reply,

    In this ant_state_indicator.c Line 133 :

    case EVENT_RX_SEARCH_TIMEOUT:
    									 //Rixtronix LAB
    								   //8 Sept 2021, 
    								   //on search timeout, and idle, make device on if there is a signal from sensor ?
    									  NRF_LOG_INFO("EVENT_RX_SEARCH_TIMEOUT...\r\n");
                        //err_code = bsp_indication_set(BSP_INDICATE_IDLE);//default
    								    err_code = bsp_indication_set(BSP_INDICATE_SCANNING);
    								    nrf_pwr_mgmt_feed(); //Function for indicating activity. 
    								     
                        break;

    Which variable is being used for increasing the timeout ?

    Thanks

Children
Related