How to stop for loop from bluetooth signal

Any way have to stop for() loop when receive a bluetooth signal?

ruwan77:
Any way have to stop for() loop when receive a bluetooth signal?

Do you know of any way that we could help when we have not seen your code or had a full description of the problem ?