Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update master branch from lite-beta branch #14

Merged
merged 131 commits into from
Oct 6, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
131 commits
Select commit Hold shift + click to select a range
495e9b4
Delete .gitattributes
2bndy5 Nov 23, 2019
9b6d3b9
found pin conflict in irq example -> uses d12 now
2bndy5 Feb 18, 2020
3ad18e5
update from logitech-mouse branch
2bndy5 Mar 21, 2020
03033a6
(-) sniffer/logiMouse (+) fake_ble back in
2bndy5 Mar 21, 2020
88acd6a
pleasing travis & pylint
2bndy5 Mar 21, 2020
a5008aa
forgot i renamed those vars
2bndy5 Mar 21, 2020
6cab1cc
(docs) this will do for now
2bndy5 Mar 21, 2020
b4a0577
migrated docstring to api.rst
2bndy5 Mar 21, 2020
725bd3e
migrated breif docstring back to rf24.py & removed all option args fr…
2bndy5 Mar 21, 2020
243eb3c
fixed examples accordingly
2bndy5 Mar 21, 2020
53cd095
blank __init__.py, (-) most comments, & (-) reset param in close_tx_…
2bndy5 Mar 23, 2020
e0c3d9c
indentations use tabs (saved 5KB)
2bndy5 Mar 23, 2020
90356f7
rf24_m0.py works on trinket and feather express
2bndy5 Mar 24, 2020
55b8186
Update build.yml
2bndy5 Mar 25, 2020
fb07eb4
fixed gitignore for "build" actions
2bndy5 Mar 25, 2020
e88e140
readying github actions & updated examples' import statements
2bndy5 Mar 25, 2020
4f2e9e9
Create build.yml
2bndy5 Mar 25, 2020
61fef47
docs tweaks
2bndy5 Mar 25, 2020
0e9fc31
using template for repo name in "build assets" job
2bndy5 Mar 25, 2020
b1a9c0d
reducing even more! documented changes in lite version
2bndy5 Mar 25, 2020
65d3b63
renaming file for implicit meaning
2bndy5 Mar 25, 2020
73ede45
update rf24.py w/ some optimizations from lite ver
2bndy5 Mar 25, 2020
1b7651e
decided to not inherit RF24; now a class wrapper
2bndy5 Mar 26, 2020
cbec57d
works w/ tinypico (esp32)
2bndy5 Apr 3, 2020
a3d898b
pylint: disabling too-many-locals check
2bndy5 Apr 3, 2020
868325b
"pipe()" is now read-only attribute "pipe"
2bndy5 Apr 3, 2020
c856f0b
weird sphinx complaint about indent
2bndy5 Apr 3, 2020
cd2ec4a
oh-k fixed docs about "pipe"
2bndy5 Apr 3, 2020
e0d5e6c
no more timeout calc; payload_length attribute changed
2bndy5 Apr 5, 2020
53b18de
typo in docs
2bndy5 Apr 5, 2020
e924bcd
(-) `pa_level` from lite ver
2bndy5 Apr 5, 2020
3e130e6
`pipe` does not call `update()`; doc tweaks
2bndy5 Apr 6, 2020
db1e1dc
some doc revision; pipe doesn't call update()
2bndy5 Jul 25, 2020
141b2fe
formatting fixes; (+) pipe & rpd in lite ver
2bndy5 Jul 25, 2020
58d88d9
use self._addr_len in open_rx/tx_pipe()
2bndy5 Sep 6, 2020
cff9267
typo in readme; change to csv-table
2bndy5 Sep 11, 2020
510effd
add build-tools output to gitignore; fix no _spi
2bndy5 Sep 11, 2020
d19f848
fix result ref'd b4 assignment in send()
2bndy5 Sep 11, 2020
d6be50f
fix address() returning long bytearray of 0s
2bndy5 Sep 11, 2020
d80db74
debugged context example & what_happened()
2bndy5 Sep 11, 2020
9ec3a43
improving returned results from send()
2bndy5 Sep 11, 2020
10de8e4
make simple test more successful
2bndy5 Sep 11, 2020
784ad6f
make ack_payload example more successful
2bndy5 Sep 11, 2020
0c4f982
adjustments for rf24_lite.py
2bndy5 Sep 12, 2020
f8b4fe8
pleasing black and pylint
2bndy5 Sep 12, 2020
b9e8249
Merge branch 'master' into lite-beta
2bndy5 Sep 12, 2020
08cbc58
proofreading
2bndy5 Sep 12, 2020
e00d2ba
Merge branch 'lite-beta' of https://github.com/2bndy5/CircuitPython_n…
2bndy5 Sep 12, 2020
2f1893d
doc tweaks
2bndy5 Sep 12, 2020
cc50da9
(-) addr_len check on functions about pipe addr
2bndy5 Sep 12, 2020
6c3930f
condensed listen.setter
2bndy5 Sep 12, 2020
878523a
multi-payloads rely on write() format check
2bndy5 Sep 13, 2020
af0dcea
prioritize init(); get HW check done 1st
2bndy5 Sep 13, 2020
20a6d9e
(+) per pipe control; increased SPI baudrate
2bndy5 Sep 15, 2020
9dc34b9
fixed saving address shadow copy in open_tx_pipe()
2bndy5 Sep 15, 2020
8370ade
keep _pipes[0] mutable
2bndy5 Sep 15, 2020
e2244eb
recv() exits RX mode while fetching payload
2bndy5 Sep 15, 2020
319dd69
undo last commit; any() uses update() & pipe attr
2bndy5 Sep 15, 2020
82f7ceb
(+) carrier wave funcs; example code in API docs
2bndy5 Sep 16, 2020
db43af0
pleaseing black
2bndy5 Sep 16, 2020
ffd7229
move rpd in docs closer to carrier wave funcs
2bndy5 Sep 16, 2020
aab82e8
(+) info about SI24R1 in readme
2bndy5 Sep 16, 2020
45cfb54
cleanup; lite version works; 2arduino = no joy
2bndy5 Sep 16, 2020
73a8896
fixed 2arduino example; it works w/ [email protected]
2bndy5 Sep 17, 2020
504f0f6
use LNA_HCURR bit; mod'd readme about clones
2bndy5 Sep 18, 2020
d2bb51c
lite.mpy size down to 10252 bytes
2bndy5 Sep 18, 2020
d148090
recv() takes length arg
2bndy5 Sep 20, 2020
47ce366
fix sphinx build
2bndy5 Sep 20, 2020
01f4b53
use latest pylint and black in buld.yml
2bndy5 Sep 20, 2020
6dfa00f
revise info about recv()'d data
2bndy5 Sep 20, 2020
ad41d57
(+) configuration API to match TMRh20 docs
2bndy5 Sep 20, 2020
f2594e3
enable LNA by default; discuss PA/LNA in readme
2bndy5 Sep 20, 2020
1c0fe3c
enable auto_ack when dynamic_payloads are enabled
2bndy5 Sep 20, 2020
d968234
documented spi_frequency, a kwarg to c'tor
2bndy5 Sep 24, 2020
b0d6f3a
typo in c'tor docs
2bndy5 Sep 24, 2020
81892a5
specify units for spi_frequency kwarg in docs
2bndy5 Sep 24, 2020
07a81b9
typo
2bndy5 Sep 25, 2020
7707ebb
manual rebase from lite-beta
2bndy5 Sep 25, 2020
5012086
copied crc work from my roboclaw lib
2bndy5 Sep 25, 2020
d8294ce
payload assembly is broken
2bndy5 Sep 25, 2020
259d45d
docs build; FakeBLE ctx independent of RF24 ctx
2bndy5 Sep 25, 2020
571ae48
swing and a miss
2bndy5 Sep 26, 2020
ccd8be0
crc works
2bndy5 Sep 27, 2020
b3a839c
fix bug when padding static payloads
2bndy5 Sep 27, 2020
6d8fe91
THIS WORKS!!!!!!!!!!
2bndy5 Sep 27, 2020
a8b411a
updated docs
2bndy5 Sep 27, 2020
8cff3af
Merge branch 'lite-beta' into BLEfake
2bndy5 Sep 27, 2020
3383006
fix ref in docs
2bndy5 Sep 27, 2020
a88f2fe
Update README.rst
2bndy5 Sep 27, 2020
384eb64
fix fake_ble docs not showing completely
2bndy5 Sep 27, 2020
af47fd9
update readme
2bndy5 Sep 27, 2020
7b6997e
add flag for broadcasting to iPhone
2bndy5 Sep 27, 2020
72c4e6c
expose whitening() for future research
2bndy5 Sep 27, 2020
eb8654f
Merge pull request #16 from 2bndy5/BLEfake
2bndy5 Sep 27, 2020
9d69545
expanded docs on whiten()
2bndy5 Sep 27, 2020
433e1a7
handling data; needs tweaking
2bndy5 Sep 28, 2020
c3d5b10
BLE capabilities are very limited; updated docs
2bndy5 Sep 29, 2020
a13f331
keep to_iphone true in BLE example
2bndy5 Sep 29, 2020
5e9112d
trim trailing whitespace; super w/o args
2bndy5 Sep 29, 2020
94441f0
unused import in BLE example
2bndy5 Sep 29, 2020
751fb9c
BLE API toc tree corrected
2bndy5 Sep 29, 2020
8cccfcc
this feels stable
2bndy5 Sep 30, 2020
29bb9ea
fix load_ack() in lite ver; FakeBLE.enter modified
2bndy5 Sep 30, 2020
6923190
too many ambiant signals to tackle receiving BLE
2bndy5 Sep 30, 2020
dc3f878
need to advertise for longer to be noticed
2bndy5 Sep 30, 2020
dc7e247
clarify UUID attr
2bndy5 Sep 30, 2020
03f921c
freaking trailing whitespace
2bndy5 Sep 30, 2020
5dbe4d8
error in docs about send() return values
2bndy5 Sep 30, 2020
bdebe07
clarify docs about UrlServiceData.pa_level (@1m)
2bndy5 Sep 30, 2020
c6ea5b1
examples use -12 dBm; no debug prompt in rf24_lite
2bndy5 Oct 1, 2020
7ed6adb
fix URLServiceData.uuid property
2bndy5 Oct 1, 2020
350245d
PR self-review changes
2bndy5 Oct 2, 2020
fc97570
more backward compatibility for non-plus variants
2bndy5 Oct 2, 2020
1f5ed98
clarify relations of dynamic_payloads & auto_ack
2bndy5 Oct 2, 2020
d6b6f17
reverses bits not endianess
2bndy5 Oct 2, 2020
5c2c4c1
fix bugs about ctx mgr & prompt in what_happened()
2bndy5 Oct 2, 2020
38f8cf1
fix ble example
2bndy5 Oct 2, 2020
aed6497
didn't need that import anyway
2bndy5 Oct 2, 2020
a73d2ca
typo
2bndy5 Oct 3, 2020
6c5d6ad
proofreading
2bndy5 Oct 3, 2020
e2488d6
new send_only param for send() & resend()
2bndy5 Oct 3, 2020
36aa0ad
skip a pipe if when index's value is invalid
2bndy5 Oct 3, 2020
d40f309
readme placeholder; adjust ble example
2bndy5 Oct 4, 2020
8f9d071
BLE data_rate is fixed; some docs improvements
2bndy5 Oct 4, 2020
e5346dd
testing examples on RPi
2bndy5 Oct 4, 2020
4508fc6
IRQ test uses ACK payloads; rf24_lite has fifo()
2bndy5 Oct 5, 2020
542710a
more proofreading
2bndy5 Oct 5, 2020
4d927cc
don't flush RX FIFO if send_only==True
2bndy5 Oct 5, 2020
eaf8740
forgot intro prompt in irq test
2bndy5 Oct 5, 2020
7e23ad4
use send_only in recursion & during force_retries
2bndy5 Oct 5, 2020
568d39e
write() has write_only param for ignoring CE pin
2bndy5 Oct 6, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,17 +37,18 @@ jobs:
- name: Install deps
run: |
source actions-ci/install.sh

- name: Pip install pylint, black, & Sphinx
run: |
pip install --force-reinstall pylint==1.9.2 black==19.10b0 Sphinx sphinx-rtd-theme
pip install pylint black Sphinx sphinx-rtd-theme
- name: Library version
run: git describe --dirty --always --tags
- name: PyLint
run: |
pylint --disable=too-many-statements,too-many-arguments,too-many-instance-attributes,too-many-public-methods,too-many-locals circuitpython_nrf24l01/*.py
pylint --disable=too-many-instance-attributes,too-many-public-methods,too-many-locals circuitpython_nrf24l01/*.py
([[ ! -d "examples" ]] || pylint --disable=invalid-name $( find . -path "./examples/*.py" ))
- name: Build assets
run: circuitpython-build-bundles --filename_prefix ${{ steps.repo-name.outputs.repo-name }} --library_location . --package_folder_prefix circuitpython_nrf24l01
run: circuitpython-build-bundles --filename_prefix ${{ steps.repo-name.outputs.repo-name }} --library_location . --package_folder_prefix ${{ steps.repo-name.outputs.repo-name }}
- name: Build docs
working-directory: docs
run: sphinx-build -E -W -b html . _build/html
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
run: |
source actions-ci/install.sh
- name: Build assets
run: circuitpython-build-bundles --filename_prefix ${{ steps.repo-name.outputs.repo-name }} --library_location . --package_folder_prefix circuitpython_nrf24l01
run: circuitpython-build-bundles --filename_prefix ${{ steps.repo-name.outputs.repo-name }} --library_location . --package_folder_prefix ${{ steps.repo-name.outputs.repo-name }}
- name: Upload Release Assets
# the 'official' actions version does not yet support dynamically
# supplying asset names to upload. @csexton's version chosen based on
Expand Down
137 changes: 126 additions & 11 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,13 +1,128 @@
*.mpy
.idea
__pycache__
_build
*.pyc
__pycache__/
*.py[cod]
*$py.class

# C extensions
*.so

# Distribution / packaging
.Python
build*/
bundles/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
pip-wheel-metadata/
share/python-wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST

# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.nox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
*.py,cover
.hypothesis/
.pytest_cache/

# Translations
*.mo
*.pot

# Django stuff:
*.log
local_settings.py
db.sqlite3
db.sqlite3-journal

# Flask stuff:
instance/
.webassets-cache

# Scrapy stuff:
.scrapy

# Sphinx documentation
docs/_build/

# PyBuilder
target/

# Jupyter Notebook
.ipynb_checkpoints

# IPython
profile_default/
ipython_config.py

# pyenv
.python-version

# pipenv
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
# However, in case of collaboration, if having platform-specific dependencies or dependencies
# having no cross-platform support, pipenv may install dependencies that don't work, or not
# install all needed dependencies.
#Pipfile.lock

# celery beat schedule file
celerybeat-schedule

# SageMath parsed files
*.sage.py

# Environments
.env
build*
bundles
*.DS_Store
.eggs
dist
**/*.egg-info
.venv
env/
venv/
ENV/
env.bak/
venv.bak/

# Spyder project settings
.spyderproject
.spyproject

# Rope project settings
.ropeproject

# mkdocs documentation
/site

# mypy
.mypy_cache/
.dmypy.json
dmypy.json

# Pyre type checker
.pyre/

# VS Code folder
.vscode
Loading