Fona 800 - PPP and SMS at same time

Adafruit cellular platform - SMS and IoT over celluar

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
branstonpickle
 
Posts: 2
Joined: Wed Dec 16, 2020 9:37 am

Fona 800 - PPP and SMS at same time

Post by branstonpickle »

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

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

Re: Fona 800 - PPP and SMS at same time

Post by cry4brk »

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

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

Re: Fona 800 - PPP and SMS at same time

Post by branstonpickle »

That's great. Thanks for the response

Locked
Please be positive and constructive with your questions and comments.

Return to “FONA”