Re: communication freeze after send sms
Cyrille Giquello <[email protected]>
| Newsgroups | gmane.linux.drivers.gammu |
|---|---|
| Organization | Artefacts |
| Message-ID | <[email protected]> |
Thanks Gilberto,
I initially posted 2 urls for details.
Here an example:
$ gammu --identify
Device : /dev/ttyACM0
Manufacturer : Broadcom
Model : unknown (GT-S5360)
Firmware : BCM21553_Modem_SI1220.2_V2.4
$ sudo picocom /dev/ttyACM0
...
AT
OK
AT+CMGF=1
OK
AT+CMGS=06xxxxxxxx
> coucou
ctrl+z
After "ctrl+z" gammu infinitly waiting for netwok response ... I do a
crtl+c to get back the shell. Nothing append.
But when I unplug the phone, Hop! The sms goes on the air and arrived in
the destination phone.
So SMS send works, but not like attended, and it's not usable ;-(
The only idea I got, but perhaps it's a wrong way :
Because of the unplug phone behavior I think about that the modem is
waiting for a state change on a pin, like the DCD (Data Carrier Detect)
that the SMS specification talk about for +CMGS command:
http://www.etsi.org/deliver/etsi_gts/07/0705/05.03.00_60/gsmts_0705v050300p.pdf
page 56
- the DCD signal shall be in ON state while text is entered
I had a read in gammu 1.3.7 source code and found nothing about that.
Thanks again
Cyrille.
Le 03/04/2016 17:40, gilberto dos santos alves a écrit :
> please post exactly sms command are you using. please shadow sensible
> information.
> thanks.
>
>
> 2016-04-03 10:37 GMT-03:00 Cyrille Giquello <[email protected]
> <mailto:[email protected]>>:
>
> Hi,
> thanks for your answer, but the problem is not with characters or
> encoding. For testing I only use one simple word like "test" or
> "coucou".
> I'd tested with gammu and picocom.
>
> Cheers
> Cyrille.
>
>
> Le 03/04/2016 04:41, gilberto dos santos alves a écrit :
>> hi. if you look carefully at this mailing list you will find same
>> problem that you describe.
>> look about characters on bash:
>> ' apostrofe or single quote
>> " double quote
>> ` acent acute in portuguese we say crase
>> ´ acent acute in portuguese we say grave
>>
>> when you use a bash script some of these are special meaning like
>> used on mysql database, like used on rst files used for documents.
>>
>> try manualy send a sms using a terminal (prefer using utf8 encode
>> or latin1 encode)
>>
>> using gammu manual or examples from this mailinglist.
>>
>> use your nokia with gammu.
>>
>>
>> 2016-04-02 16:59 GMT-03:00 Cyrille Giquello <[email protected]
>> <mailto:[email protected]>>:
>>
>> Hi,
>>
>> For 2 days I try to send sms but at the end of the send sms
>> process the
>> communcation freeze, and the sms goes in the air only after cable
>> unpluged. Nothing found on Internet about this diagnostic.
>>
>> I wrote more details here:
>> on a gammu closed issue:
>> https://github.com/gammu/gammu/issues/204
>> then at stackoverflow:
>> http://stackoverflow.com/questions/36371993/serial-communication-freeze-at-sms-send-gammu-picocom-on-linux
>>
>> I did tests with a Raspberry Pi 1 running "Raspbian", a
>> laptop running
>> "Ubuntu 14.04 LTS" and phones "Samsumg Galaxy Y (Broadcom
>> GT-S5360)" and
>> "Nokia 6303i classic". The problem occurs with each couple of
>> hardware.
>>
>> AT commands work fine, the problem occurs at the end of sms send
>> process, after the crtl+z : the communication is freezed
>> until I do a
>> ctrl+c or a kill. And the writed sms goes on the air when I
>> unplug the
>> phone ; so that mean the communication was fine, but not
>> finished.
>>
>> I lost lost lost.
>>
>> Thanks for reading
>> Cyrille.
>>
>> --
>>
>> Cyrille Giquello - 06 32 33 02 18 - [email protected]
>> <mailto:[email protected]> - 37000 Tours
>>
>> (¯`·._.·[ Coopérateur @ Artefacts - http://artefacts.coop
>> ]·._.·´¯)
>> ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø¸¸,ø¤º°`°º¤ø¸¸,ø¤º°`°º¤ø
>>
>>
>> ------------------------------------------------------------------------------
>> Transform Data into Opportunity.
>> Accelerate data analysis in your applications with
>> Intel Data Analytics Acceleration Library.
>> Click to learn more.
>> http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140
>> _______________________________________________
>> 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
>>
>>
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Transform Data into Opportunity.
>> Accelerate data analysis in your applications with
>> Intel Data Analytics Acceleration Library.
>> Click to learn more.
>> http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140
>>
>>
>> _______________________________________________
>> Gammu-users mailing list -https://lists.sourceforge.net/lists/listinfo/gammu-users
>
> --
>
> Cyrille Giquello - 06 32 33 02 18 [email protected] <mailto:[email protected]> - 37000 Tours
>
> (¯`·._.·[ Coopérateur @ Artefacts -http://artefacts.coop ]·._.·´¯)
> ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø¸¸,ø¤º°`°º¤ø¸¸,ø¤º°`°º¤ø
>
>
> ------------------------------------------------------------------------------
> Transform Data into Opportunity.
> Accelerate data analysis in your applications with
> Intel Data Analytics Acceleration Library.
> Click to learn more.
> http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140
> _______________________________________________
> 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
>
>
>
>
>
>
> ------------------------------------------------------------------------------
> Transform Data into Opportunity.
> Accelerate data analysis in your applications with
> Intel Data Analytics Acceleration Library.
> Click to learn more.
> http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140
>
>
> _______________________________________________
> Gammu-users mailing list - https://lists.sourceforge.net/lists/listinfo/gammu-users
--
Cyrille Giquello - 06 32 33 02 18 - [email protected] - 37000 Tours
(¯`·._.·[ Coopérateur @ Artefacts - http://artefacts.coop ]·._.·´¯)
ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø¸¸,ø¤º°`°º¤ø¸¸,ø¤º°`°º¤ø
------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140
_______________________________________________
Gammu-users mailing list - https://lists.sourceforge.net/lists/listinfo/gammu-users