Adventure Labs Logo
Scout Docs

Connectivity

Table for recording network connectivity metrics and location data from devices

Column NameData TypeConstraints
idbigintNOT NULL
session_idbigint
inserted_attimestamp with time zoneDEFAULT now() NOT NULL
timestamp_starttimestamp with time zoneNOT NULL
signaldouble precisionNOT NULL
noisedouble precisionNOT NULL
altitudedouble precisionNOT NULL
headingdouble precisionNOT NULL
locationextensions.geographyNOT NULL
h14_indextextNOT NULL
h13_indextextNOT NULL
h12_indextextNOT NULL
h11_indextextNOT NULL
battery_percentagereal
device_idbigint
frequency_hzreal
bandwidth_hzreal
associated_stationtext
modetext

Security Policies (RLS)

This table has Row Level Security (RLS) enabled with the following policies:

  • Read Access: Device API keys (session-based or direct) OR radio mesh gateways in same herd OR users with view role in same herd
  • Create/Update/Delete: Device API keys (session-based or direct) OR users with edit role in same herd

On this page