Added device type constants and used them in device enumeration
function.

2 files changed