Skip to content

@mega-yfue/eufy-sdk / ScalarForm

Type Alias: ScalarForm

ts
type ScalarForm = "auto" | "int-string" | "direct-binary";

Wire form for a scalar Command "set-param" intent — how the write is sealed. The BODY is the same struct in every case — [u32 channel][u32 value][account_id → 128B] — so these choose only the encryption.

  • "int-string" pins level-1 (AES-128-ECB), "direct-binary" pins level-2 (AES-256-GCM).
  • "auto" lets the transport pick the level, which it resolves from the session it will send on.

Independent and unofficial. Not affiliated with, endorsed by, or sponsored by Anker Innovations, Anker eufy, or eufy. "Anker eufy", "eufy" and "Anker" are trademarks of their respective owners. Use responsibly — rapid or failed logins can trigger captcha or temporary cooldowns.