telepathy-ring manual

medium

Image Types:
sdk-amd64 / target-armhf-internal / target-amd64
Image Deployment:
APT
Type:
functional

Description

Support making and receiving phone calls in Telepathy manually, with a bluetooth-paired phone.


Resources

  • A Bluetooth adapter
  • A Bluetooth-enabled phone

Pre Conditions

  1. Ensure Rootfs is remounted as read/write.
  2. $ sudo mount -o remount,rw /

  3. Install dependencies
  4. $ sudo apt install ofono-tests telepathy-ring apertis-tests gir1.2-telepathyglib-0.12 telepathy-mission-control-5

  5. Restart the system to restore the filesystem state to read-only before running the test.
  6. $ sudo reboot

  7. Start simple agent:
  8. $ /usr/lib/chaiwala-tests/bluez/simple-agent -y

  9. Pair both devices initiating from the phone side
  10. Pay attention to the simple-agent window as it requires input during the pairing process.

Execution Steps

  1. Pair phone. First scan for devices:
  2. $ hcitool scan

  3. Determine what the ID for your phone is. This will show a list of modems, from which you can get the ID of your phone (which starts with a '/'), to be used in the next 2 commands:
  4. $ /usr/share/ofono/tests/list-modems

  5. Power up modem:
  6. $ /usr/share/ofono/tests/enable-modem $your_phone_id

    $ /usr/share/ofono/tests/online-modem $your_phone_id

  7. Add a telepathy-ring account:
  8. $ mc-tool add ring/tel tp-ring-test

  9. Enable account:
  10. $ mc-tool enable ring/tel/account0

  11. Test making a call:
  12. $ /usr/lib/chaiwala-tests/telepathy/telepathy-ring call $number_to_call

  13. Remove temporary account:
  14. $ mc-tool remove ring/tel/account0


Expected

It should show PASSED:

telepathy-ring: PASSED