MCPcopy Create free account
hub / github.com/LowPowerLab/RFM69 / dBm_to_mW

Method dBm_to_mW

RFM69.cpp:317–319  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected