Hello everybody,
I'm trying to open a socket connection with a TC65. I'm stuck right on the call of the Connector.open() method, which throws an IOException with error "profile could not be activated".
I'm using the code below:
static String destHost = "11.11.11.11";
static String destPort = "7777";
...
sendCommand("AT+CMEE=2");
sendCommand("AT+CSCS=\"GSM\"");
//String openParm = "socket://" + destHost + ":" + destPort+ ";" + connProfile;
String openParm = "socket://" + destHost + ":" + destPort;
SocketConnection sc = (SocketConnection) Connector.open(openParm);
I see that some other people in the group encountered this problem already, but I could actually not identify a solution for the problem. I also tried to include the connProfile string in the argument of the Connector.open() but this did not change the outcome. I'm new to programming on the TC65 so any help is more than welcome to get the connection up&running!
Thanks a lot
Flavio