cyborg5 / IRLib2

Library for receiving, decoding, and sending infrared signals using Arduino
GNU General Public License v3.0
384 stars 138 forks source link

Bell fibe #64

Open dbhaig opened 5 years ago

dbhaig commented 5 years ago

Hi Chris

First, let me thank you for all of the work that you and others have put into developing IRLib and IRLib2.

For your consideration, this pull request is to add another protocol that is widely used by Bell Fibe in Canada.

Regards, Don

cyborg5 commented 4 years ago

Thanks again for your contribution. I've been looking at your Bell Fiber protocol. In a previous comment I told you I thought it was based on DirecTV but I got my satellite dishes confused. It's actually based on Phillips RC-MM which I have implemented in protocol 11. It looks like you copied and modified that protocol and it's just different timings. Did you try using protocol 11 directly? Also protocol 11 uses 36 kHz rather than the more standard 38. Your version uses 36 probably because that's what protocol 11 used. Did you actually measure your frequency? My protocol 11 defaults to 12 bits but additionally has 24 and 32 bit versions. So essentially your protocol is the Nokia 32 version of RC-MM. If you can't get protocol 11 with 32 bit parameter to work for your system then probably what I will do is create a generic RC-MM send and receive function similar to the generic send and decode functions that I use for other protocols. Then my Nokia/RCMM and your Bell Fiber protocols can call these similar routines by just passing different timing parameters. So let me know did you try IRSendRCMM::send(value, 32) on your system?