Every time I try to connect to Android phone (running Android 7) or nrfConnect, it connects the first time. After I restart the nrf52 DK, the host takes a while to reconnect or does not connect at all, although its previously bonded. Restarting the board helps every time. What could be the issue in my firmware?
I tried changing the below parameters -
I'm using SDK 15.2 with custom gatt & dfu services with uart peripheral.
I also tried adding
My advertising_init() -