This is a Node.js script used in conjucture with "Chirp" to upload an image to multiple radios in sequence, by plugging each radio one after the other. For now it only supports the Baofeng UV-5R. Feel free to contribute to support other radios. You can also download and/or upload an image from/to a single radio.
This script is provided "as-is", you should understand what it does before using it.
- You must run this script in a Linux environnement (WSL works too)
- You must have NodeJS and Chirp installed
- Add your images to the
mmap/folder at the root of the project - Specify the path to the
chirpcbinary inconfig.json - Plug in your radio with the programming cable
- Run the script and follow the instructions
From https://learn.microsoft.com/en-us/windows/wsl/connect-usb
- Install
usbipd - Connect the USB cable to your computer
- In an terminal, as administrator, type
usbipd list - To share the device, type
usbipd bind --busid 4-4by replacing 4-4 with the range retrieved from the previous command - Attach the device to WSL using :
usbipd attach --wsl --busid <busid> - From WSL, run
lsusbto confirm that the device is connected - To detach the device from WSL, simply unplug it or run
usbipd detach --busid <busid>
If this helped you, consider buying me a coffee !
