main

Make the project in edit mode
>>>  pip install -e .
>>> rfcentral -p 65.55 -d ttyACM0
Note: Check the devicemanager from control panel for the port name
rfcentral.main.get_cli_value() tuple[float, float, str]
rfcentral.main.main() None

This is the main function that executes the program. This function uses argparse to handle input from the command line.

Command-line arguments

-pfloat

energy warning level; default to 50 dBm

-dstr

device name default to ‘ttyACM0’

Examples

>>> rfcentral -p 65.55 -d ttyACM0