I'm not sure how frequently the codes are refreshed, but you could just hide a bluetooth receiver near the police station to get the daily codes for most officers, transmit that to your phone and have an app that tells you if a police officer is nearby.
A bit of background. Every app that is intended to be actually used by a people essentially must use the framework included in the OS. Otherwise it would run into various roadblocks like not being able to properly run in the background or not having the required BLE access. So that leaves you with using the cross platform exposure notification frameworks on both iOS and Android. The way those work well documented https://covid19.apple.com/contacttracing. The "Temporary Expose Key" (TEK) changes exactly every 10 minutes. How often the BLE MAC changes depends on the OS, but that's around 10-20 minutes. As you have to change both "fingerprints" at the same time to prevent tracking across individual changes (See also [1]), in practice the sent TEK is changed at the BLE MAC change interval. So that's where to 10-20 minutes come from.