Re: How do I use the displaysms command?

Michal Čihař <[email protected]> Wed, 01 Mar 2017 17:17:41 +0100
Newsgroups gmane.linux.drivers.gammu
Message-ID <[email protected]>
Hi

[email protected] píše v Ne 12. 02. 2017 v 20:23 +0000:
> 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/

------------------------------------------------------------------------------
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+Zzr4P2w6DDRMjD9KoinU1YwkUFAli29CUACgkQ9KoinU1Y
wkVLXxAApQTmR9xVl2+wi8Ev1qe9VRKcvh137fLhgKCpteMD8XEp18LckIcEfnMX
O9kKTGQYAOcQN3NuX7Hllzjw9Q3sySESrMu5VICvRz20a8Bpa7VhFNyyh1g8tNI1
vbJInR6z5U3nFkkC55AmIpMCBpFfbHZDRMWyARHanHq7Y1lksoUaa9Te33tu+4qp
5qKXVMv358C3P6fazd7XqpWFspoZPxN6cL1dBbsyfLhB+hZqZXxiPZkMwP0fCSeI
2oPnMrs5ZmNKnS4vAodNOtCmXLL1ZomsbZY7lEMuDVwxXWK2eYDClIk2lSRG6zOo
+NObR0dLNOb3ziJjAYX96e7I7KjCDtEE/mKrRL9FMn5Yr5FJV0z9Fn4/2ONJR0Sx
4PTtUq4sZy8HNVoiPyPYnGWXZzUe1nxXNBLwGlEPfVj/V0ox+Viuka8S3x9Q5yym
5Tox/2Y+paPtxGyJgajij/SKKQy0BHlrTcZ3cgAh2P4k9O5df2q8VqyhY1T/skYY
pwJp11R31K+klKyls55PFTVXE/ST/4GdTspJq9HHvrw04cM/uF4syp3JYkzYRMiq
/vDnKrsAMOin9EZqkH8XDYPmyIB0r+ZFDQn5lowMMED0oxo4SFpXWWQWhWp5mvG5
lULX7XXoDHKQUd7I2fmbehSAJZQC1B7VSWFGbLTgPBQVohWbnRQ=
=zvHI
-----END PGP SIGNATURE-----