adammw / node-cec

libcec bindings for node.js
MIT License
12 stars 4 forks source link

Add transmit #1

Open robbiet480 opened 9 years ago

robbiet480 commented 9 years ago

Hey @adammw,

I've never picked up C/C++ until today.

I don't know if I ever will again.

I tried my absolute best to get a simple transmit function built so that I can throw raw commands into libcec, but failed miserably. I'm wondering if you would possibly take pity on me and implement a transmit function at some point into node-cec. I feel horrible asking like this, but i'm at the end of my rope and your library is the best out there right now.

Even if you don't want to do this, thanks anyway for reading.

adammw commented 9 years ago

Hey @robbiet480 thanks for reaching out!

Happened to have another look at this project today and started work on adding the transmit function, you can follow along on the transmit branch.

robbiet480 commented 9 years ago

Hey @adammw can you give another short example of how I could throw raw bytes (like what I do for cec-client already, i.e. 3F:9F aka from Tuner 1, broadcast asking for CEC version) into transmit?

Thanks!