Giter VIP home page Giter VIP logo

Comments (4)

tomchy avatar tomchy commented on August 15, 2024

What do you mean by sending several messages at once? You would like to create several connections to a single modem and send them simultaneously or just send a very long text, that consists of 7 parts?

I tested this library once (around a year ago) by sending a single, extremely long message (something like 1000+ characters) and it worked quite well. If that is your issue I may rerun this test 🙂

If not, please remember that normally you have just a single serial interface, that should be blocked by a single process. Couple of modems actually register itself with multiple virtual serial ports, but their functionality usually changes among them.

Also a code snipped may give us a clue what you are trying to achieve and will allow us to reproduce this error.

from python-gsmmodem.

XGBXGB avatar XGBXGB commented on August 15, 2024

I apologize for not being able to reply right away. What's happening was I was only using a single modem, which is both the receiver and the sender, when i send multiple text like spamming it, it tends to stop replying to the 5th text, but when I included another modem, one modem is the receiver (converts the texts into textfiles) and one modem is the sender (waits and reads textfiles), the issue doesn't happen anymore.

Now I'm going to try using one modem as the receiver and multiple modems as the sender. Is this possible?

from python-gsmmodem.

tomchy avatar tomchy commented on August 15, 2024

I think it should be possible. Unfortunately I still have not checked this module with multiple modems, but that case definitely should be considered if one day I get some time to make a small set of system tests 🙂

from python-gsmmodem.

babca avatar babca commented on August 15, 2024

You can always use the modem for single task at a time. Don't make multiple connections to the same modem.

Using multiple modems is fine.

Just run a separate thread using correct serial settings for each modem.
It does not matter whether you run multiple scripts by hand in terminal, or you write a custom initscript/daemon/etc which will create the threads automatically.

from python-gsmmodem.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.