Re: How to establish M2M communication with gammu?

gilberto dos santos alves <[email protected]>
Newsgroups gmane.linux.drivers.gammu
Message-ID <CAP9G-NL-now+WTwUfTfBJSeMLt9LEhGFE_Ob2uJHe-o7jv5adQ@mail.gmail.com>
good job. +1 for gammu. +1 for wvdial. regards from brasil!

2015-10-29 21:59 GMT-02:00 João M. S. Silva <[email protected]>:

> Hi,
>
> I tried gammu identify and it worked. Then I tried wvdialconf again and
> now it worked, it created a default configuration file. Previously this
> command failed.
>
> With the automatically created configuration file + customization,
> wvdial works.
>
> I had to use the complete name for the APN, e.g.:
>
>    Init3 = AT+CGDCONT=1,"ip","internet.vodafone.pt"
>
> not just "internet" like in some tools.
>
> Thank you all!
>
> João M. S. Silva
>
> On 10/29/2015 02:22 AM, gilberto dos santos alves wrote:
> > hi.
> > your baud rate is set to 115200 see that [1] at page 30 explain that
> > autobaud max is 57600bps.
> >
> > please make detail tests using vdialconf and look at your dmesg say
> > after detect your device and after following tutorial point by
> > braincrash nxs. try work with defaults that wvdialconf detects. wvdial
> > works and gammu will works, try gammu identify    to understand gammu
> > detections.
> >
> > [1]
> >
> http://www.headele.com/Datasheet/Wireless%20module/GPRS/SIMCOM/SIM800L_Hardware_Design_V1.00.pdf
> >
> > 2015-10-27 23:36 GMT-02:00 João M. S. Silva
> > <[email protected] <mailto:[email protected]>>:
> >
> >     Hi Braincrash,
> >
> >     Obrigado :)
> >
> >     I tried your howto for Vodafone with this wvdial.conf file:
> >
> >     [Dialer SIM800L]
> >     Init1 = ATZ
> >     Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
> >     Init3 = AT+CGDCONT=1,"IP","internet"
> >     Stupid Mode = 1
> >     Modem Type = Analog Modem
> >     ISDN = 0
> >     Phone = *99#
> >     Modem = /dev/ttyUSB0
> >     Username = { }
> >     Password = { }
> >     Baud = 115200
> >
> >     but:
> >
> >     $ wvdial --config=wvdial.conf SIM800L
> >     --> WvDial: Internet dialer version 1.61
> >     --> Cannot set information for serial port.
> >     --> Initializing modem.
> >     --> Sending: ATZ
> >     --> Sending: ATQ0
> >     --> Re-Sending: ATZ
> >     --> Modem not responding.
> >
> >     However, if I connect with miniterm.py I can normally send the AT
> >     commands.
> >
> >     Maybe it's because the serial SIM800L module is connected to the PC
> >     through a serial-to-USB converter?
> >
> >     João M. S. Silva
> >
> >     On 10/27/2015 04:28 PM, braincrash nxs wrote:
> >     > João, I'm Portuguese, if you want I can try to help you with that,
> You
> >     > can have the 4G dongle to automatically register on the GSM
> network and
> >     > authenticate the dialer.
> >     >
> >     > Follow this tutorial for our country.
> >     >
> >     >
> http://myhowtosandprojects.blogspot.pt/2013/12/how-to-setup-usb-3g-modem-linux.html
> >     >
> >     > Thanks.
> >     >
> >     > On Tue, Oct 27, 2015 at 3:52 PM, João M. S. Silva
> >      > <[email protected]
> >     <mailto:[email protected]>
> >     <mailto:[email protected]
> >     <mailto:[email protected]>>>
> >     > wrote:
> >     >
> >     >     I'm using Ubuntu 14.04.3.
> >     >
> >     >     Thanks, wvdial is a nice suggestion. I never used it, if I
> remember
> >     >     correctly, but I've read about it.
> >     >
> >     >     João M. S. Silva
> >     >
> >     >     On 10/27/2015 03:29 PM, gilberto dos santos alves wrote:
> >     >     > please are you using linux (what distrib) or windows (what
> version 32 /
> >     >     > 64bits)?
> >     >     >
> >     >     > if on windows your stick already have standard cd/dvd driver
> that has
> >     >     > standard dial-up to connect web (for example zte MF190 HSUPA
> usb stick).
> >     >     >
> >     >     > if on linux you could use your terminal dial-up  (pppd)
>  package wvdial
> >     >     > IMHO is very ease to use.
> >     >     >
> >     >     > 2015-10-27 11:48 GMT-02:00 Ulf <[email protected] <mailto:
> [email protected]>
> >     <mailto:[email protected] <mailto:[email protected]>>
> >      >      > <mailto:[email protected] <mailto:[email protected]>
> >     <mailto:[email protected] <mailto:[email protected]>>>>:
> >      >      >
> >      >      >     I never tried this.
> >      >      >     If you find a solution with NetworkManager, I would be
> >      >     interested on
> >      >      >     a feedback.
> >      >      >
> >      >      >     -Ulf
> >      >      >
> >      >      >
> >      >      >     Am 27.10.2015 um 13:55 schrieb João M. S. Silva:
> >      >      >      > Thanks for your answers.
> >      >      >      >
> >      >      >      > OK, if I understood correctly, I can use gammu for
> >     SMS and
> >      >     USSD.
> >      >      >      >
> >      >      >      > But I should use, NetworkManager, for instance, to
> >     connect
> >      >     to the
> >      >      >     Internet.
> >      >      >      >
> >      >      >      > Is this correct?
> >      >      >      >
> >      >      >      > João M. S. Silva
> >      >      >      >
> >      >      >      > On 10/27/2015 12:19 PM, Ulf wrote:
> >      >      >      >> Hi Brain,
> >      >      >      >>
> >      >      >      >> I think, the question is, how to "configure the
> >     device to
> >      >      >     automatically connect to the internet
> >      >      >      >> trough 4G".
> >      >      >      >>
> >      >      >      >> It seems, João wants to do this with help of gammu.
> >      >      >      >>
> >      >      >      >> Hope that helps,
> >      >      >      >>
> >      >      >      >> Ulf
> >      >      >      >>
> >      >      >      >>
> >      >      >      >> Am 27.10.2015 um 13:07 schrieb Brain crash:
> >      >      >      >>> Hi,
> >      >      >      >>>
> >      >      >      >>> If I correctly understood your question, you just
> >     need
> >      >     two USB
> >      >      >     dongle or 2 SIM cards that suport data, each operator
> in
> >      >     Portugal as
> >      >      >     them, you configure the device to automatically
> >     connect to the
> >      >      >     internet trough 4G that way you will have in each
> >     device an IP
> >      >      >     address which simplifies that rest.
> >      >      >      >>>
> >      >      >      >>> Sent from my iPhone 4S
> >      >      >      >>>
> >      >      >      >>> No dia 27/10/2015, às 12:01, João M. S. Silva
> >      >      >     <[email protected]
> >     <mailto:[email protected]>
> >      >     <mailto:[email protected]
> >     <mailto:[email protected]>>
> >      >      >     <mailto:[email protected]
> >     <mailto:[email protected]>
> >      >     <mailto:[email protected]
> >     <mailto:[email protected]>>>> escreveu:
> >      >      >      >>>
> >      >      >      >>> Hi Gilberto,
> >      >      >      >>>
> >      >      >      >>> I've asked for M2M solutions to Portugal
> >     operators. Only
> >      >     Vodafone
> >      >      >      >>> answered and basically they just sell a SIM card
> >     which
> >      >     allows
> >      >      >     data traffic.
> >      >      >      >>>
> >      >      >      >>> Using a card like this in a SIM800L module, I can
> >      >     send/receive
> >      >      >     SMS and
> >      >      >      >>> also run USSD commands.
> >      >      >      >>>
> >      >      >      >>> But what I need is to communicate between two
> >     machines using
> >      >      >     the same
> >      >      >      >>> hardware. If I use SMS, it is too costly. It costs
> >      >     around 0.085
> >      >      >     EUR.
> >      >      >      >>> 0.085 EUR may seem low cost, but multiplied by
> >     thousands
> >      >     it's
> >      >      >     expensive.
> >      >      >      >>>
> >      >      >      >>> So, there must be a way to connect M2M through
> >     Internet,
> >      >     i.e.
> >      >      >     GPRS? Am I
> >      >      >      >>> right? Does gammu allow this?
> >      >      >      >>>
> >      >      >      >>> I can get HTTP pages with AT commands. Does gammu
> >     allow an
> >      >      >     abstraction
> >      >      >      >>> layer on top of AT commands to get HTTP pages?
> >      >      >      >>>
> >      >      >      >>> Thanks.
> >      >      >      >>>
> >      >      >      >>> João M. S. Silva
> >      >      >      >>>
> >      >      >      >>>> On 10/27/2015 04:02 AM, gilberto dos santos
> >     alves wrote:
> >      >      >      >>>> hi. may be these are questions for your telecom
> >      >     operator. using
> >      >      >      >>>> gammu-smsd (daemon) you could exchange sms
> >     between then
> >      >     like http
> >      >      >      >>>> servers, ftp servers! what i miss in your
> question?
> >      >      >      >>>>
> >      >      >      >>>> 2015-10-26 16:26 GMT-02:00 João M. S. Silva
> >      >      >      >>>> <[email protected]
> >     <mailto:[email protected]>
> >      >     <mailto:[email protected]
> >     <mailto:[email protected]>>
> >      >      >     <mailto:[email protected]
> >     <mailto:[email protected]>
> >      >     <mailto:[email protected]
> >     <mailto:[email protected]>>>
> >      >      >     <mailto:[email protected]
> >     <mailto:[email protected]>
> >      >     <mailto:[email protected]
> >     <mailto:[email protected]>>
> >      >     >     <mailto:[email protected]
> >     <mailto:[email protected]>
> >     <mailto:[email protected]
> >     <mailto:[email protected]>>>>>:
> >      >     >      >>>>
> >      >     >      >>>>       Hi,
> >      >     >      >>>>
> >      >     >      >>>>       How can I establish a session-based M2M
> >     connection with
> >      >     >     gammu? I'm using
> >      >     >      >>>>       hardware module SIM800L and a 4G SIM card.
> >     I can do USSD
> >      >     >     and SMS with
> >      >     >      >>>>       gammu, but USSD can only be used to
> >     communicate with the
> >      >     >     operator
> >      >     >      >>>>       network, not other SIM card, and SMS is
> >     costly since
> >      >     >     even for 10 chars
> >      >     >      >>>>       we must pay the price of an SMS. So, I'm
> >     looking for a
> >      >     >     session-based
> >      >     >      >>>>       connection where I pay for the traffic.
> >      >     >      >>>>
> >      >     >      >>>>       If gammu does not allow this, is there an
> >     alternative?
> >      >     >      >>>>
> >      >     >      >>>>       Thanks.
> >      >     >      >>>>
> >      >     >      >>>>       --
> >      >     >      >>>>       João M. S. Silva
> >      >     >      >>>>
> >      >     >      >>>>
> >      >     >
> >
>  ------------------------------------------------------------------------------
> >      >     >      >>>>
>  _______________________________________________
> >      >     >      >>>>       Gammu-users mailing list -
> >      >     >
> >      >>>>https://lists.sourceforge.net/lists/listinfo/gammu-users
> >      >     >      >>>>
> >      >     >      >>>>
> >      >     >      >>>>
> >      >     >      >>>>
> >      >     >      >>>> --
> >      >     >      >>>> gilberto dos santos alves
> >      >      >      >>>> +55(11)9-8646-5049
> >     <tel:%2B55%2811%299-8646-5049> <tel:%2B55%2811%299-8646-5049>
> >      >     <tel:%2B55%2811%299-8646-5049>
> >      >      >      >>>> sao paulo - sp - brasil
> >      >      >      >>>>
> >      >      >      >>>>
> >      >      >      >>>>
> >      >      >      >>>>
> >      >      >      >>>>
> >      >      >      >>>>
> >      >      >      >>>>
> >      >      >
> >      >
> >
>  ------------------------------------------------------------------------------
> >      >      >      >>>>
> >      >      >      >>>>
> >      >      >      >>>>
> >      >      >      >>>> _______________________________________________
> >      >      >      >>>> Gammu-users mailing list -
> >      >      > https://lists.sourceforge.net/lists/listinfo/gammu-users
> >      >      >      >>>
> >      >      >
> >      >
> >
>  ------------------------------------------------------------------------------
> >      >      >      >>> _______________________________________________
> >      >      >      >>> Gammu-users mailing list -
> >      >      > https://lists.sourceforge.net/lists/listinfo/gammu-users
> >      >      >      >>>
> >      >      >      >>>
> >      >      >
> >      >
> >
>  ------------------------------------------------------------------------------
> >      >      >      >>> _______________________________________________
> >      >      >      >>> Gammu-users mailing list -
> >      >      > https://lists.sourceforge.net/lists/listinfo/gammu-users
> >      >      >      >>
> >      >      >      >>
> >      >      >
> >      >
> >
>  ------------------------------------------------------------------------------
> >      >      >      >> _______________________________________________
> >      >      >      >> Gammu-users mailing list -
> >      >      > https://lists.sourceforge.net/lists/listinfo/gammu-users
> >      >      >      >>
> >      >      >      >
> >      >      >
> >      >
> >
>  ------------------------------------------------------------------------------
> >      >      >      > _______________________________________________
> >      >      >      > Gammu-users mailing list -
> >      >      > https://lists.sourceforge.net/lists/listinfo/gammu-users
> >      >      >
> >      >      >
> >      >      >
> >      >
> >
>  ------------------------------------------------------------------------------
> >      >      >     _______________________________________________
> >      >      >     Gammu-users mailing list -
> >      >      > https://lists.sourceforge.net/lists/listinfo/gammu-users
> >      >      >
> >      >      >
> >      >      >
> >      >      >
> >      >      > --
> >      >      > gilberto dos santos alves
> >      >      > +55(11)9-8646-5049 <tel:%2B55%2811%299-8646-5049>
> >     <tel:%2B55%2811%299-8646-5049>
> >      >      > sao paulo - sp - brasil
> >      >      >
> >      >      >
> >      >      >
> >      >      >
> >      >      >
> >      >      >
> >      >      >
> >      >
> >
>  ------------------------------------------------------------------------------
> >      >      >
> >      >      >
> >      >      >
> >      >      > _______________________________________________
> >      >      > Gammu-users mailing list -
> >      > https://lists.sourceforge.net/lists/listinfo/gammu-users
> >      >      >
> >      >
> >      >
> >
>  ------------------------------------------------------------------------------
> >      >     _______________________________________________
> >      >     Gammu-users mailing list -
> >      > https://lists.sourceforge.net/lists/listinfo/gammu-users
> >      >
> >      >
> >      >
> >      >
> >      >
> >
>  ------------------------------------------------------------------------------
> >      >
> >      >
> >      >
> >      > _______________________________________________
> >      > Gammu-users mailing list -
> >     https://lists.sourceforge.net/lists/listinfo/gammu-users
> >      >
> >
> >
>  ------------------------------------------------------------------------------
> >     _______________________________________________
> >     Gammu-users mailing list -
> >     https://lists.sourceforge.net/lists/listinfo/gammu-users
> >
> >
> >
> >
> > --
> > gilberto dos santos alves
> > +55(11)9-8646-5049
> > sao paulo - sp - brasil
> >
> >
> >
> >
> >
> >
> >
> ------------------------------------------------------------------------------
> >
> >
> >
> > _______________________________________________
> > Gammu-users mailing list -
> https://lists.sourceforge.net/lists/listinfo/gammu-users
> >
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Gammu-users mailing list -
> https://lists.sourceforge.net/lists/listinfo/gammu-users
>



-- 
gilberto dos santos alves
+55(11)9-8646-5049
sao paulo - sp - brasil

------------------------------------------------------------------------------

_______________________________________________
Gammu-users mailing list - https://lists.sourceforge.net/lists/listinfo/gammu-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.