Skip to content

Instantly share code, notes, and snippets.

View Brunsben's full-sized avatar

Benjamin Bruns Brunsben

  • Germany/Lower Sachsony/Wietmarschen
  • X @brunsben
View GitHub Profile
@tmohrbach
tmohrbach / ble-covid19-filter.sql
Last active July 16, 2020 04:27
SQL Filter for Service UUID Exposure Notification
SELECT
datetime(locations.timestamp, 'unixepoch', 'localtime') AS 'Timestamp',
devices.service_data AS 'R. Prox. Identifier',
locations.rssi AS 'RSSI',
locations.latitude AS 'Latitude',
locations.longitude AS 'Longitude'
FROM
devices
INNER JOIN locations ON devices.id = locations.device_id
WHERE