All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
pa_mcc.h
Go to the documentation of this file.
1 
40 #ifndef LEGATO_PAMCC_INCLUDE_GUARD
41 #define LEGATO_PAMCC_INCLUDE_GUARD
42 
43 
44 #include "legato.h"
45 #include "le_mcc.h"
46 
47 
48 //--------------------------------------------------------------------------------------------------
49 // Symbol and Enum definitions.
50 //--------------------------------------------------------------------------------------------------
51 
52 
53 //--------------------------------------------------------------------------------------------------
60 //--------------------------------------------------------------------------------------------------
61 typedef enum
62 {
65 }
67 
68 //--------------------------------------------------------------------------------------------------
74 //--------------------------------------------------------------------------------------------------
75 typedef enum
76 {
79 }
81 
82 //--------------------------------------------------------------------------------------------------
86 //--------------------------------------------------------------------------------------------------
87 typedef struct {
88  uint8_t callId;
90  char phoneNumber[LE_TEL_NMBR_MAX_LEN];
92 }
94 
95 //--------------------------------------------------------------------------------------------------
101 //--------------------------------------------------------------------------------------------------
102 typedef void (*pa_mcc_CallEventHandlerFunc_t)
103 (
104  pa_mcc_CallEventData_t* dataPtr
105 );
106 
107 //--------------------------------------------------------------------------------------------------
108 // APIs.
109 //--------------------------------------------------------------------------------------------------
110 
111 //--------------------------------------------------------------------------------------------------
118 //--------------------------------------------------------------------------------------------------
120 (
121  pa_mcc_CallEventHandlerFunc_t handlerFuncPtr
122 );
123 
124 //--------------------------------------------------------------------------------------------------
130 //--------------------------------------------------------------------------------------------------
132 (
133  void
134 );
135 
136 //--------------------------------------------------------------------------------------------------
143 //--------------------------------------------------------------------------------------------------
145 (
146  const char* pn,
147  pa_mcc_clir_t clir,
148  pa_mcc_cug_t cug,
149  uint8_t* callIdPtr
150 );
151 
152 //--------------------------------------------------------------------------------------------------
160 //--------------------------------------------------------------------------------------------------
162 (
163  void
164 );
165 
166 //--------------------------------------------------------------------------------------------------
174 //--------------------------------------------------------------------------------------------------
176 (
177  void
178 );
179 
180 
181 #endif // LEGATO_PAMCC_INCLUDE_GUARD
le_result_t pa_mcc_VoiceDial(const char *pn, pa_mcc_clir_t clir, pa_mcc_cug_t cug, uint8_t *callIdPtr)
Disable presentation of own phone number to remote.
Definition: pa_mcc.h:63
le_mcc_call_TerminationReason_t
Definition: le_mcc.h:59
le_result_t pa_mcc_Answer(void)
le_result_t
Definition: le_basics.h:34
uint8_t callId
Outgoing call Id.
Definition: pa_mcc.h:88
Enable presentation of own phone number to remote.
Definition: pa_mcc.h:64
le_mcc_call_TerminationReason_t TerminationEvent
the termination reason
Definition: pa_mcc.h:91
Deactivate.
Definition: pa_mcc.h:78
pa_mcc_cug_t
Definition: pa_mcc.h:75
Activate.
Definition: pa_mcc.h:77
Definition: pa_mcc.h:87
void pa_mcc_ClearCallEventHandler(void)
pa_mcc_clir_t
Definition: pa_mcc.h:61
le_mcc_call_Event_t
Definition: le_mcc.h:41
le_result_t pa_mcc_Hangup(void)
le_result_t pa_mcc_SetCallEventHandler(pa_mcc_CallEventHandlerFunc_t handlerFuncPtr)
void(* pa_mcc_CallEventHandlerFunc_t)(pa_mcc_CallEventData_t *dataPtr)
Definition: pa_mcc.h:103
le_mcc_call_Event_t event
Event generated.
Definition: pa_mcc.h:89