Closed matthias-bs closed 2 years ago
Added proposed solution: Pull request [SX1276] Request to add setCrcFiltering()
Added proposed solution: Pull request [SX127x] added setCrcFiltering() (This time changed from a fresh fork. =:-) )
Resolved by merging #527.
Thanks a lot!
For my application, I have to disable CRC filtering in FSK packet mode.
As a workaround, I changed SX127x.cpp as follows: In
SX127x::configFSK()
:state = _mod->SPIsetRegValue(RADIOLIB_SX127X_REG_PACKET_CONFIG_1,[...] | RADIOLIB_SX127X_CRC_ON | [...], 7, 0);
replaced bystate = _mod->SPIsetRegValue(RADIOLIB_SX127X_REG_PACKET_CONFIG_1,[...] | RADIOLIB_SX127X_CRC_OFF | [...], 7, 0);
The CC1101 module has a function
setCrcFiltering(bool crcOn)
for this purpose. It would be great if the SX127x had the same function.