mirror of
https://github.com/thetechprepper/emcomm-tools-os-community.git
synced 2026-09-17 15:41:44 -04:00
BTECH UV PRO - Initial support for connecting to the Bluetooth serial device on the BTECH UV PRO.
This commit is contained in:
@@ -79,7 +79,7 @@ USERS_GID=1981
|
||||
# new users to other groups.
|
||||
# This is the list of groups that new non-system users will be added to
|
||||
# Default:
|
||||
EXTRA_GROUPS="dialout cdrom floppy audio video plugdev users"
|
||||
EXTRA_GROUPS="bluetooth dialout cdrom floppy audio video plugdev users"
|
||||
|
||||
# If ADD_EXTRA_GROUPS is set to something non-zero, the EXTRA_GROUPS
|
||||
# option above will be default behavior for adding new, non-system users
|
||||
|
||||
@@ -0,0 +1,82 @@
|
||||
# BTECH UV Pro Bluetooth TNC Notes
|
||||
|
||||
## Linux Packet Configuration
|
||||
|
||||
Edit `/etc/ax25/axports` has root and add the following line.
|
||||
|
||||
```
|
||||
PKT1200 KT7RUN 1200 255 2 145.710
|
||||
```
|
||||
|
||||
## Radio Configuration
|
||||
|
||||
* KISS TNC > Enable KISS TNC = checked
|
||||
|
||||
## Pair Radio and Computer
|
||||
|
||||
1. On the radio, start the pairing process by navigating to
|
||||
Menu > Pairing.
|
||||
|
||||
2.
|
||||
|
||||
3. On the computer, run `bluetoothctl`
|
||||
|
||||
```
|
||||
> power on
|
||||
> scan on
|
||||
> pair 38:D2:00:00:ED:C8
|
||||
> trust 38:D2:00:00:ED:C8
|
||||
> quit
|
||||
```
|
||||
|
||||
## If you're already paired
|
||||
|
||||
1. Kill any instances of rfcomm if they are running
|
||||
|
||||
```
|
||||
sudo killall rfcomm
|
||||
```
|
||||
|
||||
2.
|
||||
|
||||
```
|
||||
$ sudo rfcomm connect /dev/rfcomm0 38:D2:00:00:ED:C8
|
||||
Connected /dev/rfcomm0 to 38:D2:00:00:ED:C8 on channel 1
|
||||
Press CTRL-C for hangup
|
||||
```
|
||||
|
||||
3. In another window, check that you are connected.
|
||||
|
||||
```
|
||||
bluetoothctl info 38:D2:00:00:ED:C8 | grep Connected | awk '{print $2}'
|
||||
```
|
||||
|
||||
4. Kill any instances of kissattach if they are running.
|
||||
|
||||
```
|
||||
sudo killall kissattach
|
||||
```
|
||||
|
||||
5. Attach to the desired AX.25 port.
|
||||
|
||||
```
|
||||
$ sudo kissattach /dev/rfcomm0 PKT1200
|
||||
AX.25 port PKT1200 bound to device ax0
|
||||
```
|
||||
|
||||
6. Connect to the BBS
|
||||
|
||||
```
|
||||
axcall PKT1200 TTPBBS
|
||||
```
|
||||
|
||||
Listen to incoming and outgoing packets and capture the time
|
||||
stamps for the traffic.
|
||||
|
||||
```
|
||||
$ sudo axlisten -a -t
|
||||
```
|
||||
|
||||
## Troubleshooting
|
||||
|
||||
1. systemctl status bluetooth
|
||||
@@ -0,0 +1,7 @@
|
||||
%bluetooth ALL=(ALL) NOPASSWD: /usr/bin/rfcomm *
|
||||
%bluetooth ALL=(ALL) NOPASSWD: /usr/sbin/kissattach /dev/rfcomm0 *
|
||||
%bluetooth ALL=(ALL) NOPASSWD: /usr/sbin/kissparms *
|
||||
|
||||
%bluetooth ALL=(ALL) NOPASSWD: /usr/bin/killall kissattach
|
||||
%bluetooth ALL=(ALL) NOPASSWD: /usr/bin/killall kissattach
|
||||
%bluetooth ALL=(ALL) NOPASSWD: /usr/bin/killall rfcomm
|
||||
Reference in New Issue
Block a user