Re: commands, responses and log
gilberto dos santos alves <[email protected]> Wed, 14 Dec 2016 21:28:50 -0200
| Newsgroups | gmane.linux.drivers.gammu |
|---|---|
| Message-ID | <CAP9G-N+FczE=ba+Rs+CpTTikH8CGqnTTa3GZk5_-X9tcgGVYSg@mail.gmail.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 <[email protected]>: > 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ř <[email protected]>: > >> 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#examples >> >> -- >> 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/slashdot >> _______________________________________________ >> Gammu-users mailing list - https://lists.sourceforge.net/ >> lists/listinfo/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 > > ------------------------------------------------------------------------------ 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