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

how to Soft reset nRF51822 using Softdevice?? & connection setup latency.

main.cHi , I'm using nRF51822 and S110 stack and sd_6.0.0. having an ble app UART example. Facing a strange problem that when (from nrf Uart App)connecting and disconnecting back to back multiple times ,sometimes it takes too much time to connect (15 seconds ) and sometimes it keeps on saying "Connecting. ..." for 5 10 minutes and then disconnects.

ADV timeout is 10 seconds. Can anyone plus suggest me what's wrong??? I also need to know how to do Soft reset the board using Softdevice. ???

Parents
    1. for your first question, you need to give more information on what changes you made to the example provided in the SDK. What is it connecting to? what are the intervals used? if possible provide the code.

    2. nrf_soc.h

    /**@brief System Reset.

    • @note Corresponds to NVIC_SystemReset in CMSIS.
    • @retval ::NRF_ERROR_SOC_NVIC_SHOULD_NOT_RETURN */ SVCALL(SD_NVIC_SYSTEMRESET, uint32_t, sd_nvic_SystemReset(void));

    UPDATE:

    Tried to explain little more here

Reply
    1. for your first question, you need to give more information on what changes you made to the example provided in the SDK. What is it connecting to? what are the intervals used? if possible provide the code.

    2. nrf_soc.h

    /**@brief System Reset.

    • @note Corresponds to NVIC_SystemReset in CMSIS.
    • @retval ::NRF_ERROR_SOC_NVIC_SHOULD_NOT_RETURN */ SVCALL(SD_NVIC_SYSTEMRESET, uint32_t, sd_nvic_SystemReset(void));

    UPDATE:

    Tried to explain little more here

Children
Related