Work with AT commands in OpenCpu

I have already launched a project with MC60 module and ATCOMMAND mode completely.
Now I want to remove the microcontroller using open CPU mode and use the microcontroller inside this module. But with some difference.
My question is:
How can I send any AT command in OpenCPU mode and have all the details of the response. I want to work with commands using OpenCPU exactly like AT mode. I don’t want to use RIL functions.
This is because the RIL functions themselves use AT commands to communicate with the GSM department and have a separate handler for each command. But I want to give any command to the GSM section, put the answer in a buffer and analyze it myself.

When we were working with the microcontroller and AT commands, we would put the answer coming from the module into a buffer and then analyze the data in that buffer. Now I want to do the same thing with the microcontroller inside the module which is available as OpenCPU.

Thanks in advance for your tips

Dear engineers, does anyone know the answer to my question?

@Grey.Tu-Q any comments, thanks

just look source codes in SDK folder RIL