Chat GPT revision, small, after 11:00 a.m. today
This commit is contained in:
parent
e555986b87
commit
58c62ed07d
1 changed files with 7 additions and 3 deletions
|
|
@ -6,13 +6,13 @@
|
|||
--
|
||||
-- SQLite schema for Exercise 26 BLE Discovery field-test logs.
|
||||
--
|
||||
-- This schema targets the current 18-column Exercise 26 log format only.
|
||||
-- This schema targets the current 19-column Exercise 26 log format only.
|
||||
--
|
||||
-- Current Exercise 26 log format:
|
||||
--
|
||||
-- human_time,rx_epoch_ms,receiver,rx_lat,rx_lon,gps_fix_age_ms,
|
||||
-- clock_valid,gps_valid,discipline_age_ms,last_discipline_epoch_ms,
|
||||
-- heard,rssi,avg_rssi,age_s,count,seq,tx_payload_epoch_ms,payload
|
||||
-- heard,rssi,avg_rssi,age_s,count,seq,tx_payload_epoch_ms,payload,vbat_mv
|
||||
--
|
||||
-- Current payload format:
|
||||
--
|
||||
|
|
@ -144,7 +144,7 @@ CREATE TABLE IF NOT EXISTS log_manifest_kv (
|
|||
-- ---------------------------------------------------------------------------
|
||||
-- ble_observation_raw
|
||||
--
|
||||
-- Faithful row-level import from the current 18-column CSV log.
|
||||
-- Faithful row-level import from the current 19-column CSV log.
|
||||
-- ---------------------------------------------------------------------------
|
||||
|
||||
CREATE TABLE IF NOT EXISTS ble_observation_raw (
|
||||
|
|
@ -175,6 +175,7 @@ CREATE TABLE IF NOT EXISTS ble_observation_raw (
|
|||
seq INTEGER,
|
||||
tx_payload_epoch_ms INTEGER,
|
||||
payload TEXT,
|
||||
vbat_mv INTEGER,
|
||||
|
||||
UNIQUE(log_file_id, source_line_no)
|
||||
);
|
||||
|
|
@ -230,6 +231,8 @@ CREATE TABLE IF NOT EXISTS ble_observation (
|
|||
discipline_age_ms INTEGER,
|
||||
last_discipline_epoch_ms INTEGER,
|
||||
|
||||
vbat_mv INTEGER,
|
||||
|
||||
rssi INTEGER,
|
||||
avg_rssi INTEGER,
|
||||
age_s INTEGER,
|
||||
|
|
@ -517,6 +520,7 @@ SELECT
|
|||
gps_valid,
|
||||
discipline_age_ms,
|
||||
last_discipline_epoch_ms,
|
||||
vbat_mv,
|
||||
rssi,
|
||||
avg_rssi,
|
||||
payload_seq,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue