sergev / baoclone

A command-line utility for saving, restoring and modifying the configuration of Baofeng handheld radios.
67 stars 12 forks source link

BF-R5 not detect #13

Open white-dragon opened 3 years ago

white-dragon commented 3 years ago

BF-R5 (aka BF-888 mini) does not detect i fix this by:

-    static const unsigned char UVB5_MODEL[] = "PROGRAM";
+   static const unsigned char UVB5_MODEL[] = "\2PROGRAM";

piece from chirp (h777.py):

        serial.write(b"\x02")
        time.sleep(0.1)
        serial.write(b"PROGRAM")
        ack = serial.read(1)
sergev commented 1 year ago

Fixed in https://github.com/sergev/baoclone/commit/7a5375d03ee69784e349873b0a03bbf509b62f10.