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

Connect multiple modems #85

Open
matak opened this issue Feb 27, 2020 · 1 comment
Open

Connect multiple modems #85

matak opened this issue Feb 27, 2020 · 1 comment

Comments

@matak
Copy link

matak commented Feb 27, 2020

Hi,

could you explain me how works this (in your examples)?

modem.rxThread.join(2**31)

i am trying to connect multiple modems like 32, and i need to listen on all of them, but also sometimes send sms through any of them, how can it be achieved?

thanks if you can clarify me

@lcnittl
Copy link
Collaborator

lcnittl commented Nov 2, 2021

This should work by instantiating each modem (with different port/connection settings) and then registering callback functions for each one of them. Should be doable by iterating through a list/dict that stores the respective connection settings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants