# SMS Extension

This extension allows for configuring the SMS (text message) feature of all DMR radios. For now, it is implemented as an extension, but might be changed into a common core setting in the future.

This extension only has two elements: the SMS format and a list of predefined text messages. The latter is important for devices that do not have a keypad and thus do not allow for entering any messages. E.g., the Radioddity GD-73.

As this extension configures a common feature, the extension is always present.

## Example of a single SMS pre-defined text or template.

    sms:
      format: Motorola
      templates:
        - id: sms1
          name: RSSI
          message: RSSI

format

- Specifies the SMS format to be used. This must be one of Motorola, Hytera or DMR. If an incompatible format is chosen, you cannot receive or send text messages.

The templates key defines a list of SMS templates to be programmed onto the radio. Each template is a config object with a name and ID. The latter can be used to reference the template somewhere else in the codeplug.

Each template has the following properties:

id

- Specifies the unique ID of the message. This can be used to reference the message.

name

- Specifies the display name of the message. Please note, that not all radios store descriptive names alongside with the preset messages.

message

- The actual preset message. The length might differ but is usually limited to 144 chars.