Skip to content

@mega-yfue/eufy-sdk / p2pCodec / buildLookupWithKeyPayload2

Function: buildLookupWithKeyPayload2()

ts
function buildLookupWithKeyPayload2(p2pDid, dskKey): Buffer;

Cloud-lookup payload (variant 2): [p2pDid:20][dskKey][0x00000000].

Parameters

p2pDid

string

dskKey

string

Returns

Buffer

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.