Arduino Function: gsmAccessV2.speakerMode

Description

This function allows to change the speaker mode depending on the TA status.

Syntax

String speakerMode(int mode)

Parameters

int mode: this parameter specifies the speaker mode of the module. 
possible values are:

  • 0: speaker is always off 1: Speaker is on until TA inform TE that carrier has been detected
  • 2: Speaker is always on when TA is off-hook

Returns

 String


Based on the reference originally written by Arduino Community,  wiring.org.co and  arduino.cc