SMS Messaging

The SMS service can be used to send and receive SMS messages.

Getting Started

This service is automatically included in the Legato Framework by including default.sdef in your system and loads automatically on startup.

    // Platform services.

API Guide

The SMS service exposes two APIs that will manage sending/receiving SMS messages. It also provides an inbox service for accessing SMS messages.

API Guide API Reference File Name Description
SMS le_sms API Reference le_sms.api SMS messaging
SMS Inbox le_smsinbox1 le_smsInbox1.api SMS Inbox Service

To bind to this API customize the following bindings for your App's .adef:

<myExecutable>.<myComponentClient>.le_sms -> modemService.le_sms
<myExecutable>.<myComponentClient>.le_smsInbox1 -> smsInboxService.le_smsInbox1

Sample App

The sampleApps_smsApp App provides examples of:

  • Sending and receiving SMS messages
  • Managing received messages such as displaying, deleting, and marking as read/unread.
  • Implementing a simple SMS automatic reply service in order to handle commands in the form of SMS messages.