Jerware/GameFrameV2_WiFi

Some commands not working when using local communication

Opened this issue · 1 comments

Hi Jeremy,

I've got some issues when using the local control (UDP on Port 8888) with my Game Frame.
Basically I send the packages via this command:

echo -e "brightness 7" | nc -u -w0 <IP_Game_Frame> 8888

As long as I try to set the brightness, the Game Frame responds as expected and changes the brightness accordingly.
However, If I try to play something else (e.g. "play coffee") the Game Frame just plays something else (Almost as If it is using the "next" function) or If I try to send the command "power off" the Game Frame just restarts. Other commands such as "next" don't do anything at all.

Is there something I do wrong when sending the commands?

If I use the particle cloud API, each command works perfectly.
Maybe you can reproduce the issue?

Best regards

Fabian

Works for me. Is it possible your echo is appending a carriage return or other extra characters at the end? Try the app "Packet Sender" and see if that works -- it's what I use for testing. You can also hook up a USB cable and read the Serial debug info that will report the commands its receiving. Serial data is at speed 57600, and you can find out what COM port it's using by checking the Ports section of Device Manager (assuming you're using Windows).