get device ids