[chirp_users] Serial communication code ??

28 Jul
2020
28 Jul
'20
8:03 p.m.
Could somebody kindly give me a hint where to find serial communication code in chirp ? Just something general , not rig specific would be nice.
I expected pyserial but cannot find it
73
Thanks

28 Jul
28 Jul
8:20 p.m.
Hi Anne,
It rather depends on what you're looking for, but you'll find code that opens / closes the serial port in:
./chirp/ui/mainapp.py
As you might imagine, the port is used by code in many places, including the drivers. The drivers, in turn, use the port in different ways, depending on whether, for example, the radio is clone mode or live mode.
If you're on Linux or Mac, grep is your friend. For example:
$ grep -r "import serial" --include="*py" .
Hope that helps.
Martin. KD6YAM
On Tue, Jul 28, 2020 at 1:05 PM Anne Ranch anneranch2442@gmail.com wrote:
1712
Age (days ago)
1712
Last active (days ago)
1 comments
2 participants
participants (2)
-
Anne Ranch
-
Martin Cooper