ofono-sms-receive manual

medium

Image Types:
basesdk-amd64 / hmi-armhf / hmi-arm64 / hmi-amd64 / sdk-amd64
Image Deployment:
APT, OSTree
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.

Execution Steps

  1. Ensure the modem is online:
  2. $ connmanctl enable cellular
  3. Launch dbus-monitor
  4. $ dbus-monitor --system "type='signal',sender='org.ofono',interface='org.ofono.MessageManager'"
  5. Send a SMS from the mobile phone to the system.

Expected

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

signal time=1582104254.143670 sender=:1.4 -> destination=(null destination) serial=96 path=/huawei_0; interface=org.ofono.MessageManager; member=IncomingMessage

 string "Continue sending"

array [

 dict entry(

      string "LocalSentTime"

      variant             string "2020-02-19T09:24:12+0000"

 )

 dict entry(

      string "SentTime"

      variant             string "2020-02-19T14:54:12+0530"

 )

 dict entry(

      string "Sender"

      variant             string "+917618766390"

)

 ]>