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.

CC2650: CC2650 Reset

Part Number: CC2650


Hi,

I am using CC2650 Launchpad, and trying to reset the device if it is connected to another device for more than 15 seconds.

I have tried HCI_EXT_ResetSystemCmd(HCI_EXT_RESET_SYSTEM_HARD) and  HAL_SYSTEM_RESET(). But after both of these commands the device is not advertising.

I am using ble_cc26xx_2_01_01_44627 and multirole project from the github.

Please inform me how i can start advertising again after reset from above two commands.

Thanks 

Gourang

  • Hello Gourang,
    Can you tell me how you implemented this?
    Can you try to only use HAL_SYSTEM_RESET();?
    Can you not instead simply terminate the connection after 15 seconds instead of using a full system reset?
  • Thanks for the reply Eirik,
    I have a clock setup for 15 second, the clock starts in GAP_LINK_ESTABLISHED_EVENT when a connection is established (Util_startClock). The clock stops in GAP_LINK_TERMINATED_EVENT when connection is terminated(Util_stopClock). If the connection is not terminated after 15 seconds, an event is called; In this event I call for GAPRole_TerminateConnection().
    The connection was terminating, but gets connected to the same device again after a second, even when that device is not trying to connect.
    so i tried HAL_SYSTEM_RESET() as well as HCI_EXT_ResetSystemCmd() separately.
    I am printing reset using UART_write() function when the control goes to that event location. so i know reset is happening.
    After the reset the device does not advertise.
    Please advice me on how to turn on advertising after a software reset.

    Thanks
    Gourang