ofono-sms-receive manual

medium

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

Description

Test receiving SMS messages with oFono.


Resources

  • A phone with a SIM card.
  • A modem plugged into the Apertis system with a SIM card.

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. Ensure the modem is online:
  2. $ /usr/share/ofono/tests/online-modem
  3. Launch oFono monitor:
  4. $ /usr/share/ofono/tests/monitor-ofono
  5. Send a SMS from the mobile phone to the system.

Expected

A similar output should be displayed when the SMS is received:

{MessageManager} [/phonesim] IncomingMessage any message here 

({ LocalSentTime = 2012-08-26T01:24:48-0300, SentTime = 2012-08-26T14:24:48+1000, Sender = Joao })