This project allows the user to interface with the Cyton from their Android device over wifi.
Note This project requires the wifi shield.
To get started using the app you first need to flash the Cyton firmware. Please refer to the Open BCI documentation for how to flash firmware to the Cyton. The file that will be used to flash the firmware is here.
The firmware changes adds a status command that is used by sending 'n'. This returns if the Cyton is streaming or recording. There is also an addition that allows recording to the microSD card to be triggered by pressing the program button on the Cyton (Its a little tricky to press with the wifi shield on).
Next, setup the wifi shield as per the Open BCI documentation again. Once the Android device and wifi shield are setup on the same network, install the Android app. The app will scan for the board using SSDP and enter it into the dropdown once it is found. Once discovered the app will make requests every 3 seconds to the Cyton to check its status (if its recording or streaming). Now, you should be able to stop and stop recording/streaming from your phone.
We also have a powershell script that wraps some of the commands that can be sent over wifi. This is helpful for debugging and it provides a simpler interface than a rest client. We had some annoyances with the dynamic ip of the wifi shield while testing so the powershell script finds the ip using ssdp and stores it as a variable to make debugging more simple.
We would love for this app to be improved. If you would like to make changes, fork the repo and make a pull request. We will look it over in a timely manner (hopefully).
MIT