3
* AT command set for S45 Siemens mobile phones, v1.8, 26. July 2001
4
* Common AT prefix is "^S" (two characters, not the control code!)
11
#include <gsmlib/gsm_at.h>
20
class SieMe : public MeTa
23
// init ME/TA to sensible defaults
24
void init() throw(GsmException);
27
// initialize a new MeTa object given the port
28
SieMe(Ref<Port> port) throw(GsmException);
31
// get the current phonebook in the Siemens ME
32
vector<string> getSupportedPhonebooks() throw(GsmException); // (AT^SPBS=?)
33
// get the current phonebook in the Siemens ME
35
string getCurrentPhonebook() throw(GsmException); // (AT^SPBS?)
36
// set the current phonebook in the Siemens ME
38
// remember the last phonebook set for optimisation
39
void setPhonebook(string phonebookName) throw(GsmException); // (AT^SPBS=)
42
// Siemens get supported signal tones
43
IntRange getSupportedSignalTones() throw(GsmException); // (AT^SPST=?)
45
// Siemens set ringing tone
46
void playSignalTone(int tone) throw(GsmException); // (AT^SRTC=x,1)
48
// Siemens set ringing tone
49
void stopSignalTone(int tone) throw(GsmException); // (AT^SRTC=x,0)
52
// Siemens get ringing tone
53
IntRange getSupportedRingingTones() throw(GsmException); // (AT^SRTC=?)
54
// Siemens get ringing tone
55
int getCurrentRingingTone() throw(GsmException); // (AT^SRTC?)
56
// Siemens set ringing tone
57
void setRingingTone(int tone, int volume) throw(GsmException);// (AT^SRTC=)
58
// Siemens set ringing tone on
59
void ringingToneOn() throw(GsmException); // (AT^SRTC)
60
// Siemens set ringing tone of
61
void ringingToneOff() throw(GsmException); // (AT^SRTC)
62
// Siemens toggle ringing tone
63
void toggleRingingTone() throw(GsmException); // (AT^SRTC)
65
// Siemens get supported binary read
66
vector<string> getSupportedBinaryReads() throw(GsmException); // (AT^SBNR=?)
68
// Siemens get supported binary write
69
vector<string> getSupportedBinaryWrites() throw(GsmException); // (AT^SBNW=?)
71
// Siemens Binary Read
72
void getBinary(string binary) throw(GsmException); // (AT^SBNR)
74
// Siemens Binary Write
75
void setBinary(string binary) throw(GsmException); // (AT^SBNW)