PMP Mail Archive: RE: PMP> PortMon Mib question

PMP Mail Archive: RE: PMP> PortMon Mib question

RE: PMP> PortMon Mib question

From: McDonald, Ira (imcdonald@sharplabs.com)
Date: Mon Jun 27 2005 - 23:23:09 EDT

  • Next message: thrasher@lexmark.com: "RE: PMP> PortMon Mib question"

    Hi Jerry,
     
    The IETF SMIv2 and the IETF's best practices recommend that MIB string
    objects longer
    than 255 octets be avoided for interoperability reasons. There are some
    instances in
    some modern IETF MIBs of strings with max lengths of 1023 octets (and
    conformance
    statements allowing a short length such as 255 octets).
     
    We could certainly make the IEEE Device ID string longer. Should we do so?
     
    Cheers,
    - Ira
     

    Ira McDonald (Musician / Software Architect)
    Blue Roof Music / High North Inc
    PO Box 221 Grand Marais, MI 49839
    phone: +1-906-494-2434
    email: imcdonald@sharplabs.com

    -----Original Message-----
    From: pmp-owner@pwg.org [mailto:pmp-owner@pwg.org]On Behalf Of
    thrasher@lexmark.com
    Sent: Monday, June 27, 2005 9:05 PM
    To: pmp@pwg.org
    Subject: PMP> PortMon Mib question

    Question/Issue from one of our dev's

    For the variable ppmPortIEEE1284DeviceID, the MIB states:

            The value of this object MUST exactly match the IEEE 1284-2000
            Device ID string, except that the length field MUST NOT be
            specified. The value MUST be assigned by the Printer vendor
            and MUST NOT be localized by the Print Service.

    The definitition indicates that the size is 0-255. However, the actual 1284
    device ID can be much longer.

    I think the length field of the 1284 string is two bytes (and the length
    includes the two bytes of length field).???

    Jerry Thrasher



    This archive was generated by hypermail 2b29 : Mon Jun 27 2005 - 23:22:45 EDT