Added base for SetDeviceID