* @return
* @throws SalsaDeviceException
*/
private static AttributeInfo getAttributeInfo(IDevice device) throws SalsaDeviceException {
AttributeInfo attributeInfo = null;
AttributeProxy attributeProxy = getAttributeProxy(device);
if (attributeProxy != null) {
try {
attributeInfo = attributeProxy.get_info();
} catch (Exception e) {
SalsaDeviceException salsaDeviceException = new SalsaDeviceException(
"Cannot read attribute info for attribute " + device.getName(), e);
throw salsaDeviceException;
}