Skip to content

@mega-yfue/eufy-sdk / getImageBaseCode

Function: getImageBaseCode()

ts
function getImageBaseCode(serialNumber, p2pDid): string;

Derive the image "base code" from the camera serial + p2p_did — first input to getImageKey.

Parameters

serialNumber

string

p2pDid

string

Returns

string

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.