Class SupportedChannels


  • public class SupportedChannels
    extends Object
    This information element (IE) appears in wifiscan entries. It's called "Supported Channels" in 802.11 specs (section 9.4.2.17). Refer to the specification for more details. Language in javadocs is taken from the specification.
    • Field Detail

      • firstChannelNumber

        public final short firstChannelNumber
        Unsigned 8 bits - first channel in a subband of supported channels
      • numberOfChannels

        public final short numberOfChannels
        Unsigned 8 bits - number of channels in a subband of supported channels
    • Constructor Detail

      • SupportedChannels

        public SupportedChannels​(short firstChannelNumber,
                                 short numberOfChannels)
        Constructor
    • Method Detail

      • parse

        public static SupportedChannels parse​(com.google.gson.JsonObject contents)
        Parse SupportedChannels from JSON object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object