protected Identity getIdentity() throws TimeoutException, NotConnectedException {
   if (identity == null) {
     identity = device.getIdentity();
   }
   return identity;
 }