Skip to content

Conversation

@jerryneedell
Copy link
Contributor

@jerryneedell jerryneedell commented Mar 5, 2020

fixes #22
the rssi property reads the current state of RSSI register and it may not be meaningful if not read immediately after the packet it received. This PR adds a last_rssi attribute which holds the RSSI reading from the last packet received.

Tested on Raspberry Pi with RFM69 Bonnet

@jerryneedell jerryneedell requested a review from brentru March 5, 2020 13:57
Copy link
Member

@brentru brentru left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like this implementation, are you going to add it to RFM9x?

@brentru brentru merged commit 7b6cbcc into adafruit:master Mar 5, 2020
@jerryneedell jerryneedell deleted the jerryn_rssi branch March 5, 2020 15:22
@jerryneedell
Copy link
Contributor Author

@brentru I'll look at rfm9x -- it handles RSSI a bit differently but we should make it consistent.

adafruit-adabot added a commit to adafruit/Adafruit_CircuitPython_Bundle that referenced this pull request Mar 6, 2020
Updating https://github.com/adafruit/Adafruit_CircuitPython_IL91874 to 1.0.2 from 1.0.1:
  > build.yml: move pylint, black, and Sphinx installs to each repo; add description to 'actions-ci/install.sh'
  > Merge pull request adafruit/Adafruit_CircuitPython_IL91874#6 from danlove99/master

Updating https://github.com/adafruit/Adafruit_CircuitPython_LSM6DS to 2.0.2 from 2.0.1:
  > Merge pull request adafruit/Adafruit_CircuitPython_LSM6DS#8 from ladyada/master
  > build.yml: move pylint, black, and Sphinx installs to each repo; add description to 'actions-ci/install.sh'
  > Merge pull request adafruit/Adafruit_CircuitPython_LSM6DS#7 from ladyada/master

Updating https://github.com/adafruit/Adafruit_CircuitPython_PyPortal to 3.1.11 from 3.1.10:
  > build.yml: move pylint, black, and Sphinx installs to each repo; add description to 'actions-ci/install.sh'
  > Merge pull request adafruit/Adafruit_CircuitPython_PyPortal#66 from ladyada/master

Updating https://github.com/adafruit/Adafruit_CircuitPython_RFM69 to 1.4.0 from 1.3.1:
  > Merge pull request adafruit/Adafruit_CircuitPython_RFM69#23 from jerryneedell/jerryn_rssi

Updating https://github.com/adafruit/Adafruit_CircuitPython_BLE_BroadcastNet to 0.8.0 from df145c9:
  < Merge pull request adafruit/Adafruit_CircuitPython_BLE_BroadcastNet#3 from tannewt/update_doc

Updating https://github.com/adafruit/Adafruit_CircuitPython_Debug_I2C to 1.0.1 from 4e7463b:
  < build.yml: move pylint, black, and Sphinx installs to each repo; add description to 'actions-ci/install.sh'

Updating https://github.com/adafruit/Adafruit_CircuitPython_ProgressBar to 1.1.1 from 73870c4:
  < build.yml: move pylint, black, and Sphinx installs to each repo; add description to 'actions-ci/install.sh'

Updating https://github.com/adafruit/Adafruit_CircuitPython_WSGI to 1.0.0 from e7835a7:
  < build.yml: move pylint, black, and Sphinx installs to each repo; add description to 'actions-ci/install.sh'

Updating https://github.com/adafruit/Adafruit_CircuitPython_Bundle/circuitpython_library_list.md to NA from NA:
  > Added the following libraries: Adafruit_CircuitPython_BLE_BroadcastNet, Adafruit_CircuitPython_Debug_I2C, Adafruit_CircuitPython_ProgressBar, Adafruit_CircuitPython_WSGI
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

RSSI values wrong

2 participants