new RF69::enableContinuousModeBitSync()
This commit is contained in:
parent
d47c30b18d
commit
0c3b0b32db
2 changed files with 22 additions and 0 deletions
|
@ -720,6 +720,14 @@ int16_t RF69::disableSyncWordFiltering() {
|
||||||
return(state);
|
return(state);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int16_t RF69::enableContinuousModeBitSync() {
|
||||||
|
return(_mod->SPIsetRegValue(RF69_REG_DATA_MODUL, RF69_CONTINUOUS_MODE_WITH_SYNC, 6, 5));
|
||||||
|
}
|
||||||
|
|
||||||
|
int16_t RF69::disableContinuousModeBitSync() {
|
||||||
|
return(_mod->SPIsetRegValue(RF69_REG_DATA_MODUL, RF69_CONTINUOUS_MODE, 6, 5));
|
||||||
|
}
|
||||||
|
|
||||||
int16_t RF69::setCrcFiltering(bool crcOn) {
|
int16_t RF69::setCrcFiltering(bool crcOn) {
|
||||||
if (crcOn == true) {
|
if (crcOn == true) {
|
||||||
return(_mod->SPIsetRegValue(RF69_REG_PACKET_CONFIG_1, RF69_CRC_ON, 4, 4));
|
return(_mod->SPIsetRegValue(RF69_REG_PACKET_CONFIG_1, RF69_CRC_ON, 4, 4));
|
||||||
|
|
|
@ -809,6 +809,20 @@ class RF69: public PhysicalLayer {
|
||||||
*/
|
*/
|
||||||
int16_t disableSyncWordFiltering();
|
int16_t disableSyncWordFiltering();
|
||||||
|
|
||||||
|
/*!
|
||||||
|
\brief Enable Bit synchronization in continuous mode.
|
||||||
|
|
||||||
|
\returns \ref status_codes
|
||||||
|
*/
|
||||||
|
int16_t enableContinuousModeBitSync();
|
||||||
|
|
||||||
|
/*!
|
||||||
|
\brief Disable Bit synchronization in continuous mode.
|
||||||
|
|
||||||
|
\returns \ref status_codes
|
||||||
|
*/
|
||||||
|
int16_t disableContinuousModeBitSync();
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
\brief Enable CRC filtering and generation.
|
\brief Enable CRC filtering and generation.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue