Giter Site home page Giter Site logo

modem no longer responds about modem HOT 8 OPEN

hervedelmas avatar hervedelmas commented on July 19, 2024
modem no longer responds

from modem.

Comments (8)

brugnara avatar brugnara commented on July 19, 2024

@hervedelmas This module has some lack as I reported and tried to correct times ago. The reading system drops packets that are less than 2 chars. All modems I've tried, many times respond with sequences of ONE char composing a response, in example:

O
K
\n

O
K\n+CM
GS

You cannot fix this, neither removing lines 118 and 119 because this module is expecting a full line with command but this happens only few times and this is very related to the modem you are using and the speed of the modem it self. That part must be rewritten, but that's just my opinion. If you want to use this module and fix by your self, check serialport on git (https://github.com/voodootikigod/node-serialport/blob/master/parsers.js) at line 13 you will find a read function that simply works. You will need to do a little fix if you want to send SMS because the > command modem sends, doesn't end with a \r\n and is not parsed as a full command but it's easily fixable. But hey, you can simply use my module that simply works... 👀

I've stopped using this plugin for this and other related problems (callbacks not working as expected) and wrote a new one you can find searching node-modem. I'm using that in production, we are sending 50k sms/month with 4 modems in parallel.

from modem.

hervedelmas avatar hervedelmas commented on July 19, 2024

Brugnara thank you!

So I just problem on sending SMS? and that is it for automatic SMS reception? you have an example? Which modem you use in parallel? I use the LG A290 TriSim as a modem, but can not access the SIM 2 and 3 via AT Commands? What about you?
Thank you in advance.

from modem.

brugnara avatar brugnara commented on July 19, 2024

node-modem is for queuing commands to a modem only.
I'll work on receiving SMS in the Q1 2015.

We are using HCP Hit 55 USB modems. It's made in Serbia. It's not cheap but it works like a charm :)
I'm working to put 3 servers with 4 modems each (expanding the actual 2 server with 2 modems) in a round robin configuration with a queuing system handled by a redis. The target is to handling queues of 500k messages at a time (ads we are selling)

from modem.

hervedelmas avatar hervedelmas commented on July 19, 2024

Please do, warned me when you have a solution for the reception of sms ...
For now I will continue to revive js node, and deepen your code ...
thank you for everything

from modem.

rubenswebdev avatar rubenswebdev commented on July 19, 2024

Brugnara node-modem work in gateways 16 ports?

from modem.

brugnara avatar brugnara commented on July 19, 2024

I am using in production with 4 modems. My module works on USB devices you
can find in the /dev folder. You have to see 16 devices (/dev/ttyUSB0, 1,
2,...) into that folder and configure the software to use each one of
those.
Il 09/Ott/2015 22:11, "Rubens Fernandes" [email protected] ha
scritto:

Brugnara node-mode work in gateways 16 ports?


Reply to this email directly or view it on GitHub
#18 (comment).

from modem.

rubenswebdev avatar rubenswebdev commented on July 19, 2024

it worked!!! thanks @brugnara 👍

from modem.

brugnara avatar brugnara commented on July 19, 2024

Glad to hear that.

On Wed, Oct 14, 2015 at 2:25 PM Rubens Fernandes [email protected]
wrote:

Works!!! thanks @brugnara https://github.com/brugnara [image: 👍]


Reply to this email directly or view it on GitHub
#18 (comment).

from modem.

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.