How to send n number of packets continuosly everytime from bluetooth peripheral to central

I am reading the sensor values and collecting to the array and Iam sending that data to bluetooth.

I tried different ways to send constant number of packets everytime but I cant .

I am receiving the data to nrf connect mobile app, In log I am seeing the data. 

please help on this.

Related