@mega-yfue/eufy-sdk / p2pCodec / p2pCommandEncryptionKey
Function: p2pCommandEncryptionKey()
ts
function p2pCommandEncryptionKey(stationSn, p2pDid): string;The "Level 1" AES-128-ECB key for P2P command/control encryption — derivable from sn + p2p_did alone (no cipher needed). HomeBase control-channel notifications (sensor/alarm events) use exactly this key.
Parameters
stationSn
string
p2pDid
string
Returns
string