BLERadios » History » Version 2
Pavel Moravec, 12/01/2024 12:06 PM
1 | 1 | Dan Smith | # Bluetooth (BLE) Radios |
---|---|---|---|
2 | |||
3 | Using Bluetooth radio (which use a BLE-based serial approach): |
||
4 | |||
5 | It works on Linux (and possibly MacOS) if you use the ble-serial: |
||
6 | 2 | Pavel Moravec | 1. Install ble-serial Python package ( `pip install ble-serial` ) |
7 | 2. Make note of the Radio MAC address (`xx:xx:xx:xx:xx:xx`) e.g. from Android BT application (or install `blescan` the same way and use `sudo blescan` to find the devices in neighborhood) |
||
8 | 1 | Dan Smith | 3. run `ble-serial -d xx:xx:xx:xx:xx:xx` (`xx:xx:xx:xx:xx:xx` being the address) |
9 | 4. In the Download/Upload dialog choose `/tmp/ttyBLE` as the Custom... port and do standard download/upload |
||
10 | 5. Please note that the radio restarts after upload and BLE BT connection is lost, you have to restart ble-serial in such case |
||
11 | 2 | Pavel Moravec | 6. If you want to make it permanent, add `/tmp/ttyBLE` to `favorite_ports=` (as described on [[AdvancedConfig]]) into the `[state]` section (you may have to create the key) in `~/.chirp/chirp.config` with your favorite editor to have it always listed in port list: |
12 | 1 | Dan Smith | |
13 | ``` |
||
14 | favorite_ports = /tmp/ttyBLE |
||
15 | ``` |