change the format of device scan data, add device.get_data
First version of the scan form