Public version of GSM QualTest agent for deploying
Go to file
Dmytro Bogovych 4db0350dfe - fixes 2023-08-22 18:55:00 +03:00
audio - initial import 2023-08-09 19:53:31 +03:00
bin - initial import 2023-08-09 19:53:31 +03:00
config - add config_dir option 2023-08-20 13:03:30 +03:00
docs - import changes from master repo 2023-08-11 15:13:43 +03:00
setup - fixes 2023-08-14 16:00:13 +03:00
src - fixes 2023-08-22 18:55:00 +03:00
INSTALL.md - fix bad filename 2023-08-10 11:00:54 +03:00
README.md - initial import 2023-08-09 19:53:31 +03:00
bad_network_start.sh - initial work to support offline mode 2023-08-20 13:00:37 +03:00
bad_network_stop.sh - initial work to support offline mode 2023-08-20 13:00:37 +03:00
connect_phone.sh - fix setup errors 2023-08-12 15:36:12 +03:00
debug_node.sh - initial work to support offline mode 2023-08-20 13:00:37 +03:00
disable_onboard_bluetooth.sh - initial import 2023-08-09 19:53:31 +03:00
pi_bootstrap_bt.sh - initial import 2023-08-09 19:53:31 +03:00
run_node.sh - allow test run from command line (config is no more needed) 2023-08-14 17:18:38 +03:00
view_log.sh - more changes from master repo 2023-08-10 07:52:10 +03:00

README.md

Requirements:

sudo pip3 install rabbitpy sox pydub pyyaml

BT MAC addresses for test phones:

  • D0:C5:F3:E0:4E:2D - iPhone BT MAC
  • 50:8E:49:EC:B3:A4 - Redmi Note 9T
  • A8:96:75:01:AA:57 - Moto G5
  • 20:F4:78:63:0E:E5 - Xiaomi 11 5G Lite

Tricks:

  • to fix BT error 'Waiting for phone index...' load bluetooth module(s) pacmd load-module module-bluetooth-discover

    This happens on RPi 4 sometimes.

  • to avoid ALSA error "device busy" on RPi:

    sudo apt-get install alsa-base sudo alsa force-reload

    or (for raspbian) sudo /etc/init.d/alsa-utils stop sudo alsa force-reload (or sudo alsactl kill rescan) sudo /etc/init.d/alsa-utils start

  • to fix ofono error: sudo systemctl restart ofono

  • to check if mobile helper app is installed: adb shell pm path biz.sevana.qualtestgsm

  • to start mobile helper app: adb shell am start -n biz.sevana.qualtestgsm/.MainActivity

  1. Connect bluetooth to your phone.
  • bluetoothctl
  • power on
  • agent on
  • default-agent

Scan the nearby devices

  • scan on

Once you see your phone device:

  • scan off

Pair to your phone, remember type "yes" to confirm passkey. And in your phone also.

  • pair 00:D2:79:79:01:89
  • trust 00:D2:79:79:01:89
  • connect 00:D2:79:79:01:89
  • exit

try pulseaudio -k pulseaudio --start

exit from bluetoothctl and start again if BT connection doesn't work