@@ -215,9 +215,6 @@ static const char LORA_ERROR_NO_NETWORK[] = "+ERR_NO_NETWORK\r\n";
215215static const char LORA_ERROR_RX[] = " +ERR_RX\r\n " ;
216216static const char LORA_ERROR_UNKNOWN[] = " +ERR_UNKNOWN\r\n " ;
217217
218- static const char ARDUINO_FW_VERSION[] = " ARD-078 1.1.9" ;
219- static const char ARDUINO_FW_IDENTIFIER[] = " ARD-078" ;
220-
221218typedef enum {
222219 AS923 = 0 ,
223220 AU915 = 1 ,
@@ -600,29 +597,6 @@ class LoRaModem : public Stream
600597 return true ;
601598 }
602599
603- #ifdef SerialLoRa
604- // Sends the modem into dumb mode, so the Semtech chip can be controlled directly
605- // The only way to exit this mode is through a begin()
606- void dumb () {
607- SerialLoRa.end ();
608- pinMode (LORA_IRQ_DUMB, OUTPUT);
609- digitalWrite (LORA_IRQ_DUMB, LOW);
610-
611- // Hardware reset
612- pinMode (LORA_BOOT0, OUTPUT);
613- digitalWrite (LORA_BOOT0, LOW);
614- pinMode (LORA_RESET, OUTPUT);
615- digitalWrite (LORA_RESET, HIGH);
616- delay (200 );
617- digitalWrite (LORA_RESET, LOW);
618- delay (200 );
619- digitalWrite (LORA_RESET, HIGH);
620- delay (50 );
621-
622- // You can now use SPI1 and LORA_IRQ_DUMB as CS to interface with the chip
623- }
624- #endif
625-
626600 bool dutyCycle (bool on) {
627601 sendAT (GF (" +DCS=" ), on);
628602 if (waitResponse () != 1 ) {
@@ -711,10 +685,6 @@ class LoRaModem : public Stream
711685
712686private:
713687
714- bool isArduinoFW () {
715- return (fw_version.indexOf (ARDUINO_FW_IDENTIFIER) >= 0 );
716- }
717-
718688 bool changeMode (_lora_mode mode) {
719689 sendAT (GF (" +NJM=" ),mode);
720690 if (waitResponse () != 1 ) {
0 commit comments