Api and at-commands

Dear Sirs,
I have a hap lite box and need the possobility to send AT-commands in
non-interactive modus, e.g.:

system serial-terminal port=usb1 channel=1 command='ATI'

in order to use in scripts. Another possibility is to get more information
in

port print

imei etc., maybe the sim number / signal strength or something else