Skip to content

Instantly share code, notes, and snippets.

View tmohrbach's full-sized avatar

Torsten Mohrbach tmohrbach

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
package openknowledge.de