This document proposes a framework for Bluetooth Low Energy (BLE) beacons that can accumulate and broadcast data based on their state. It discusses implementing state transitions in the beacons through scanning, storing the state internally, and updating it with test-and-set operations. It then explores two use cases for this framework: detecting congestion levels around beacons and implementing a stamp rally application where beacons provide clues based on their state. The document evaluates different methods for making BLE beacons stateful and realizes the proposed framework on IoT devices.