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
- Ensure Rootfs is remounted as read/write.
- Install dependencies
- Restart the system to restore the filesystem state to read-only before running the test.
$ sudo mount -o remount,rw /
$ sudo apt install ofono-tests
$ sudo reboot
Execution Steps
- Ensure the modem is online:
- Launch oFono monitor:
- Send a SMS from the mobile phone to the system.
$ /usr/share/ofono/tests/online-modem
$ /usr/share/ofono/tests/monitor-ofono
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 })