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
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
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
Hi Sir,
Problem solved. Actually the device is going to sleep mode even after it is connected to the mobile.
Thanks for your support.
Hello Saagar,
Saagar said:Problem solved.
I am happy to hear that we were able to resolve your issue!
Saagar said:Thanks for your support.
It is no problem at all, I am happy to help!
Please do not hesitate to open a new ticket on the forum if you should encounter any other issues or questions in the future.
Good luck with your development!
Best regards,
Karl