hello, I check the standard example
nRF5_SDK_14.2.0_17b948a\examples\ble_peripheral\ble_app_uart\pca10040\s132\arm5_no_packs
device nrf52DK PCA10040 V1.1.1
ARM Compiler : V5.06 update 4 build 422
When peripheral device is not connected to the app it reboots every 180 sec
When device connected - its all right.
What parameter configures this reboots?
I want to disable this function. When BLE is off, there is no reboot.
when APP_ADV_TIMEOUT_IN_SECONDS 0,> 180 - reboot on configure
log:
test 1: ok
10:11:20.420 0.119 COM9 .UART Start!..
............ ..... .... 0a 55 41 52 54 20 53 74 61 72 74 21 0d 0a
// user message
10:12:21.368 60.948 COM9 he
............ ...... .... 68 65
10:12:21.479 0.111 COM9 llo world
............ ..... .... 6c 6c 6f 20 77 6f 72 6c 64
// manual nordic app disconnect
............ ..... .... 6f 6e 6e 65 63 74
10:53:29.892 2468.42 COM9 disconnect manual..
test 2: reset
10:56:07.545 157.653 COM9 .
............ ....... .... 0d
10:56:07.567 0.022 COM9 .UART Start!..
............ ..... .... 0a 55 41 52 54 20 53 74 61 72 74 21 0d 0a
10:59:07.809 180.242 COM9 .
............ ....... .... 0d
10:59:07.883 0.074 COM9 .UART Start!..
............ ..... .... 0a 55 41 52 54 20 53 74 61 72 74 21 0d 0a
11:02:08.075 180.192 COM9 .
............ ....... .... 0d
11:02:08.131 0.056 COM9 .UART Start!..
............ ..... .... 0a 55 41 52 54 20 53 74 61 72 74 21 0d 0a
11:05:08.349 180.218 COM9 ..UART Start!..
............ ....... .... 0d 0a 55 41 52 54 20 53 74 61 72 74 21 0d 0a
11:08:08.610 180.261 COM9 .
............ ....... .... 0d
11:08:08.641 0.031 COM9 .UART Start!..
............ ..... .... 0a 55 41 52 54 20 53 74 61 72 74 21 0d 0a
test 2
load nRF5_SDK_14.2.0_17b948a\examples\ble_peripheral\ble_app_uart\hex\ble_app_uart_pca10040_s132.hex
313023 11:27:11.581 ----- COM9 UART Start!.
313024 11:30:11.827 180.246 COM9 .
313025 11:30:11.855 0.028 COM9 UART Start!.
313026 11:33:12.091 180.236 COM9 .
313027 11:33:12.103 0.012 COM9 UART Start!.
313028 11:36:12.356 180.253 COM9 .
313029 11:36:12.391 0.035 COM9 UART Start!.
best regards Oleksii