at_command.h
1.25 KB
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
#ifndef _AT_COMMAND_H
#define _AT_COMMAND_H
#define MAX_AT_COMAND_BUF 255
enum {
CIND_service_index = 1,
CIND_call_index,
CIND_callsetup_index,
CIND_battchg_index,
CIND_signal_index,
CIND_roam_index,
CIND_callheld_index = (CIND_roam_index + 9) /*BlackBerry is more than spec*/
};
u8 at_send_BRSF (u8 *buf);
u8 at_send_BAC (u8 *buf);
u8 at_send_CIND_1 (u8 *buf);
u8 at_send_CIND_2 (u8 *buf);
u8 at_send_CMER (u8 *buf);
u8 at_send_ATA (u8 *buf);
u8 at_send_CHUP (u8 *buf);
u8 at_send_NREC (u8 *buf);
u8 at_send_CLIP (u8 *buf);
u8 at_send_VGS (u8 *buf, u8 vol);
u8 at_send_VGM (u8 *buf, u8 vol);
u8 at_send_BLDN (u8 *buf);
u8 at_send_BCC (u8 *buf);
u8 at_BRSF (u8 *buf, int *feat);
u8 at_OK(u8 *buf);
u8 at_ERROR(u8 *buf);
u8 at_CIND(u8 *buf);
u8 at_CIND_process(U8 *buf, u8 *cind_index);
u8 at_CIND_process_cstatus(u8 *buf, u8 *cind_cstatus);
u8 at_CIEV(u8 *buf, u8 *ciev_ind);
u8 at_RING(u8 *buf);
u8 at_CLIP(u8 *buf, U8 *clip_buf, u8 n);
u8 at_send_BVRA_ACTI (u8 *buf);
u8 at_VGS (u8 *buf, u8 *vol);
u8 at_VGM (u8 *buf, u8 *vol);
u8 at_CIEV_test(u8 *buf);
u8 at_send_XAPL (u8 *buf);
u8 at_send_iphone_accev (u8 *buf, u8 batt);
u8 at_XAPL(u8 *buf);
u8 at_BCS (u8 *buf, u8 *codec);
u8 at_send_BCS (u8 *buf, u8 codec);
u8 at_send_ERROR (u8 *buf);
#endif