argilo / secplus

A software implementation of the Security+ system used by garage door openers
GNU General Public License v3.0
235 stars 31 forks source link

secplus Transmit with rpitx #4

Open JohnDN90 opened 3 years ago

JohnDN90 commented 3 years ago

Have you ever used secplus with a Raspberry Pi using rpitx for transmitting? I saw that there is a "encode_ook" method for Security+ and I figure that could somehow be written to a .iq file and transmitted with rpitx.

Also, I noticed this isn't an "encode_ook" method for Security+ 2.0. Could the "encode_ook" method be adapted for Security+ 2.0 or is it quite a bit different?

argilo commented 3 years ago

Have you ever used secplus with a Raspberry Pi using rpitx for transmitting? I saw that there is a "encode_ook" method for Security+ and I figure that could somehow be written to a .iq file and transmitted with rpitx.

I have not. I don't expect it would be difficult. encode_ook produces a sequence of ones and zeroes, and you would just need to switch the transmitter on for 0.5 milliseconds for each 1 and off for 0.5 milliseconds for each 0.

Also, I noticed this isn't an "encode_ook" method for Security+ 2.0. Could the "encode_ook" method be adapted for Security+ 2.0 or is it quite a bit different?

encode_v2_manchester is the equivalent method for Security+ 2.0. The only difference is that the pulses are 0.25 milliseconds long instead of 0.5.