-
Notifications
You must be signed in to change notification settings - Fork 72
GSMExtras Library
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.
To use: #include <GSM3VolumeService.h>
Set the volume, from 0 to 100.
Query the GSM module for the current volume. Use ready() to check if the module has responded and getVolume() to retrieve the current volume.
Returns the current volume, either the last volume set with setVolume() or the last volume returned by the module through a call to checkVolume().
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.