| 315 | } |
| 316 | |
| 317 | double RFM69::dBm_to_mW(uint8_t dBm) { |
| 318 | return pow(10, (dBm / 10.0)); |
| 319 | } |
| 320 | |
| 321 | bool RFM69::canSend() { |
| 322 | if (_mode == RF69_MODE_RX && PAYLOADLEN == 0 && readRSSI() < CSMA_LIMIT) { // if signal stronger than -100dBm is detected assume channel activity |
nothing calls this directly
no outgoing calls
no test coverage detected