https://github.com/lupin3000/rfcat-training
RfCat classes for training
https://github.com/lupin3000/rfcat-training
python rfcat yardstick
Last synced: 12 months ago
JSON representation
RfCat classes for training
- Host: GitHub
- URL: https://github.com/lupin3000/rfcat-training
- Owner: Lupin3000
- Created: 2021-02-07T10:29:32.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-02-28T10:20:26.000Z (over 5 years ago)
- Last Synced: 2025-03-21T18:52:04.608Z (about 1 year ago)
- Topics: python, rfcat, yardstick
- Language: Python
- Homepage: https://softwaretester.info
- Size: 190 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
README
srfcat
======
Install
_______
To install simply do following::
# clone repository
$ git clone https://github.com/Lupin3000/rfcat-training.git
# run installer
$ python rfcat-training/setup.py install
Usage
_____
To send a signal (with caution), simply do::
# import
>>> from srfcat import SendSignal
# create object
>>> send_rf = SendSignal()
# set values
>>> send_rf.set_frequency(434000000)
>>> send_rf.set_baud_rate(4800)
>>> send_rf.set_message('Hello World from RfCat...')
>>> send_rf.set_repeats(10)
# show send signal configuration
>>> send_rf.get_signal_dump()
# start send signal
>>> send_rf.send_signal()
To receive a signal, simply do::
# import
>>> from srfcat import ReceiveSignal
# create object
>>> receive_rf = ReceiveSignal()
# set values
>>> receive_rf.set_frequency(868000000)
>>> receive_rf.set_baud_rate(4800)
>>> receive_rf.set_lowball(True)
>>> receive_rf.set_max_power(True)
# show receive signal configuration
>>> receive_rf.get_signal_dump()
# start receive signal
>>> receive_rf.get_signal()
To uninstall::
# uninstall
$ pip uninstall srfc