Autoremote direct connection to Android not work.


hi, searched in forum how-to connect arduino , android autoremote, , found, not work me, , old. it's simple "get".
can check code? i'm using one, arduino tasker-autoremote direct message:

code: [select]
char arserver[] = "autoremotejoaomgcd.appspot.com";


void sendmessage(){
  client.stop();
  if (client.connect(arserver, 80)){
    serial.println("connected");
    client.print("get /sendmessage?key=mykey&message=");
    client.print("something");
    client.println(" http/1.1");
    client.print("host: ");
    client.println(arserver);
    client.println("user-agent: arduino");
    client.println();
  }
}

a lot of time.



Arduino Forum > Topics > Home Automation and Networked Objects > Autoremote direct connection to Android not work.


arduino

Comments

Popular posts from this blog

Help with codes to add 1 more shift register and add more to matrix LED

tcp client

Can't read sms using Thinker A7 communicate with Arduino