Class Country.CountryInfo

  • Enclosing class:
    Country

    public static class Country.CountryInfo
    extends Object
    Constraints for a subset of channels in the AP's country
    • Field Detail

      • firstChannelNumber

        public final short firstChannelNumber
        8 bits unsigned - the lowest channel number in the CountryInfo.
      • maximumTransmitPowerLevel

        public final short maximumTransmitPowerLevel
        8 bits unsigned - The maximum power, in dBm, allowed to be transmitted.
      • numberOfChannels

        public final short numberOfChannels
        8 bits unsigned - Number of channels this CountryInfo applies to. E.g., if First Channel Number is 2 and Number of Channels is 4, this CountryInfo describes channels 2, 3, 4, and 5.
    • Constructor Detail

      • CountryInfo

        public CountryInfo​(short firstChannelNumber,
                           short maximumTransmitPowerLevel,
                           short numberOfChannels)
        Constructor.
    • Method Detail

      • parse

        public static Country.CountryInfo parse​(com.google.gson.JsonObject contents)
        Parse CountryInfo from the appropriate Json object.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object