Re: commands, responses and log

Michal Čihař <[email protected]> Sun, 08 Jan 2017 17:51:07 +0100
Newsgroups gmane.linux.drivers.gammu
Message-ID <[email protected]>
Yes, it should work for gammu as well.

-- 
	Michal Čihař | https://cihar.com/ | https://weblate.org/


Sylvain Ard píše v Ne 08. 01. 2017 v 17:42 +0100:
> Hi,
> I see that it is for " deluge ", is it works also for gammu ?
> Thank you.
> Bye
> 
> 2017-01-08 17:12 GMT+01:00 Michal Čihař <[email protected]>:
> > Hi
> > 
> > I've just noticed that you're using Raspbian, in that case adding
> > stretch to package sources and installing from it should help:
> > 
> > http://raspberrypi.stackexchange.com/a/59436/59659
> > 
> > --
> >         Michal Čihař | https://cihar.com/ | https://weblate.org/
> > 
> > 
> > Sylvain Ard píše v Ne 08. 01. 2017 v 15:51 +0100:
> > > Hi,
> > > how to upgrade gammu ?
> > > By sudo apt-upgrade ?
> > > Thank you 
> > >
> > > 2017-01-08 15:19 GMT+01:00 Michal Čihař <[email protected]>:
> > > > Hi
> > > >
> > > > Can you try upgrading Gammu? There have been quite a lot of
> > fixes
> > > > meanwhile and I remember fixing something like this...
> > > >
> > > > --
> > > >         Michal Čihař | https://cihar.com/ | https://weblate.org
> > /
> > > >
> > > >
> > > > Sylvain Ard píše v Čt 15. 12. 2016 v 10:42 +0100:
> > > > > another try, this time I put DebugLevel at 255
> > > > >
> > > > > 2016-12-15 10:15 GMT+01:00 Sylvain Ard <[email protected]
> > >:
> > > > > > I join the log for your command
> > > > > >
> > > > > > 2016-12-15 0:43 GMT+01:00 gilberto dos santos alves <gsavix
> > @gma
> > > > il.c
> > > > > > om>:
> > > > > > > but i understand you already go to step that send sms,
> > and i
> > > > tell
> > > > > > > that this example that is on gammu manual is not good to
> > > > explain
> > > > > > > what is going on.
> > > > > > > why?
> > > > > > > because we need step by step to understand things lets go
> > > > avanti!
> > > > > > >
> > > > > > > put on gammu command explicit place where you want write
> > your
> > > > log
> > > > > > > file, what name and extension you want for your logfile,
> > what
> > > > > > > type log you want and what level (1 to 255 (255 is very
> > > > > > > details)), so my advice for teste your sms:
> > > > > > >
> > > > > > > gammu -c /path/your-config-gammurc -d textall -f
> > /path/your-
> > > > log-
> > > > > > > file-for-sms.log sendsms TEXT number-destination 'your-
> > > > message-
> > > > > > > delimited-by-apost' 
> > > > > > >
> > > > > > > --
> > > > > > > gilberto dos santos alves
> > > > > > > +55(11)9-8646-5049
> > > > > > > sao paulo - sp - brasil
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > 2016-12-14 21:28 GMT-02:00 gilberto dos santos alves
> > <gsavix@
> > > > gmai
> > > > > > > l.com>:
> > > > > > > > congratulations! now that we have commands working and
> > log
> > > > we
> > > > > > > > cold read and analyze!
> > > > > > > >
> > > > > > > > --
> > > > > > > > gilberto dos santos alves
> > > > > > > > +55(11)9-8646-5049
> > > > > > > > sao paulo - sp - brasil
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > 2016-12-14 7:58 GMT-02:00 Sylvain Ard <sylvain.ard@gmai
> > l.co
> > > > m>:
> > > > > > > > > Hi,
> > > > > > > > >
> > > > > > > > > OK I have change my config file to :
> > > > > > > > >
> > > > > > > > > device=/dev/ttyUSB0
> > > > > > > > > connection = at
> > > > > > > > > logfile = /home/pi/gammuraspy.log
> > > > > > > > > logformat = textalldate
> > > > > > > > > gammucoding = utf8
> > > > > > > > >
> > > > > > > > > Then I run these commands and got theses results :
> > > > > > > > >
> > > > > > > > > pi@raspberrypi:~ $ gammu -c /home/pi/gammurc.cfg
> > identify
> > > > > > > > > Erreur à l'ouverture du périphérique : périphérique
> > > > inconnu,
> > > > > > > > > occupé ou problème de permissions.
> > > > > > > > > pi@raspberrypi:~ $ sudo service gammu-smsd stop
> > > > > > > > > pi@raspberrypi:~ $ gammu -c /home/pi/gammurc.cfg
> > identify
> > > > > > > > > Périphérique       : /dev/ttyUSB0
> > > > > > > > > Fabricant            : Huawei
> > > > > > > > > Modèle              : E169 (E169)
> > > > > > > > > Firmware             : 11.314.13.51.156
> > > > > > > > > IMEI                 : 359638018980742
> > > > > > > > > SIM IMSI             : 208150009082056
> > > > > > > > >
> > > > > > > > > Then I tried to send a sms :
> > > > > > > > > I got :
> > > > > > > > >
> > > > > > > > > pi@raspberrypi:~ $ echo "SMS" | gammu --sendsms TEXT
> > > > > > > > > 0778380991
> > > > > > > > > If you want break, press Ctrl+C...
> > > > > > > > > Sending SMS 1/1....waiting for network answer..erreur
> > > > 500,
> > > > > > > > > message reference=-1
> > > > > > > > > Erreur inconnue.
> > > > > > > > >
> > > > > > > > > I join the log
> > > > > > > > > Thank you
> > > > > > > > > Bye
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > 2016-12-14 10:36 GMT+01:00 Michal Čihař <michal@cihar
> > .com
> > > > >:
> > > > > > > > > > Hi
> > > > > > > > > >
> > > > > > > > > > Sylvain Ard píše v Po 12. 12. 2016 v 19:42 +0100:
> > > > > > > > > > > Hi,
> > > > > > > > > > > I do what Gilberto Dos Santos Alves said but I
> > got :
> > > > > > > > > > >
> > > > > > > > > > > pi@raspberrypi:~ $ gammu -c /home/pi/gammurc.cfg
> > > > identify
> > > > > > > > > > > Warning: Configuration could not be parsed!
> > > > > > > > > > > Avertissement: No configuration read, using
> > builtin
> > > > > > > > > > defaults!
> > > > > > > > > > > Erreur à l'ouverture du périphérique: il n'existe
> > > > pas.
> > > > > > > > > > > and my gammurc.cfg is :
> > > > > > > > > > >
> > > > > > > > > > > connection = at19200
> > > > > > > > > > > logfile = /home/pi/gammuraspy.log
> > > > > > > > > > > logformat = textalldate
> > > > > > > > > > > gammucoding = utf8
> > > > > > > > > > > I tried with free, at and at19200 but I got
> > always
> > > > the
> > > > > > > > > > same error
> > > > > > > > > > > Thank you for helping me
> > > > > > > > > >
> > > > > > > > > > Your file is missing [gammu] section header, see
> > our
> > > > docs:
> > > > > > > > > >
> > > > > > > > > > https://wammu.eu/docs/manual/config/index.html#exam
> > ples
> > > > > > > > > >
> > > > > > > > > > --
> > > > > > > > > >         Michal Čihař | https://cihar.com/ |
> > > > > > > > > > https://weblate.org/
> > > > > > > > > >
> > > > > > > > > > -------------------------------------------------
> > ----
> > > > ----
> > > > > > > > > > ---------------------
> > > > > > > > > > Check out the vibrant tech community on one of the
> > > > world's
> > > > > > > > > > most
> > > > > > > > > > engaging tech sites, SlashDot.org! http://sdm.link/
> > slas
> > > > hdot
> > > > > > > > > > _______________________________________________
> > > > > > > > > > Gammu-users mailing list - https://lists.sourceforg
> > e.ne
> > > > t/li
> > > > > > > > > > sts/listinfo/gammu-users
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > ---------------------------------------------------
> > ----
> > > > ----
> > > > > > > > > -------------------
> > > > > > > > > Check out the vibrant tech community on one of the
> > > > world's
> > > > > > > > > most
> > > > > > > > > engaging tech sites, SlashDot.org! http://sdm.link/sl
> > ashd
> > > > ot
> > > > > > > > > _______________________________________________
> > > > > > > > > Gammu-users mailing list - https://lists.sourceforge.
> > net/
> > > > list
> > > > > > > > > s/listinfo/gammu-users
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > -------------------------------------------------------
> > ----
> > > > ----
> > > > > > > ---------------
> > > > > > > Check out the vibrant tech community on one of the
> > world's
> > > > most
> > > > > > > engaging tech sites, SlashDot.org! http://sdm.link/slashd
> > ot
> > > > > > > _______________________________________________
> > > > > > > Gammu-users mailing list - https://lists.sourceforge.net/
> > list
> > > > s/li
> > > > > > > stinfo/gammu-users
> > > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > > -----------------------------------------------------------
> > ----
> > > > ----
> > > > > -----------
> > > > > Check out the vibrant tech community on one of the world's
> > most 
> > > > > engaging tech sites, SlashDot.org! http://sdm.link/slashdot
> > > > > _______________________________________________
> > > > > Gammu-users mailing list - https://lists.sourceforge.net/list
> > s/li
> > > > stin
> > > > > fo/gammu-users
> > > >
> > > > -------------------------------------------------------------
> > ----
> > > > -------------
> > > > Check out the vibrant tech community on one of the world's most
> > > > engaging tech sites, SlashDot.org! http://sdm.link/slashdot
> > > > _______________________________________________
> > > > Gammu-users mailing list - https://lists.sourceforge.net/lists/
> > list
> > > > info/gammu-users
> > > >
> > >
> > > ---------------------------------------------------------------
> > ----
> > > -----------
> > > Check out the vibrant tech community on one of the world's most 
> > > engaging tech sites, SlashDot.org! http://sdm.link/slashdot
> > > _______________________________________________
> > > Gammu-users mailing list - https://lists.sourceforge.net/lists/li
> > stin
> > > fo/gammu-users
> > 
> > -----------------------------------------------------------------
> > -------------
> > Check out the vibrant tech community on one of the world's most
> > engaging tech sites, SlashDot.org! http://sdm.link/slashdot
> > _______________________________________________
> > Gammu-users mailing list - https://lists.sourceforge.net/lists/list
> > info/gammu-users
> > 
> 
> -------------------------------------------------------------------
> -----------
> Check out the vibrant tech community on one of the world's most 
> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
> _______________________________________________
> Gammu-users mailing list - https://lists.sourceforge.net/lists/listin
> fo/gammu-users

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot

_______________________________________________
Gammu-users mailing list - https://lists.sourceforge.net/lists/listinfo/gammu-users
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEh+Zzr4P2w6DDRMjD9KoinU1YwkUFAlhybfwACgkQ9KoinU1Y
wkVjlw//bW2Buzwca/tui+YRDCbS8mDciF4B7udvLWxHVQxXmvC4SXeSJVDNHiHA
Aj45Uq0baXGoEsXdb+O3vNsCFErmAsXps7/xY0Vp0Gu5ltndPpgYxzJEEUeg7HEn
zZ+fu1IQILmlHZSvyNQloffPA+RwXkxVY2eg4ebap4QDQ9OsGtL88MZRrflvqKn7
s6aebX2/xsFJXZGZhMDer+SYHCUXctxGESq2cHHHJphMHAqUgUcABmMqZBwmoJQx
ghg/DTpYG89KmPocxx73Wj7IHN6KC5Xtckmamekoxg0fHd9iV+PVAY36LNiTWy4c
frnngmGf6R0MiD3cPWiOSLWgfyaDca8WRBF5uZfzFXjS3n1MtM6hUJ2a9S3inCae
zKqFtglybV5Ca16knIZ3D7DxsKmFHq3AIoDu+y4h3XBW0h8DdFvIeLrQ1/+3JgUx
o9TnIuJ5MClTQMml58mapwlZUB3Fg0SjkwxQceHawyTqXXNwySZnCTF606kdLVQB
qmzxR1EKcMvDCkyHwalFDTWOwgVM3UTiRC17gY2sv1pOkpvyH1jUZxuxV4MSS1Ty
NXmzS5tD49VkDlXt38kFHhhqWs2sC7XLiNvO/BtjazNFq9GMZhB2b8UbNbg5iNCT
e7mZDKlhAWbHqoNzLBEBABJndQc7Nk6Yys38RkRtlLqNIvNS0L8=
=IPnE
-----END PGP SIGNATURE-----