title: Raspberry Pi Pico sending LoRa messages
body: <p>I'm using two functions from this <a href="https://github.com/daveake/pico-tracker" rel="nofollow noreferrer">pico tracker</a> code:</p>
  <pre><code>setup_lora(433.0, 1, &quot;CODEBRANE&quot;);
  ...
  SendLoRaPacket(loraBuffer, 16, 0);
  </code></pre>
  <p>and I'm not sure whether it's sending anything. I have an ESP32 receiving on another SX1278 board and I've tested both sender and receiver boards on ESP32 receiving from an ESP8266 which is sending and the boards are fine.</p>
  <p>The ESP32/ESP8266 use the LoRa library in the Arduino IDE but the pico is using the <code>Lora.cpp</code> functions above and that code sets the bandwidth, spreading factor etc, which the LoRa library doesn't. I'm assuming the pico is sending ok but the ESP32 isn't recieving anything.</p>
  <p>Do the sender and receiver have to be using the exact same settings, mode, bandwith, spreading factor, implicit/explicit header etc?</p>
  <p>The pico uses mode 1:</p>
  <pre><code>ImplicitOrExplicit = IMPLICIT_MODE;
  ErrorCoding = ERROR_CODING_4_5;
  Bandwidth = BANDWIDTH_20K8;
  SpreadingFactor = SPREADING_6;
  LowDataRateOptimize = 0;    
  </code></pre>
  <p>would I need to translate these into LoRa library equivalents to get the ESP32 to pick up the pico messages?</p>
  <p>e.g.</p>
  <pre><code>LoRa.setSignalBandwidth(20.8E3);
  LoRa.setSpreadingFactor(6);
  LoRa.implicitHeaderMode();
  </code></pre>
  <p>but there doesn't appear to be an equivalent for <code>ErrorCoding</code> or <code>LowDataRateOptimize</code>.</p>