Skip to content

Commit db8825f

Browse files
committed
Remove features not implemented in fw 1.3.1
1 parent a19d4c1 commit db8825f

File tree

2 files changed

+0
-84
lines changed

2 files changed

+0
-84
lines changed

examples/DumbModemLoraSender/DumbModemLoraSender.ino

Lines changed: 0 additions & 54 deletions
This file was deleted.

src/MKRWAN_v2.h

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -215,9 +215,6 @@ static const char LORA_ERROR_NO_NETWORK[] = "+ERR_NO_NETWORK\r\n";
215215
static const char LORA_ERROR_RX[] = "+ERR_RX\r\n";
216216
static 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-
221218
typedef 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

712686
private:
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

Comments
 (0)