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

You are here

How to send an E-mail using TC65 ? Part 2

mortenbo1948

July 21, 2015 - 10:34am, 1835 views

Dear sir.

Acording to varios pdf document it should be easy to send an e-mail.

If I send a at^sisw=9,string-lenght, I get the response -> at^sisw=9,7
^SISW: 9, 7, 0 <- that is ok

Next I aught to send message using -> atcommand.send("at^sisw=" + 9 + "," + e_message + (char) 26   + "\r");

but I get this ->
Exception java.lang.IllegalStateException: Error sending AT Command, ongoing data connection.

So, how to send data as string?