Arduino Function: gsmAccessV2.swapAudioChannel

Description

This function swap the audio channel.

Syntax

GSM2 gsmAccessV2;
gsmAccessV2.swapAudioChannel(int channel);

Parameters

  • int channel: this parameter specifies the channel to enable. Possible values are:

- 0: the value enables channel 1; 
-1: the value enable channel 2; 
-2: the value enables hands free channel.

Returns

 String

Warning

If you insert a wrong value, function will use default value, in this case is 1 (headset channel).


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