true = disable ID filtering to capture all packets on network, regardless of TARGETID false (default) = enable node/broadcast ID filtering to capture only frames sent to this/broadcast address
| 595 | // true = disable ID filtering to capture all packets on network, regardless of TARGETID |
| 596 | // false (default) = enable node/broadcast ID filtering to capture only frames sent to this/broadcast address |
| 597 | void RFM69::spyMode(bool onOff) { |
| 598 | _spyMode = onOff; |
| 599 | //writeReg(REG_PACKETCONFIG1, (readReg(REG_PACKETCONFIG1) & 0xF9) | (onOff ? RF_PACKET1_ADRSFILTERING_OFF : RF_PACKET1_ADRSFILTERING_NODEBROADCAST)); |
| 600 | } |
| 601 | |
| 602 | bool RFM69::getSpyMode() { |
| 603 | return _spyMode; |
nothing calls this directly
no outgoing calls
no test coverage detected