create device constant