split devices and device data.