Download Protocol Manual - Connect Tech Inc.
Transcript
Protocol Reference Requirements Protocol version 10 or greater General message No Port message Yes Async Yes Sync Yes Port state must be Open See Also SET_EVENT2 GET_EVENT2 GET_BHN_INFO The GET_BHN_INFO message is used to retrieve basic information about the Blue Heat/Net device. Message Message Number 22 (0x16) Port Number N/A Data Length 134 bytes Data struct bhn_info_cmd uint8 bhn_mac[6] uint8 bhn_hostname[128] bhn_mac Optional MAC address to look for. See Remarks below for more details. bhn_hostname Optional host name to look for. bhn_hostname is a NULL-terminated string. See Remarks below for more details. Response Status Status Value Status Name Description 0 (0x00) CMD_OK The GET_BHN_INFO message succeeded. Data Length 319 bytes Data struct bhn_info uint32 bhn_ser_num uint8 bhn_ip[4] uint8 reserved[16] uint8 bhn_mac[6] uint8 bhn_hostname[128] uint8 bhn_domainname[128] uint8 cds_ver[32] uint8 num_ports CTIM-00049 17