Thales' cellular IoT products business is now part of Telit Cinterion, find out more.

You are here

How to send an E-mail using TC65 ? Part 2 | Telit Cinterion IoT Developer Community

July 21, 2015 - 10:34am, 7033 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?