Wio LTE Cat M1/NB-IoT Tracker AT command function

I have a Wio LTE Cat M1/NB-IoT Tracker and am trying to simply send an AT command and print the response. (Arduino IDE)
returns nothing. I’ve been able to use the AT_bypass example but I want to write AT commands into my program.
Thank you

If the Arduino code works, the hardware is fine.You might want to check the parameters of the serial port communication to match the Arduino code.