I have a Raspberry pi with SIM900 GSM module. currently i am using ttyUSB0 as pppd but i also want to send AT commands (send/receive SMS) to SIM900 while pppd is active. I was created multiple virtual serial ports (like gsmtty1,gsmtty2 etc) but those are not working with screen/minicom.
How to Send AT commands to SIM900 while pppd is running
1.1k Views Asked by ratna gk At
1
There are 1 best solutions below
Related Questions in RASPBERRY-PI
- Using camera shutter to trigger MPU6050 on raspberry pi
- os.hostname() to return an IP
- Sparkfun SC16IS750 does not work on Raspberry Pi
- Raspberry Pi won't run script on boot
- Raspberry PI Compute Module - SPI1
- Arduino serial works fine with Debian but hangs with Raspbian
- MPI Processes Communication error
- Raspberry Pi script boot order
- Kivy on RaspberryPi (Raspbian) - unable to load any valuable window provider
- Raspberry Pi: printf() doesn't work with wiringPi
- separate frequencies from music
- Use same Python variable in multiple if-statements
- Nodejs app is continuously restarting
- How deploy an large number iBeacons
- RPi running script at boot then stops
Related Questions in AT-COMMAND
- ESP8266 and Arduino Interfacing
- How to send AT commands to Huawei E3272 Hilink with python(pyserial)?
- how can i connect and send commands to a serial port while another program is using it?
- Receiving "NO CARRIER" error while tring to make a call using GSM modem in Python
- How to send and receive some data via a GSM modem during an active call (Python and AT Command)
- How to reject or accept an incoming call to my GSM modem using AT commands in Python?
- Check balance with AT command in idea operator
- How to check if an AT command executed successfully or failed
- DLINK DWM 157 Extra operator report during each operation
- Esp8266 to LocalServer
- How to post HTTP request with Arduino + ESP8266 AT commands
- SIM808 Error 601 Network Error
- Call and Play wav file using usb modem c#
- Binary file download through GSM modem
- C#: serial com not showing the whole data
Related Questions in SIM900
- Arduino response USSD command truncated
- How to post raw text from sim900 module?
- uploading sensor data to internet by arduino and sim900
- Receive SMS and Make call using AT command with SIM900
- Store value in variable after HTTPREAD
- SIM900 not working with Arduino
- Http error code 400 when using sim900 to send get or post requests
- Arduino with SIM 900a- How can I store all incoming messages into a text file?
- RaspberryPi 4 Python Send MMS Using SIM900
- Fall detection using MPU6050 and sim900a
- Getting SMSC (SMS Center) number using AT Commands SIM900A
- Network providers in USA that can work on SIM900 or Ai thinker A9g GSM modules
- Arduino Sim900 with no echo but SMS was sent out
- SMS getting received after a long delay (using SIMCOM SIM900A and Raspberry Pi 4)
- AT Commands HTTP request to JSON source with status 200 but empty response
Related Questions in PPPD
- Android: RIL porting - Issue with network settings using my GPRS+GSM (pppd+chat)
- pppd connection with GSM/GPRS modem, re-dialing after a few times
- getting PPP socket
- How to find DNS servers for each PPP session in linux?
- pppd popen hanging in C
- ppp between two machines over serail without a modem
- How to Send AT commands to SIM900 while pppd is running
- Unable to establish ppp connection
- GPRS PPP connection issue on linux
- pppd can't receive OK when using chat script
- No default route after returning from PPP connection
- Starting pppd from cron doesn't work
- Calling pppd within C program blocks the thread
- PPPD Connect script failed
- Using PPP on an Android tablet
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
While these virtual serial ports might work (assuming you are talking about the kernel's 07.10 multiplexing support), your first attempt should be to use the other serial device, e.g.
/dev/ttyUSB1.This is assuming the modem provides two serial endpoints, which it is not absolutely required to do, but virtual all modems that support USB does, so I would be very surprised if it really only had one.
Notice that the 07.10 multiplexing protocol requires explicit command and implementation support from the modem and is specified in a 3GPP specification which was created in the 90-ties to cater for the lack of multiplexing in the serial interfaces that were in use at that time (RS-232, IrDA, bluetooth).
But it required dedicated driver support on the operating side, and for windows there was no default drivers supplied so you had to install something additional (and I think the quality of those were not so great either) so 07.10 never got any serious momentum. Today USB's native multiple endpoint support have in many ways obsoleted the 07.10 protocol.