root@Omega-****:~# python3
Python 3.6.10 (default, Apr 09 2020, 14:46:56)
[GCC 7.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import cc1101
>>> with cc1101.CC1101(spi_bus=0, spi_chip_select=1) as t:
... print(t)
...
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python3.6/site-packages/cc1101/__init__.py", line 526, in __enter__
self._verify_chip()
File "/usr/lib/python3.6/site-packages/cc1101/__init__.py", line 484, in _verify_chip
partnum, self._SUPPORTED_PARTNUM
ValueError: unexpected chip part number 112 (expected: 0)
>>>
root@Omega-****:~# python3
Python 3.6.10 (default, Apr 09 2020, 14:46:56)
[GCC 7.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import cc1101
>>> with cc1101.CC1101(spi_bus=0, spi_chip_select=1) as t:
... print(t)
...
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python3.6/site-packages/cc1101/__init__.py", line 526, in __enter__
self._verify_chip()
File "/usr/lib/python3.6/site-packages/cc1101/__init__.py", line 484, in _verify_chip
partnum, self._SUPPORTED_PARTNUM
ValueError: unexpected chip part number 32 (expected: 0)
>>>
root@Omega-****:~# grep ^Version /usr/lib/python3.6/site-packages/cc1101-2.6.1.dist-info/METADATA
Version: 2.6.1
root@Omega-****:~# opkg info python3 | grep Version
Version: 3.6.10-1
root@Omega-****:~# opkg info python3-spidev
Package: python3-spidev
Version: 4.0.1-2
Depends: libc, python3-base
Status: install user installed
Architecture: mipsel_24kc
Installed-Time: 1610908467
board: https://onion.io/store/omega2p/
wiring: https://docs.onion.io/omega2-docs/communicating-with-spi-devices.html
board: https://onion.io/store/omega2p/
wiring: https://docs.onion.io/omega2-docs/communicating-with-spi-devices.html