-
Notifications
You must be signed in to change notification settings - Fork 793
class_tiny_gsm_calling
Sara Damiano edited this page Sep 11, 2026
·
2 revisions
Module: TinyGsmCalling
The CRTP parent class for voice and DTMF calling functions.
#include <src/TinyGsmCalling.tpp>
| Name | |
|---|---|
| bool |
callAnswer() Answer an incoming phone call. |
| bool |
callNumber(const String & number) Make a phone call. |
| bool |
callHangup() Hang up an in-progress phone call. |
| bool |
dtmfSend(char cmd, int duration_ms = 100) Sent a DTMF (dual tone multi frequency) message over a phone call. |
bool callAnswer()
- Return: True if the call was answered successfully, false otherwise
bool callNumber(const String & number)
-
Parameters:
- number The number to call
- Return: True if the call was made successfully, false otherwise
bool callHangup()
- Return: True if the call was hung up successfully, false otherwise
bool dtmfSend(char cmd, int duration_ms = 100)
-
Parameters:
- cmd The command to send
- duration_ms The tone duration
- Return: True if the DTMF message was sent successfully, 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!