fphammerle / python-cc1101

Python Library & Command Line Tool to Transmit RF Signals via CC1101 Transceivers
https://pypi.org/project/cc1101/
GNU General Public License v3.0
81 stars 15 forks source link

usb chip part number 255 support #178

Open adminy opened 6 months ago

adminy commented 6 months ago

Hi, I got a CC1101 usb dongle uart device.

I'm getting ValueError: unexpected chip part number 255 (expected: 0)

Can't be the wiring since its usb. lsusb:

Bus 003 Device 004: ID 10c4:ea60 Silicon Labs CP210x UART Bridge
fphammerle commented 6 months ago

Hi,

this library only supports CC1101 connected via SPI. UART is currently not supported.

Could you share documentation for the UART protocol? (for future reference; in case someone wants to implement support for UART)

adminy commented 5 months ago

Here is a gist of how it can be used: https://gist.github.com/adminy/fbced8604db9d93224e106d8d0b73c8a