Sending AT commands to SIM900 whilst pppd is active
I have a Raspberry Pi with a SIM900 GSM add-on board connected. I have managed to establish a GPRS connection with pppd by following this guide . (It's for a different GSM module but the steps are the same) I would like to periodically send an AT command ( AT+CCLK? ) to the SIM900 to check the clock. I have managed send ad hoc AT commands using screen but when pppd is up I can't use screen to connect to the serial line. It just exits straight away saying [screen is terminating] . I'm guessing this is because pppd is using it to connect to the internet. Q: How do I get the clock time without