I'm working on a IMX6 based board, and I need some advice to handle my modem.
I've successfully configure the modem, and mounted the ppp. The modem is working fine and everything's great, but now I want to send him some AT command while running.
Here is the content of my option file :
/dev/ttyACM0 115200 persist maxfail 0 defaultroute noipdefault noauth updetach noccp debug usepeerdns novj connect "/usr/sbin/chat -v -f /etc/ppp/connect"
The modem is on /dev/ttyACM0, and of course, when ppp is mounted, the file is locked. I have not put 'lock' in the /etc/ppp/option file. I have tried to put nolock in it too, but the file is still locked :(
Is there a way to send command to the modem without unmount the ppp ? How ? Thanks.