At commands through adb

I was trying to set up a rm551e-gl in an m.2 enclosure and somehow managed to disable every way to communicate with the module accept adb. How can I turn usb and Ethernet back on in order to send at commands to the module?

Do you mean that right now you can access the module with ADB only?
And what is the host, Linux or Windows?

Using windows 11. I can access through adb only. I have tried rebooting in edl and reflashing and still nothing on the usb ports. /tmp # echo -e ‘AT \r’ > /dev/smd7
/tmp # echo -e ‘ATI \r’ > /dev/smd7 Will give me the correct info but no other at commands seem to stick. AT+GSM yields nothing. I have also tried smd11 and mdm0.

Problem solved. It was a formatting error that was not allowing at commands.