i use the sdk15.2.0, the chip is nrf52832,my device have both BLE peripheral,and BLE center in my application, I use center to connect with peripheral, i directly use the app_uar example for center and peripheral. when they finish the data exchange. i have two following question:
1. In the center side. Can i use sd_ble_gap_disconnect function to disconnect the connect between center and peripheral in the nus event of receiving char?
2. In the peripheral side. can i use the stop advertise function directly in the event of disconnect gap?
Thank you!