Gemalto is now part of the Thales Group, find out more.

You are here

Sending SMS in Java not sending to my handset | Thales IoT Developer Community

February 24, 2018 - 9:44am, 1699 views

Hi There,

As Im on working on EHS6T terminal, I did not receive any sample code to show me fully how to send a basic SMS message.

What I have been able to do is attempt to write one based on examples on the forum and also from the ATCommand demo program available on my EHS6T resource CD.

You can see the entire midlet here:

https://pastebin.com/SHWSTDXJ

It seems correct just no message seems to be sent to my mobile?

Do you have any hints or could someone kindly point me in the right direction as to why this may not be sending any messages?

Thanks so much for all your help as always.

Kind regards,

N.

UPDATE - I have got it working. Just had to send command AT^SCFG="Userware/Stdout","null".

I foolishly had output set to USB, when I already have the USB port reserved by the physical modem connection :).