HC-12 commands not communicating

Its because you are typing the commands and its taking too long.
The AT command parser expects the commands to be sent with no delay between the chars.
Send the commands directly from the program and not by typing them into the program.

eg serial.write ("AT ");

will respond with "OK"