NET_DVR_DEV_DDNS_INFO

Configuration parameter structure about DDNS.

Structure Definition

struct{
  BYTE     byDevAddress[MAX_DOMAIN_NAME/*64*/];
  BYTE     byTransProtocol;
  BYTE     byTransMode;
  BYTE     byDdnsType;
  BYTE     byRes1;
  BYTE     byDdnsAddress[MAX_DOMAIN_NAME/*64*/];
  WORD     wDdnsPort;
  BYTE     byChanType;
  BYTE     byFactoryType;
  DWORD    dwChannel;
  BYTE     byStreamId[STREAM_ID_LEN/*32*/];
  BYTE     sUserName[NAME_LEN/*32*/];
  BYTE     sPassword[PASSWD_LEN/*16*/];
  WORD     wDevPort;
  BYTE     byRes2[2];
}NET_DVR_DEV_DDNS_INFO,*LPNET_DVR_DEV_DDNS_INFO;

Members

byDevAddress

Device domain name

byTransProtocol

Transfer protocol type: 0-TCP, 1-UDP, 2-multicast

byTransMode

Stream mode: 0-main stream, 1-sub-stream

byDdnsType

DDNS type: 0-IPServer, 1-Dyndns, 2- PeanutHull, 3- NO-IP, 4-hiDDNS

byRes1

Reserved

byDdnsAddress

DDNS address

wDdnsPort

DDNS port number

byChanType

Channel type: 0-normal channel, 1-channel-zero, 2-stream ID

byFactoryType

Front-end device manufacturer

dwChannel

Device channel No.

byStreamId

Stream ID, it is valid only when the byChanType is 2.

sUserName

User name for log in to device

sPassword

Device password.

wDevPort

Device port number

byRes2

Reserved