I have had some initial success porting RF-Bridge-EFM8BB1 over to the newer Sonoff boxes.
At the least I am able to decode packets from my own door sensor, perform sniffing, etc.
https://github.com/mightymos/RF-Bridge-OB38S003
As part of learning, as best I can tell there is a bug in RF-Bridge-EFM8BB1when clearing the PCA0H and PCA0L registers.
I believe the intent would be to clear the CR bit of PCA0CN0 prior to clearing the counter (i.e., to stop the counter).
However, the PCA0MD bit 6 is instead cleared, which is a reserved bit.
I am not sure what real world impact this has, or if this repo is accepting pull requests?
I have had some initial success porting RF-Bridge-EFM8BB1 over to the newer Sonoff boxes. At the least I am able to decode packets from my own door sensor, perform sniffing, etc. https://github.com/mightymos/RF-Bridge-OB38S003
As part of learning, as best I can tell there is a bug in RF-Bridge-EFM8BB1when clearing the PCA0H and PCA0L registers. I believe the intent would be to clear the CR bit of PCA0CN0 prior to clearing the counter (i.e., to stop the counter). However, the PCA0MD bit 6 is instead cleared, which is a reserved bit.
I am not sure what real world impact this has, or if this repo is accepting pull requests?
Thanks.