Arduino Yun filtering the "Console.read()" input

Hello everyone,

my name is Martin and I am currently working on an Arduino Yun project. First I want to start with the basics of my project, get the fundation set up and after that make it more specific.

The first thing I want to have setup is the ability to send my Yun information via WLAN through the "Console." commands to change variables.

I already used some example codes and modified them but i was not getting the exact results i wanted to have.

How I want it to work:

I want to send Data to change the variables via an android app on my phone ( for testing now of course i will just use the Console option in the Arduino IDE). To be exact i want to be able to change two different variables so i need something to filter the Data stream. I looked for several tutorial but none of wich I found were really specific on how it is done/works.

As far as I understood i need some sort of character or sign that the Arduino Board has to look for that tells the board "after this you will get the exact number that should be put into the variable .... "

I added my example code that shows how far I've gotten... wich is basicly nothing... :confused:

I hope you guys can help me directly or show me a page with a very detailed tutorial about how all the Console commands work. As far as i know the Commands are basically the same as in the Serial connections, but I still don't fully understand the examples I found here on the offcial arduino page.

Thanks alot in advance

void loop() {
  if (Console.available() > 0) {
   streamdata = Console.read();
    if (Console.read == 'T') {
      temperature == XXXX;

I am currently working on an Arduino Yun project.

Then you should be posting in the Yun section of the forum.

   streamdata = Console.read();

That's a strange name for a variable that holds one character.

    if (Console.read == 'T') {

If not, ignore that character. Hmmm. No. Not even close.

      temperature == XXXX;

If they are equal, do nothing. If not, do nothing. Well, OK, I can see how that test is useful. Not.

I am very sorry that i posted it in the wrong party of the forum. I tried to delete it to reopen it in the yun part but i guess only admins/mods can do this :confused:

If there is a mod taking a look at this , please close this thread. I am going to open up a new one on the Yun forum.

PaulS , thanks for the help even though it was a bit sarcastic :slight_smile: but i still get what you meant