Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Two serial ports #11

Closed
osiriust410 opened this issue Jun 11, 2019 · 1 comment
Closed

Two serial ports #11

osiriust410 opened this issue Jun 11, 2019 · 1 comment
Labels
question Further information is requested

Comments

@osiriust410
Copy link

Hi,
I'm using two serial ports, in this library I was looking for the Serial.listen() function or similar, but I can not find it. Please help me, or tell me how I add this function.
Thank you.

@blemasle
Copy link
Owner

Hi,

What do you mean by "using two serials ports" ? You can pass the Serial instance you want to use to the SIM808 constructor, so you're free to call listen() on your instance at your convenience.

For instance, that's exactly what i'm doing when I put my gps tracker to sleep to prevent an interrupt on one of the serial pins to woke up the device.

@blemasle blemasle added the question Further information is requested label Jun 12, 2019
@blemasle blemasle closed this as completed Jan 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants