Discussion:
How do I use the displaysms command?
tradegeek+
2017-02-12 20:23:08 UTC
Permalink
Hi,

I need to create an outward SMS which contains emoji. Unfortunately,
this is not currently possible with python-gammu - see
https://github.com/gammu/python-gammu/issues/16 . However, Michal
indicates that it is possible using gammu directly.

Therefore, I wonder whether it's possible to generate a PDU string using
gammu from the command line, if I provide the text, destination number,
SMSC number etc as parameters. The Gammu manual indicates that this
might be possible using the displaysms command, but the manual directs
me to the description of the sendsms command, which then partially
directs me to savesms. It's not very clear to me how to use the
displaysms command, and I'm having no success trying this for myself. An
example would help considerably.

It should also be noted that I am not using Gammu to queue, send or
store SMS messages - there is no interaction with an actual modem. I
just need to generate the PDU string, which will then be passed to
another application on another server. Therefore, there's no modem
configuration file (although I'm happy to define a dummy modem if
necessary).

Can anyone please offer me some guidance on how to do this?

Thank you.
gilberto dos santos alves
2017-02-12 21:08:46 UTC
Permalink
hi. have you ask this question on other soft. forum?
try using gammu with hardware nokia that it works. i already done this
using nokia e5 not expensive at this time.
Post by tradegeek+
Hi,
I need to create an outward SMS which contains emoji. Unfortunately,
this is not currently possible with python-gammu - see
https://github.com/gammu/python-gammu/issues/16 . However, Michal
indicates that it is possible using gammu directly.
Therefore, I wonder whether it's possible to generate a PDU string using
gammu from the command line, if I provide the text, destination number,
SMSC number etc as parameters. The Gammu manual indicates that this
might be possible using the displaysms command, but the manual directs
me to the description of the sendsms command, which then partially
directs me to savesms. It's not very clear to me how to use the
displaysms command, and I'm having no success trying this for myself. An
example would help considerably.
It should also be noted that I am not using Gammu to queue, send or
store SMS messages - there is no interaction with an actual modem. I
just need to generate the PDU string, which will then be passed to
another application on another server. Therefore, there's no modem
configuration file (although I'm happy to define a dummy modem if
necessary).
Can anyone please offer me some guidance on how to do this?
Thank you.
------------------------------------------------------------
------------------
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
Michal Čihař
2017-03-01 16:17:41 UTC
Permalink
Hi
Hi,
I need to create an outward SMS which contains emoji. Unfortunately, 
this is not currently possible with python-gammu - see 
https://github.com/gammu/python-gammu/issues/16 . However, Michal 
indicates that it is possible using gammu directly.
Therefore, I wonder whether it's possible to generate a PDU string
using 
gammu from the command line, if I provide the text, destination
number, 
SMSC number etc as parameters. The Gammu manual indicates that this 
might be possible using the displaysms command, but the manual
directs 
me to the description of the sendsms command, which then partially 
directs me to savesms. It's not very clear to me how to use the 
displaysms command, and I'm having no success trying this for myself.
An 
example would help considerably.
It accepts same parameters as others.
It should also be noted that I am not using Gammu to queue, send or 
store SMS messages - there is no interaction with an actual modem. I 
just need to generate the PDU string, which will then be passed to 
another application on another server. Therefore, there's no modem 
configuration file (although I'm happy to define a dummy modem if 
necessary).
Well the message encoding does depend on the phone driver, so it's
currently not possible to use this command without configuration.
--
Michal Čihař | https://cihar.com/ | https://weblate.org/
tradegeek
2017-03-04 15:18:23 UTC
Permalink
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot

Loading...