Hi, just followed the 'tethering to raspberry pi' tutorial. PPP working OK but SMS only works when PPP is off. In my python sms script I get a message that the port is busy if I try to open ttyAMA0 while PPP is running but it's OK as soon as I run the POFF command.
Is this correct? Ideally I'd like to use both simultaneously
Fona 800 - PPP and SMS at same time
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- cry4brk
- Posts: 180
- Joined: Tue Oct 09, 2012 3:14 pm
Re: Fona 800 - PPP and SMS at same time
You can't have two "programs" use the same COM port same time. One have to disconnect from it in order to let other use it. You could use the 2nd serial port on the SIMCom modules. One for the PPP and one for whatever you want. The 2nd serial port can be enabled from the 1st serial port.
See page 17 on the Serial application note.
https://cdn-shop.adafruit.com/product-f ... _V1.01.pdf
See page 17 on the Serial application note.
https://cdn-shop.adafruit.com/product-f ... _V1.01.pdf
- branstonpickle
- Posts: 2
- Joined: Wed Dec 16, 2020 9:37 am
Re: Fona 800 - PPP and SMS at same time
That's great. Thanks for the response
Please be positive and constructive with your questions and comments.