#include "legato.h"
#include "taf_types_common.h"
#include "taf_dcs_common.h"
Go to the source code of this file.
◆ IFGEN_TAF_MDC_PROTOCOL_ID
#define IFGEN_TAF_MDC_PROTOCOL_ID "03bc0472e26043aba7929c3cb1b5558c" |
◆ IFGEN_TAF_MDC_MSG_SIZE
#define IFGEN_TAF_MDC_MSG_SIZE 12 |
◆ ifgen_taf_mdc_HasLocalBinding()
LE_SHARED bool ifgen_taf_mdc_HasLocalBinding |
( |
void |
| ) |
|
Get if this client bound locally.
◆ ifgen_taf_mdc_InitCommonData()
LE_SHARED void ifgen_taf_mdc_InitCommonData |
( |
void |
| ) |
|
Init data that is common across all threads
◆ ifgen_taf_mdc_CleanupCommonData()
Cleanup the data of a session
◆ ifgen_taf_mdc_OpenSession()
Perform common initialization and open a session
◆ ifgen_taf_mdc_StartSession()
Starts a permanent synchronous data cellular session for the given profile reference.
- Returns
- LE_OK Successfully made the data call.
- LE_NOT_FOUND Parameter is invalid or cannot create the data call.
- LE_OUT_OF_RANGE PDP type is unknown.
- LE_BUSY Profile is in use.
- LE_TIMEOUT Timed out while attempting to make the data call.
- LE_FAULT Failed to make the data call.
- Parameters
-
[in] | profileRef | The taf_dcs profile reference. |
◆ ifgen_taf_mdc_StartSessionAsync()
Starts a permanent asynchronous data cellular session for the given profile reference.
- Returns
- LE_OK Successfully made the data call.
- LE_NOT_FOUND Parameter is invalid or cannot create the data call.
- LE_OUT_OF_RANGE PDP type is unknown.
- LE_BUSY Profile is in use.
- LE_TIMEOUT Timed out while attempting to make the data call.
- LE_FAULT Failed to make the data call.
- Parameters
-
[in] | profileRef | The taf_dcs profile reference. |
◆ ifgen_taf_mdc_StopSession()
Synchronously stops a permanent data cellular session for the given profile reference.
- Returns
- LE_OK Successfully stopped the data call.
- LE_NOT_FOUND Could not find the data call to stop.
- LE_OUT_OF_RANGE PDP type is unknown.
- LE_BAD_PARAMETER Call context is NULL.
- LE_TIMEOUT Timed out while attempting to stop the data call.
- LE_FAULT Failed to stop the data call.
- Parameters
-
[in] | profileRef | The taf_dcs profile reference. |
◆ ifgen_taf_mdc_StopSessionAsync()
Asynchronously stops a permanent data cellular session for the given profile reference.
- Returns
- LE_OK Successfully stopped the data call.
- LE_NOT_FOUND Could not find the data call to stop .
- LE_OUT_OF_RANGE PDP type is unknown.
- LE_BAD_PARAMETER Call context is NULL.
- LE_TIMEOUT Timed out while attempting to stop the data call.
- LE_FAULT Failed to stop the data call.
- Parameters
-
[in] | profileRef | The taf_dcs profile reference. |