Class DeviceConfig


  • public class DeviceConfig
    extends Object
    AP configuration model.

    Implementation notes:

    • Fields must be nullable (no primitives, use boxed types instead).
    • This currently does not support merging of nested structures.
    • Field Detail

      • enableRRM

        public Boolean enableRRM
        Whether RRM algorithms are enabled
      • schedule

        public RRMSchedule schedule
        The RRM schedule (if enabled), only applied at the zone or network layer
      • enableConfig

        public Boolean enableConfig
        Whether pushing device config is enabled
      • enableWifiScan

        public Boolean enableWifiScan
        Whether automatic wifi scans are enabled
      • boundary

        public Integer boundary
        The length of a square/cube for the target area (see location)
      • location

        public List<Integer> location
        The AP location either 2D or 3D
      • allowedChannels

        public Map<String,​List<Integer>> allowedChannels
        The list of allowed channels, or null to allow all (map from band to channel)
      • allowedChannelWidths

        public Map<String,​List<Integer>> allowedChannelWidths
        The list of allowed channel widths, or null to allow all (map from band to channel)
      • autoChannels

        public Map<String,​Integer> autoChannels
        The RRM-assigned channels to use (map from radio to channel)
      • userChannels

        public Map<String,​Integer> userChannels
        The user-assigned channels to use, overriding "autoChannels" (map from band to channel)
      • allowedTxPowers

        public Map<String,​List<Integer>> allowedTxPowers
        The list of allowed tx powers, or null to allow all (map from band to tx power)
      • autoTxPowers

        public Map<String,​Integer> autoTxPowers
        The RRM-assigned tx powers to use (map from band to tx power)
      • userTxPowers

        public Map<String,​Integer> userTxPowers
        The user-assigned tx powers to use, overriding "autoTxPowers"
    • Constructor Detail

      • DeviceConfig

        public DeviceConfig()
    • Method Detail

      • createDefault

        public static DeviceConfig createDefault()
        Create the default config.
      • isEmpty

        public boolean isEmpty()
        Return true if all public instance fields are null (via reflection).
      • apply

        public void apply​(DeviceConfig override)
        Merge all non-null public fields of the given object into this object (via reflection).