Skip to content

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

Function: buildVoidCommandPayload() ​

ts
function buildVoidCommandPayload(channel?): Buffer;

10-byte empty command body for the given channel (used by CMD_GATEWAYINFO etc.).

Parameters ​

channel? ​

number = 255

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.