Repository navigation
class_tiny_gsm_s_m_s
Sara Damiano edited this page Sep 11, 2026
·
2 revisions
Module: TinyGsmSMS
The CRTP parent class for Short Message Service (SMS) functions.
#include <src/TinyGsmSMS.tpp>
| 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. |
String sendUSSD(const String & code)
-
Parameters:
- code The USSD code to send.
- Return: The response from the network as a String.
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.
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
If you like TinyGSM library - give it a star, or fork it and contribute!