From AGILE IoT Wiki
How can I prevent the SensorTag from switching off when it is not connected to the PI for a period of time?
- You have to modify the SensorTag firmware to prevent it from switch off advertisement. It is also working with the basic firmware, but then you need access to the physical button. We also have a precompiled firmware for that (not based on the newest firmware from TI). Check it out!