H324_VENDORID_INDICATION

The remote terminal uses this structure to send vendor information to the host application. In this situation, the structure is used with inbound H324EVN_VENDOR_INDICATION events.

The host application uses this structure to send vendor information to the remote terminal. In this case, the data structure is used with h324VendorIDIndication.

In the H324_VENDORID_INDICATION structure, the vendorID field is mandatory but the productNumber and versionNumber fields are optional, making this a variable-length structure.

Definition

typedef struct tag_H324_VENDORID_INDICATION
{
   unsigned short    vendorIDLen;
   unsigned short    productNumberLen;
   unsigned short    versionNumberLen;
   unsigned char     isNonStandard;
   unsigned char     bytes[sizeof(char)];
   // "vendorID" field resides at bytes[0] through bytes[vendorIDLen-1].
   // OPTIONAL "productNumber" resides at bytes[vendorIDLen]
   //          through bytes[vendorIDLen+productNumberLen-1].
   // OPTIONAL "versionNumber" resides at bytes[vendorIDLen+productNumberLen]
   //          through bytes[vendorIDLen+productNumberLen+versionNumberLen-1].
} H324_VENDORID_INDICATION;

Fields

Field name

Description

vendorIDLen

Length in bytes of the vendorID field.

productNumberLen

Length in bytes of the productNumber field.

versionNumberLen

Length in bytes of the versionNumber field.

isNonStandard

Specifies the type of vendor ID. Valid values are:

  • NZ - Vendor ID is of type h221NonStandard.

  • 0 - VendorID field contains an Object ID.

vendorID

Vendor ID for the terminal or component. The value of this field depends on the value of the isNonStandard field.

  • If the value of the isNonStandard field is NZ, then the vendor ID field is of type h221NonStandard.

  • If the value of the isNonStandard field is false or 0, then the vendor ID field contains an object ID.

productNumber

Product number for the terminal or component. This field is present only if productNumberLen is not set to 0.

versionNumber

Version number for the terminal or component. This field is present only if versionNumberLen is not set to 0.