hi....
i am using nrf52382 and segger 15.2 version , i want my peripheral to send the data only if it reaches the certain limit (threshold value) on that case it should start auto connecting with central , it should start advertise and pair, after sending the data , then disconnect and want to enter the sleep mode.
how to do this ? please guide me