Hey Amir
Welcome to the forums! I’m not sure I’m clear on what you’re trying to do - there’s a lot of thoughts there that seem to be mixed together and it’s a bit tricky for me to grasp. I also noticed you made another post in a different thread about this with some more information.
To get to AT Command mode you need to pull pin34 high, and to exit AT command mode you need to pull pin 34 low then send AT+RESET according to the other forum thread.