Commit Graph

22 Commits (347e062026dd84d7a3862554b426231cae142ef1)

Author SHA1 Message Date
Alligitor 347e062026 Added an option on the UI for turn raw byte print on/off.
The button on the UI sends a message to radio thread for changing the print_raw_data flag.
I could have also done this differently by doing the following:
change the log message type from RNode to UI to differentiate logs from raw data.
do the filtering of whether raw bytes are printed or not on the UI side.
2025-04-22 16:35:04 +00:00
Alligitor 4fc9fce834 Addd a mechanism for the UI to get values from Freq, bandwidth, coding rate, spread factor widgets and send them to the RNode thread for processing.
the RNode thread gets the values and sends them to the radio.
If the radio firmware accepts the values, a response is sent back. The response is then processed and the UI is updated.
So, the true test of whether a value took, is the radio sending back a resonse and seeing the label on the UI change.
2025-04-22 02:25:22 +00:00
Alligitor ac9b643a7d Changed how buttons handle input.
Instead of having the main app handle it, now the handler is part of the class.
Also added a name to the SubmitEdit class, so a single handler can decide what widget activated the handler.
Renamed a bunch of functions to make it easier to follow.
2025-04-21 23:26:42 +00:00
Alligitor 1cb7a73eb6 Added two new parameters to track between the app and RNode 2025-04-21 17:46:49 +00:00
Alligitor 44e9d5c0c3 Corrected a few print statements and converted them to go to RNS.log 2025-04-20 23:04:54 +00:00
Alligitor ffd27fb661 Corrected an issue with returning number of captured packets.
Removed the message when serial port is openned, if -Q is given
2025-04-20 16:35:44 +00:00
Alligitor 591e5213f9 Removed some of the unused member variables. Renamed a few others. 2025-04-20 15:07:01 +00:00
Alligitor a6df76b928 Added UI. 2025-04-20 13:35:00 +00:00
Alligitor 9e42bf06bc Added an option for setting promiscuous mode.
Fixed the issue with print_hex not being defined.
2025-04-17 10:54:33 -04:00
Alligitor 31b9bd06e4 Added printing of parameters for CHTM and PHYPRM 2025-04-12 13:26:08 -04:00
Alligitor 31077bbeb7 Updated frame processing.
Added an option to print rad bytes for every frame
2025-04-12 13:01:48 -04:00
Alligitor 56ed41e16f Added handler for a few messages (CHTM, PHYPRM, BAT).
To get confirmation for PROMSC mode, added handler for response from RNode and removed the hard coded message.
2025-04-10 09:10:46 -04:00
Alligitor 7ae6220284 Added an option for quite mode, which turns off logging.
Fixed a number of issues with duration command. We have to wait until rnode is initialized before staring to count seconds. Otherwise, the thread terminates before radio is full initialized.
2025-04-09 11:18:35 -04:00
Alligitor 03c2c1720b Corrected the following error:
loramon.py:542: DeprecationWarning: setDaemon() is deprecated, set the daemon attribute instead
  thread.setDaemon(True)

by using thread.daemon = True
2025-04-09 08:23:29 -04:00
Alligitor c334842f08 Add a mechanism for specifying the duration of time for capturing packets. Also, changed the return code to be number of packets that were captured. 2025-04-09 08:03:30 -04:00
Dionysis Grigoropoulos a909a3619b
Fix bug when txp isn't defined 2023-10-28 23:47:39 +03:00
Mark Qvist 0d84b65f80 Changed default setting 2022-09-13 21:10:20 +02:00
Mark Qvist e3a9b0872f Added hex output 2022-01-10 19:17:02 +01:00
Mark Qvist b97864661d Added implicit mode sniffing 2021-03-12 17:45:24 +01:00
Mark Qvist 1288f1c1b5 Fixed file open mode 2021-01-29 09:01:57 +01:00
Mark Qvist e8d2781122 Fixed importlib import error on Linux 2020-05-26 21:52:27 +02:00
Mark Qvist 4937f82aa7 Prepared for pip distribution 2020-05-21 14:37:14 +02:00