- class rfnode.common.setting.Setting
Bases:
object- fr_sender_port_windows: str = 'COM3'
- freq_end: float = 109.5
- freq_start: float = 103.5
- freq_step: int = 100
- static load_setting(file: str)
Reads the JSON file and updates the class attributes with the values from the file.
- Parameters:
file (str) – Representing the path to the JSON configuration file.
- power_threshold: float = 20.0
- rf_sender_port: str = 'ttyACM0'
- rf_sleep_time: float = 0.1
- sample_size: int = 1024