File tree 5 files changed +5
-5
lines changed
5 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ Returns the packet size or `0` if no packet was received.
94
94
### Packet RSSI
95
95
96
96
``` arduino
97
- int rssi = LoRa.packetRSSI ();
97
+ int rssi = LoRa.packetRssi ();
98
98
```
99
99
100
100
Returns the RSSI of the received packet.
Original file line number Diff line number Diff line change @@ -27,6 +27,6 @@ void loop() {
27
27
28
28
// print RSSI of packet
29
29
Serial.print (" ' with RSSI " );
30
- Serial.println (LoRa.packetRSSI ());
30
+ Serial.println (LoRa.packetRssi ());
31
31
}
32
32
}
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ beginPacket KEYWORD2
19
19
endPacket KEYWORD2
20
20
21
21
parsePacket KEYWORD2
22
- packetRSSI KEYWORD2
22
+ packetRssi KEYWORD2
23
23
24
24
write KEYWORD2
25
25
Original file line number Diff line number Diff line change @@ -154,7 +154,7 @@ int LoRaClass::parsePacket()
154
154
return packetLength;
155
155
}
156
156
157
- int LoRaClass::packetRSSI ()
157
+ int LoRaClass::packetRssi ()
158
158
{
159
159
return (readRegister (REG_PKT_RSSI_VALUE) - 164 );
160
160
}
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ class LoRaClass : public Stream {
15
15
int endPacket ();
16
16
17
17
int parsePacket ();
18
- int packetRSSI ();
18
+ int packetRssi ();
19
19
20
20
// from Print
21
21
virtual size_t write (uint8_t byte);
You can’t perform that action at this time.
0 commit comments