Rudiments
modemclient.h
1// Copyright (c) 1999-2018 David Muse
2// See the COPYING file for more information.
3
4#ifndef RUDIMENTS_MODEMCLIENT_H
5#define RUDIMENTS_MODEMCLIENT_H
6
7#include <rudiments/private/modemclientincludes.h>
8
11class RUDIMENTS_DLLSPEC modemclient : public client, public modemutil {
12 public:
13
16
18 virtual ~modemclient();
19
26
33 void setConnectScript(const char *connectscript);
34
38 void setCustomAtCommands(const char *customatcommands);
39
43 void setPhoneNumber(const char *phonenumber);
44
47 void setDisconnectScript(const char *disconnectscript);
48
52 const char *getConnectScript();
53
57 const char *getCustomAtCommands();
58
62 const char *getPhoneNumber();
63
66 const char *getDisconnectScript();
67
87 int32_t connect();
88
92 bool close();
93
94 #include <rudiments/private/modemclient.h>
95};
96
97#endif
Definition client.h:11
Definition dictionary.h:12
Definition modemclient.h:11
virtual ~modemclient()
void setParameters(dictionary< const char *, const char * > *cd)
const char * getCustomAtCommands()
const char * getConnectScript()
const char * getDisconnectScript()
bool close()
void setDisconnectScript(const char *disconnectscript)
void setPhoneNumber(const char *phonenumber)
const char * getPhoneNumber()
void setConnectScript(const char *connectscript)
void setCustomAtCommands(const char *customatcommands)
int32_t connect()
Definition modemutil.h:11