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

The device stops responding after some time

Hi sir,

I am using ble_app_uart to send the enegry value to the mobile. for energy calculation i am using internal rtc oscillator but after 179 secs the device stops working.

sdk :- 11.0

softdevice : s130
device : nrf51_pca10028

Thankyou

Parents
  • Hello, 

    179 secs the device stops working.

    Could you elaborate on what you mean when you say stops working? Is the device resetting? What unexpected behavior are you seeing?
    Does this happen when you are in a connection also, or just when advertising?
    Please be advised that the default behavior of the ble_app_uart example is to advertise for 180 seconds before entering sleep mode. Could this be what you are seeing?
    This is defined by the ADV_DURATION define at the beginning of main.c, and can be seen specifically in the on_adv_evt event handler function. 

    Looking forward to resolving this issue together!

    Best regards,
    Karl

Reply
  • Hello, 

    179 secs the device stops working.

    Could you elaborate on what you mean when you say stops working? Is the device resetting? What unexpected behavior are you seeing?
    Does this happen when you are in a connection also, or just when advertising?
    Please be advised that the default behavior of the ble_app_uart example is to advertise for 180 seconds before entering sleep mode. Could this be what you are seeing?
    This is defined by the ADV_DURATION define at the beginning of main.c, and can be seen specifically in the on_adv_evt event handler function. 

    Looking forward to resolving this issue together!

    Best regards,
    Karl

Children
Related