Reference: https://github.com/Hamlib/Hamlib/blob/master/bindings/README.python and https://groups.io/g/KM4ACK-Pi/message/11752