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 "interfaces.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_MDMDEFS_PHONE_NUM_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 //--------------------------------------------------------------------------------------------------
144 //--------------------------------------------------------------------------------------------------
146 (
147  const char* pn,
148  pa_mcc_clir_t clir,
149  pa_mcc_cug_t cug,
150  uint8_t* callIdPtr
151 );
152 
153 //--------------------------------------------------------------------------------------------------
161 //--------------------------------------------------------------------------------------------------
163 (
164  void
165 );
166 
167 //--------------------------------------------------------------------------------------------------
175 //--------------------------------------------------------------------------------------------------
177 (
178  void
179 );
180 
181 //--------------------------------------------------------------------------------------------------
189 //--------------------------------------------------------------------------------------------------
191 (
192  void
193 );
194 
195 #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_result_t pa_mcc_Answer(void)
le_result_t
Definition: le_basics.h:34
le_mcc_call_Event_t
Definition: le_mcc_call_interface.h:311
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
le_result_t pa_mcc_HangUpAll(void)
Activate.
Definition: pa_mcc.h:77
Definition: pa_mcc.h:87
#define LE_MDMDEFS_PHONE_NUM_MAX_LEN
Definition: le_mdmDefs_interface.h:31
void pa_mcc_ClearCallEventHandler(void)
pa_mcc_clir_t
Definition: pa_mcc.h:61
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_TerminationReason_t
Definition: le_mcc_call_interface.h:343
le_mcc_call_Event_t event
Event generated.
Definition: pa_mcc.h:89
le_result_t pa_mcc_HangUp(void)