This C program allows you to communicate with Roku devices, such as TVs, and simulate a remote control with enhanced access using the Roku External Control Protocol (ECP). This program is designed to compile successfully on Linux, Windows, and potentially macOS.
- Control your Roku device using a command-line interface.
- Supports various remote control keys, including power, volume, and navigation.
- Clone this repository:
git clone https://github.com/AdaiasMagdiel/roku-ecp.git
- Compile the project:
Ensure you have
gcc
andmake
installed, then run:make
Note for Windows users: You can use W64DevKit to compile the project.
- Run the program:
Running
./rokuecp
rokuecp
without arguments will display usage instructions.
- Update the HOST:
Change the
HOST
inmain.c
to your Roku device's IP address. - Update the PORT:
The default port is
8060
. Change it only if your Roku device uses a different port.
Contributions are welcome! You can:
- Fork the repository
- Create a new branch (
git checkout -b feature-branch
) - Commit your changes (
git commit -am 'Add new feature'
) - Push to the branch (
git push origin feature-branch
) - Open a Pull Request
Feel free to open issues or send pull requests for any bugs or feature requests.
This project is licensed under the MIT License. See the LICENSE file for details.