variable BAICHUAN_CHANNEL

Channel ids (the header's channelId) for requests that address the device rather than one camera channel. Camera channels are 1-100, the channel number plus one.

Examples

Address the device itself

import { assertEquals } from "@std/assert";
import { BAICHUAN_CHANNEL } from "@hertzg/reolink-api/protocol/message";

assertEquals(BAICHUAN_CHANNEL.HOST, 250);

Properties

HOST: number

The device itself: login, ping.

PUSH: number

The push channel: subscribe and alarm pushes.

Usage

import { BAICHUAN_CHANNEL } from "protocol/message.ts";