public int getMaxHops() {
        return maxHops;
    }
Returns the maximum number of hopes when receiving heartbeat messages.
mesh/src/main/java/no/nordicsemi/android/mesh/utils/HeartbeatSubscription.java