1. Create a table
In your product’s database, create a schema and a table — sayreadings with a
temperature column. (You can also do this via the
Database API.)
2. Insert from firmware
UseinsertDatainDatabase, building the row with a lambda:
…WithResponse variant:
3. Read it back
Fetch recent rows from firmware:db.query does the
same client-side.
Update and delete are available too:
updateDatabaseData(dataId, …) and
deleteDatabaseData(dataId) (each with a …WithResponse form). See the
API reference.Next: publish & onboard
Ship it to users.

