[Interest] Sending a SMS with Qt5?

Mark markg85 at gmail.com
Mon Feb 4 16:33:31 CET 2013


On Mon, Feb 4, 2013 at 12:30 PM, Kate Alhola <kate.alhola at gmail.com> wrote:
> On Sun, Feb 3, 2013 at 5:18 PM, Joseph Crowell <joseph.w.crowell at gmail.com>
> wrote:
>>
>> On 02/01/2013 10:49 PM, Mark wrote:
>> > On Fri, Feb 1, 2013 at 10:41 AM, Thiago Macieira
>> > <thiago.macieira at intel.com> wrote:
>> >> On sexta-feira, 1 de fevereiro de 2013 09.16.29, Mark wrote:
>> >>> Windows 7 and linux (debian).
>> >> What SMS-sending middleware do you have running on those systems? You
>> >> don't
>> >> expect Qt to do magic, do you? It needs to integrate with something
>> >> that know
>> >> how to send an SMS.
>> >>
>> >> I was expecting your answer to be "Android", "Blackberry", "MeeGo",
>> >> "Sailfish
>> >> OS" or "Tizen".
>> > I think i made a little mistake here. My intention was for sending an
>> > SMS over some predefined service api's. Just like you can have a Qt
>> > side API to interact with flickr, twitter, ... So i was wondering if
>> > Qt had any of those service providers pre-implemented. But then again,
>> > those are usually third party, not Qt core or any of it's modules.
>> > Sorry for that little confusion.
>>
>> Qt Mobility's framework was a wrapper around each phone operating
>> system's sms sending software. I believe certain hardware was also
>> required like communications hardware to talk to the cell towers and sim
>> chip reader to get the sms authentication codes and sms server addresses
>> from the sim chip/phone. Correct me if I'm wrong or don't have a full
>> understanding about how it all works.
>>
>
> You are right, Qt Mobility is just wrapper to protocol stack to send SMS.
> There
> is no single common API to send SMS on mobile phone. On phones protocol
> stack interfaces to cellular modem that it uses to send SMS using your
> operators
> cellular network. SMS service is offered by cellular network operator
> and included your subscription/SIM card and usually they charge about sent
> SMS.
>
> If you don't have cellular modem with SIM card on desktop PC and operators
> don't offer free SMS service over Internet. If someone happens to offer SMS
> over Internet, there is is no common API for that.  If your operator happens
> to have such service, then you need to write Qt Mobility backend to use it.
> There is no common SMS interface for desktop systems.
>
>
> Kate
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>

Thank you all for the replies. I think i'm just going to settle by
writing a Qt wrapper API to interact with a web SMS service provider.
Something like http://www.twilio.com/sms for instance. I'm not sure if
i go the hardware way, kinda depends on factors that i can't influence
:) For the short term this will do just fine.

Regards,
Mark



More information about the Interest mailing list