Send AT command from Arduino

Hello,
I am new to this community, so maybe, my question is too simple, but I cannot get the answer :
I developped, on RAK3172, a progamm with Arduino and RUI3, directly embedded in the 3172. All is working, and I’m also able to create custom AT command (via ATC). But I would like the Arduino programm could send AT system command to RuI3 and receive the answer, using an api, like api.AT_Send (this one doesn’t exist) : is this possible, or not ?

Hi, I explain why I would need this functionnality :
my 3172 is on a remote site, without access to the uart of the cpu, and I would like to send my AT request by the lora network, and get the answer also through the lora network. So no use of the Uart hardware interface, all is in the embedded arduino software in rak3172, with a lora link to the outside world.
Thank you very much fot the time everybody give to this forum

Welcome to the forum @aralso

The RAk3172 cannot send AT commands to itself.

Nearly every AT command of RUI3 has an corresponding API call.

So you can send AT commands over LoRaWAN, but then you have to parse them and call the matching API function.

An (IMHO) easier way would be to define a downlink packet format that contains (e.g. as a number) the API call you want to use and the parameters to use with this API call.

ok, thanks for this clear answer.
So I will parse the main AT functions I will call, and then I will call the matching API.
Thank you