You do it just like you would in XCTU or Hyper Terminal or any other serial application. You open the COM port, Wait the guard time of silence, issue +++, wait the guard time of silence. Then issue the ATND command. At which point you switch from doing a serial write to a serial Read.
I used to send this in matlab.