device_name to DEVICE_NAME y viceversa