This pull request refactors the serial manager class and the RN2483 radio process class to be more readable.
Changes include:
Removing the inheritance of the Process class from all of the process classes, since it is unnecessary when using Process(target=x, args=(...)).start() anyways.
The RN2483 radio process has become a single function since it does not require a class and only the .run() method was relevant
All logic for controlling the RN2483 radio has been refactored into an RN2483Radio class which exposes only the necessary public interface.
Signal report queue now carries integers since SNR measurements are between -128 and 127.
Now it seems that the system can consistently receive transmissions as they are sent with a short delay due to serial flushing. Perhaps the delay can be reduced.
This pull request refactors the serial manager class and the RN2483 radio process class to be more readable.
Changes include:
Process
class from all of the process classes, since it is unnecessary when usingProcess(target=x, args=(...)).start()
anyways..run()
method was relevantNow it seems that the system can consistently receive transmissions as they are sent with a short delay due to serial flushing. Perhaps the delay can be reduced.