Get device status