0

Fona 800 - PPP and SMS at same time
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Fona 800 - PPP and SMS at same time

by branstonpickle on Wed Dec 16, 2020 9:56 am

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

branstonpickle
 
Posts: 2
Joined: Wed Dec 16, 2020 9:37 am

Re: Fona 800 - PPP and SMS at same time

by cry4brk on Fri Dec 18, 2020 5:38 pm

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

cry4brk
 
Posts: 180
Joined: Tue Oct 09, 2012 3:14 pm

Re: Fona 800 - PPP and SMS at same time

by branstonpickle on Fri Dec 18, 2020 6:43 pm

That's great. Thanks for the response

branstonpickle
 
Posts: 2
Joined: Wed Dec 16, 2020 9:37 am

Please be positive and constructive with your questions and comments.