Partager via


hex Element (Compact 2013)

3/26/2014

The hex (SSID) element contains the SSID of a wireless LAN in hexadecimal format.

Syntax

<xs:element name="hex"
    minOccurs="0"
>
    <xs:simpleType>
        <xs:restriction
            base="hexBinary"
        >
            <xs:minLength
                value="1"
             />
            <xs:maxLength
                value="32"
             />
        </xs:restriction>
    </xs:simpleType>
</xs:element>

Remarks

The hex element is defined by the SSID Element.

Although the hex element and the name (SSID) Element are optional, at least one hex or name element must appear as a child of the SSID Element.

When profile information is converted to an SSID, the hex element is converted to the SSID (if present) and the name element is ignored. If the hex element is not present, the name element is converted to an SSID by using Unicode to ASCII conversion.

When an SSID is stored in a profile, the hex element is always generated. The name element is generated only if the both the ASCII to Unicode conversion of the SSID and the XML profile generation are successful. Some information from the original SSID can be lost when it is converted to a name.

See Also

Reference

Profile XML Schema Elements
name (SSID) Element
SSID Element
Profile XML Schema Reference