Serial Port will not go into command mode after entering $$$

I guess I'm just confused as to what I would do with the data (to put it into command mode) once I have read the serial data.

How should we know? it is your application :wink:

what is the goal of your project?
what are your requirements?