store

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 10, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultFilename

func DefaultFilename(serial string) string

DefaultFilename returns a timestamped CSV filename.

func DefaultOutputDir

func DefaultOutputDir() string

DefaultOutputDir returns the user-facing directory where CSVs are saved.

func DeviceFilename

func DeviceFilename(deviceName string, addr byte) string

DeviceFilename returns the CSV filename for one device's download.

func ExportCSV

func ExportCSV(path string, frames []*protocol.Frame) error

ExportCSV writes frames to a CSV file at path, creating parent directories. Columns: timestamp, record_index, s1..s8 (in °C × 10), s1_alarm..s8_alarm.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL