@mega-yfue/eufy-sdk / BIZ_PROTOCOL
Variable: BIZ_PROTOCOL
ts
const BIZ_PROTOCOL: object;The payload.protocol discriminator, which says what the whole message is before any field of it is read. Taken from the app's own dispatch, which switches on exactly these two and ignores the rest.
41 is the number the reference integration named its parser after without saying where it came from; it is this field.
Type Declaration
LIVE_PHOTO
ts
readonly LIVE_PHOTO: 43 = 43;A live photo from the robot's camera — a different payload entirely, not read here.
MAP_DATA
ts
readonly MAP_DATA: 41 = 41;Map-stream data: the frames this module parses.