Class NetworkTransmitSettings

java.lang.Object
org.openremote.agent.protocol.bluetooth.mesh.utils.NetworkTransmitSettings

public class NetworkTransmitSettings extends Object
Class containing Network Transmit values in a ProvisionedMeshNode
  • Constructor Details

    • NetworkTransmitSettings

      public NetworkTransmitSettings(int networkTransmitCount, int networkIntervalSteps)
      Parameters:
      networkTransmitCount - Number of transmissions for each Network PDU originating from the node
      networkIntervalSteps - Number of 10-millisecond steps between transmissions
  • Method Details

    • getNetworkTransmitCount

      public int getNetworkTransmitCount()
      Returns the network transmit count
    • getTransmissionCount

      public int getTransmissionCount()
      Returns the number of transmissions.
    • getNetworkIntervalSteps

      public int getNetworkIntervalSteps()
      Returns the network interval steps
    • getNetworkTransmissionInterval

      public int getNetworkTransmissionInterval()
      Returns the Network transmission interval.
    • decodeNetworkTransmissionInterval

      public static int decodeNetworkTransmissionInterval(int interval)
      Decodes the Network Transmission Interval steps
      Parameters:
      interval - Interval between 10-320 ms with a step of 10 ms
      Returns:
      the interval as steps
      Throws:
      IllegalArgumentException - if the Network Transmission Interval is not 10-320 ms with a step of 10 ms