Class NeighborReport


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

      • bssid

        public final String bssid
        BSSID
      • operatingClass

        public final short operatingClass
        Unsigned 8 bits - indicates the channel set of the AP indicated by this BSSID
      • channelNumber

        public final short channelNumber
        Unsigned 8 bits - channel number
      • phyType

        public final short phyType
        Unsigned 8 bits - PHY type
      • subelements

        public final List<com.google.gson.JsonObject> subelements
        Optional subelements
    • Constructor Detail

      • NeighborReport

        public NeighborReport​(String bssid,
                              NeighborReport.BssidInfo bssidInfo,
                              short operatingClass,
                              short channelNumber,
                              short phyType,
                              List<com.google.gson.JsonObject> subelements)
        Constructor
    • Method Detail

      • parse

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

        public int hashCode()
        Overrides:
        hashCode in class Object