Files
beamboxctl/src/lib/protocol/interfaces/device-status.ts
T

41 lines
784 B
TypeScript
Raw Normal View History

2026-02-02 18:23:31 +07:00
import type { PacketType } from "../packet-types.ts";
/**
* Device status information returned by the device
*/
export interface DeviceStatus {
/** Packet type identifier (always 13 for DEVICE_STATUS) */
type: PacketType.DEVICE_STATUS;
/**
* Total storage capacity in kilobytes (KB)
*/
allspace: number;
/**
* Available free storage in kilobytes (KB)
*/
freespace: number;
/**
* Device name/identifier
*
* Usually empty string from observations
*/
devname: string;
/**
* Display resolution as "width,height" string
*
2026-02-07 11:08:39 +07:00
* Example: "368,368" = 368x368 pixels (static); animations use 360x360
2026-02-02 18:23:31 +07:00
*/
size: string;
/**
* Brand/device model identifier
*
* Usually empty string from observations
*/
brand: number;
}