Skip to content
David A. Mellis edited this page Jan 10, 2014 · 18 revisions

This library complements the Arduino GSM library by providing additional commands for controlling the Quectel M10 GSM module found on the Arduino GSM shield, DIY Cellphone, and Cellphone Module.

GSM3VolumeService

To use: #include <GSM3VolumeService.h>

void setVolume(int);

Set the volume, from 0 to 100.

void checkVolume();

Query the GSM module for the current volume. Use ready() to check if the module has responded and getVolume() to retrieve the current volume.

int getVolume();

Returns the current volume, either the last volume set with setVolume() or the last volume returned by the module through a call to checkVolume().

int ready();

Check the status of the latest query of the GSM module (with checkVolume()). Returns 0 if the command is still pending, 1 on success, and greater than 1 on error.

Clone this wiki locally