Skip to content

Commit 1e8f383

Browse files
committed
Rename packetRSSI to packetRSSI
1 parent ecbb114 commit 1e8f383

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

API.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ Returns the packet size or `0` if no packet was received.
9494
### Packet RSSI
9595

9696
```arduino
97-
int rssi = LoRa.packetRSSI();
97+
int rssi = LoRa.packetRssi();
9898
```
9999

100100
Returns the RSSI of the received packet.

examples/LoRaReceiver/LoRaReceiver.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,6 @@ void loop() {
2727

2828
// print RSSI of packet
2929
Serial.print("' with RSSI ");
30-
Serial.println(LoRa.packetRSSI());
30+
Serial.println(LoRa.packetRssi());
3131
}
3232
}

keywords.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ beginPacket KEYWORD2
1919
endPacket KEYWORD2
2020

2121
parsePacket KEYWORD2
22-
packetRSSI KEYWORD2
22+
packetRssi KEYWORD2
2323

2424
write KEYWORD2
2525

src/LoRa.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ int LoRaClass::parsePacket()
154154
return packetLength;
155155
}
156156

157-
int LoRaClass::packetRSSI()
157+
int LoRaClass::packetRssi()
158158
{
159159
return (readRegister(REG_PKT_RSSI_VALUE) - 164);
160160
}

src/LoRa.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class LoRaClass : public Stream {
1515
int endPacket();
1616

1717
int parsePacket();
18-
int packetRSSI();
18+
int packetRssi();
1919

2020
// from Print
2121
virtual size_t write(uint8_t byte);

0 commit comments

Comments
 (0)