HarwareSerial.h

What i expect is to receive those 4 characters "key1" through the software 'rx' pin, to a variable c, once it has been transmitted over the hardware 'tx'.

and what did you get?
and how did you check that?