Skip to content

class_tiny_gsm_calling

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

title: TinyGsmCalling

TinyGsmCalling (class)

Module: TinyGsmCalling

The CRTP parent class for voice and DTMF calling functions.

#include <src/TinyGsmCalling.tpp>

Phone call functions

Public Functions

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.

Public Functions Documentation

Phone call functions

functioncallAnswer

bool callAnswer()
  • Return: True if the call was answered successfully, false otherwise

functioncallNumber

bool callNumber(const String & number)
  • Parameters:
    • number The number to call
  • Return: True if the call was made successfully, false otherwise

functioncallHangup

bool callHangup()
  • Return: True if the call was hung up successfully, false otherwise

functiondtmfSend

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

Clone this wiki locally