-
Notifications
You must be signed in to change notification settings - Fork 151
Expand file tree
/
Copy pathcall.h
More file actions
28 lines (22 loc) · 693 Bytes
/
call.h
File metadata and controls
28 lines (22 loc) · 693 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#ifndef _CALL_H_
#define _CALL_H_
#include "SIM900.h"
class CallGSM {
public:
// finds out the status of call
byte CallStatus(void);
byte CallStatusWithAuth(char *phone_number,
byte first_authorized_pos, byte last_authorized_pos);
// picks up an incoming call
void PickUp(void);
// hangs up an incomming call
void HangUp(void);
// calls the specific number
void Call(char *number_string);
// makes a call to the number stored at the specified SIM position
void Call(int sim_position);
void SendDTMF(char *number_string, int time);
void SetDTMF(int DTMF_status);
char DetDTMF();
};
#endif