Parse Vendor ID Information

As a part of configuration, the Vendor ID information must be parsed with the Polycom phone.

Polycom follows RFC 3925 which specifies use of a unique Internet Assigned Numbers Authority (IANA) private enterprise number. The private enterprise number assigned to Polycom is 13885 (0x0000363D) and is represented as an array of binary data.

Procedure

  1. Check for the Polycom signature at the start of the option: 4 octet: 00 00 36 3d
  2. Obtain the length of the entire list of sub-options: 1 octet
  3. Read the field code and length of the first sub-option, 1+1 octets
  4. If this is a field you want to parse, save the data.
  5. Skip to the start of the next sub-option.
  6. Repeat steps 3 to 5 until you have all the data or you encounter the End-of-Suboptions code (0xFF).