public int getLastUnicastAddress() {
        final int elementCount = getNumberOfElements();
        return elementCount == 1 ? unicastAddress : (unicastAddress + (elementCount - 1));
    }
Returns the unicast address used by the last element in the node
mesh/src/main/java/no/nordicsemi/android/mesh/transport/ProvisionedBaseMeshNode.java