mirror of
https://github.com/thetechprepper/emcomm-tools-os-community.git
synced 2026-09-17 15:41:44 -04:00
UV Pro - Fixed device path bug and added end-user troubleshooting instructions on failure to connect
This commit is contained in:
@@ -246,13 +246,18 @@ EOF
|
|||||||
|
|
||||||
update_ax25_conf
|
update_ax25_conf
|
||||||
|
|
||||||
sudo rfcomm connect ${BT_DEVICE} ${MAC} 1>/dev/null 2>&1 &
|
sudo rfcomm connect /dev/rfcomm0 ${MAC} 1>/dev/null 2>&1 &
|
||||||
|
|
||||||
sleep 10 && reset
|
sleep 10 && reset
|
||||||
|
|
||||||
if [[ ! -e "${BT_DEVICE}" ]]; then
|
if [[ ! -e "${BT_DEVICE}" ]]; then
|
||||||
echo -e "${RED}Failed to connect via Bluetooth${NC}\n"
|
echo -e "${RED}Failed to connect via Bluetooth${NC}"
|
||||||
echo -e "${YELLOW}Try turning off and back on your radio${NC}\n"
|
echo -e "${YELLOW}"
|
||||||
|
echo -e "1. Try turning off and back on your radio."
|
||||||
|
echo -e "2. Check your radio and ensure that ${BLUE}$(hostname)${YELLOW} is listed under:"
|
||||||
|
echo -e " Menu > General Settings> Connection > Paired Devices: $(hostname)."
|
||||||
|
echo -e ""
|
||||||
|
echo -e " If it is not listed, re-run: ${WHITE}$(basename $0) pair${NC}\n"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user