You don't know It?
With it i meant the none compiling part.
And i was now looking for 10 minutes on the screen to find out what was wrong.
strncmp instead of strcmp
Ok the output is if i send my commands in that order:
"volume-ups"
Payload: volume-ups
Message:
Output: Run Code"volume-ups"
Payload: volume-ups
Message: volume-ups
Output: Run Code"volume-stop"
Payload: volume-stop
Message: volume-ups
Output: Stop Code"volume-stop"
Payload: volume-stop
Message:
Output: Stop Code"volume-ups"
Payload: volume-ups
Message:Payload: volume-ups
Message: volume-upsp
So after "volume-stop" the output (code that needs to be running) is empty on "volume-up".
By other words i can't turn the volume up after stopping it before.
Look at 6. after calling "volume-ups" a second time there is a "p" at the end of the message.
Where does that come from?
And before i forged: THANKS for helping.
