Skip to content

class_tiny_gsm_s_m_s

Sara Damiano edited this page Sep 11, 2026 · 2 revisions

title: TinyGsmSMS

TinyGsmSMS (class)

Module: TinyGsmSMS

The CRTP parent class for Short Message Service (SMS) functions.

#include <src/TinyGsmSMS.tpp>

Text messaging (SMS) functions

Public Functions

Name
String sendUSSD(const String & code)
Send a USSD code to the network.
bool sendSMS(const String & number, const String & text)
Send an SMS message.
bool sendSMS_UTF16(const char *const number, const void * text, size_t len)
Send an SMS message in UTF-16 encoding.

Public Functions Documentation

Text messaging (SMS) functions

functionsendUSSD

String sendUSSD(const String & code)
  • Parameters:
    • code The USSD code to send.
  • Return: The response from the network as a String.

functionsendSMS

bool sendSMS(const String & number, const String & text)
  • Parameters:
    • number The recipient's phone number.
    • text The message text.
  • Return: True if the message was successfully sent, false otherwise.

functionsendSMS_UTF16

bool sendSMS_UTF16(const char *const number, const void * text, size_t len)
  • Parameters:
    • number The recipient's phone number.
    • text The message text in UTF-16 encoding.
    • len The length of the message text.
  • Return: True if the message was successfully sent, false otherwise.

Generated by Doxygen and m.css with templates from doxybook2 Updated on 2026-09-11

Clone this wiki locally