download config file by device code