ofono-sms-send manual

medium

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

Description

Test sending of SMS with oFono.


Resources

  • A phone with a SIM card.
  • A modem plugged into the Apertis system with a SIM card (SIM card should not have a PIN configured).

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
  5. Restart the system to restore the filesystem state to read-only before running the test.
  6. $ sudo reboot

Execution Steps

  1. Let the modem connect to the network
  2. $ /usr/share/ofono/tests/online-modem
  3. Send a SMS to some phone:
  4. $ /usr/share/ofono/tests/send-sms [modem] <phone number> <message> 1
  5. The modem parameter is the modem which we want to use to send the SMS through, much probably we will have only one modem in the system so in this we don't need to specify it, it is a optional parameter. If we need to specify /usr/share/ofono/tests/list-modems to see the available modems.

Expected

If no error appears the SMS was successfully sent.

The phone is supposed to receive the SMS message.