Progress on getting deviceName to work.