BastilleResearch / gr-lora

GNU Radio OOT module implementing the LoRa PHY, based on https://github.com/matt-knight/research/tree/master/2016_05_20_jailbreak
GNU General Public License v3.0
470 stars 92 forks source link

about the gray coding #26

Closed orkfire closed 6 years ago

orkfire commented 6 years ago

Hi @matt-knight I've been reading your ppt and watch the video, I have read all the program of the gr-lora, because i don't have the usrp board, i use ad9364 instead, i have demod the lora signal, but when dealing with decode, I am confused, why use to_gray() in the decode program, other than using from_gray(). thanks!!!

matt-knight commented 6 years ago

Hi @orkfire, to_gray() is used because that is what I discovered to be the empirical solution during the course of my reverse engineering effort. I know it's confusing -- I don't have a great answer for you beyond that's what works in practice :)

Hope this helps, Matt