qgsm/cellular_qgsm.c
CellularError_t Cellular_ModuleEnableUrc( CellularContext_t * pContext )
{
    CellularError_t cellularStatus = CELLULAR_SUCCESS;
    CellularAtReq_t atReqGetNoResult =
    {
        NULL,
        CELLULAR_AT_NO_RESULT,
        NULL,
        NULL,
        NULL,
        0
    };

    /*Enable multiple TCP IP session at the same time */
    atReqGetNoResult.pAtCmd = "AT+QIMUX=1";
    ( void ) _Cellular_AtcmdRequestWithCallback( pContext, atReqGetNoResult );
    /*Set the method to Handle Receive TCP/IP Data */
    atReqGetNoResult.pAtCmd = "AT+QINDI=1";
    ( void ) _Cellular_AtcmdRequestWithCallback( pContext, atReqGetNoResult );
    /*Operator Selection */
    atReqGetNoResult.pAtCmd = "AT+COPS=3,2";
    ( void ) _Cellular_AtcmdRequestWithCallback( pContext, atReqGetNoResult );
    /*Network Registration */
    atReqGetNoResult.pAtCmd = "AT+CREG=2";
    ( void ) _Cellular_AtcmdRequestWithCallback( pContext, atReqGetNoResult );
    /*Network registration status */
    atReqGetNoResult.pAtCmd = "AT+CGREG=2";
    ( void ) _Cellular_AtcmdRequestWithCallback( pContext, atReqGetNoResult );
    /*Network Time Synchronization Report */
    atReqGetNoResult.pAtCmd = "AT+CTZR=1";
    ( void ) _Cellular_AtcmdRequestWithCallback( pContext, atReqGetNoResult );
    /*TCP IP Transfer Mode */
    atReqGetNoResult.pAtCmd = "AT+QIMODE=0";
    ( void ) _Cellular_AtcmdRequestWithCallback( pContext, atReqGetNoResult );
    /*Connect with Domain Name Server */
    atReqGetNoResult.pAtCmd = "AT+QIDNSIP=1";
    ( void ) _Cellular_AtcmdRequestWithCallback( pContext, atReqGetNoResult );

    return cellularStatus;
}
/* FreeRTOS Cellular Common Library porting interface. */
/* coverity[misra_c_2012_rule_8_7_violation] */
FreeRTOS Cellular Common Library porting interface.
FreeRTOS Cellular Common Library porting interface .
CellularError_t Cellular_ModuleEnableUrc( CellularContext_t * pContext )
{
    CellularError_t cellularStatus = CELLULAR_SUCCESS;
    CellularAtReq_t atReqGetNoResult =
    {
        NULL,
        CELLULAR_AT_NO_RESULT,
        NULL,
        NULL,
        NULL,
        0
    };
    atReqGetNoResult.pAtCmd = "AT+QIMUX=1";
    ( void ) _Cellular_AtcmdRequestWithCallback( pContext, atReqGetNoResult );
    atReqGetNoResult.pAtCmd = "AT+QINDI=1";
    ( void ) _Cellular_AtcmdRequestWithCallback( pContext, atReqGetNoResult );
    atReqGetNoResult.pAtCmd = "AT+COPS=3,2";
    ( void ) _Cellular_AtcmdRequestWithCallback( pContext, atReqGetNoResult );
    atReqGetNoResult.pAtCmd = "AT+CREG=2";
    ( void ) _Cellular_AtcmdRequestWithCallback( pContext, atReqGetNoResult );
    atReqGetNoResult.pAtCmd = "AT+CGREG=2";
    ( void ) _Cellular_AtcmdRequestWithCallback( pContext, atReqGetNoResult );
    atReqGetNoResult.pAtCmd = "AT+CTZR=1";
    ( void ) _Cellular_AtcmdRequestWithCallback( pContext, atReqGetNoResult );
    atReqGetNoResult.pAtCmd = "AT+QIMODE=0";
    ( void ) _Cellular_AtcmdRequestWithCallback( pContext, atReqGetNoResult );
    atReqGetNoResult.pAtCmd = "AT+QIDNSIP=1";
    ( void ) _Cellular_AtcmdRequestWithCallback( pContext, atReqGetNoResult );
    return cellularStatus;
}
CellularError_t Cellular_ModuleEnableUrc ( CellularContext_t * pContext ) { CellularError_t cellularStatus = CELLULAR_SUCCESS ; CellularAtReq_t atReqGetNoResult = { NULL , CELLULAR_AT_NO_RESULT , NULL , NULL , NULL , 0 } ; atReqGetNoResult . pAtCmd = " " ; ( void ) _Cellular_AtcmdRequestWithCallback ( pContext , atReqGetNoResult ) ; atReqGetNoResult . pAtCmd = " " ; ( void ) _Cellular_AtcmdRequestWithCallback ( pContext , atReqGetNoResult ) ; atReqGetNoResult . pAtCmd = " " ; ( void ) _Cellular_AtcmdRequestWithCallback ( pContext , atReqGetNoResult ) ; atReqGetNoResult . pAtCmd = " " ; ( void ) _Cellular_AtcmdRequestWithCallback ( pContext , atReqGetNoResult ) ; atReqGetNoResult . pAtCmd = " " ; ( void ) _Cellular_AtcmdRequestWithCallback ( pContext , atReqGetNoResult ) ; atReqGetNoResult . pAtCmd = " " ; ( void ) _Cellular_AtcmdRequestWithCallback ( pContext , atReqGetNoResult ) ; atReqGetNoResult . pAtCmd = " " ; ( void ) _Cellular_AtcmdRequestWithCallback ( pContext , atReqGetNoResult ) ; atReqGetNoResult . pAtCmd = " " ; ( void ) _Cellular_AtcmdRequestWithCallback ( pContext , atReqGetNoResult ) ; return cellularStatus ; }
FreeRTOS Cellular Common Library porting interface.
FreeRTOS Cellular Common Library porting interface .
/*Enable multiple TCP IP session at the same time */ /*Set the method to Handle Receive TCP/IP Data */ /*Operator Selection */ /*Network Registration */ /*Network registration status */ /*Network Time Synchronization Report */ /*TCP IP Transfer Mode */ /*Connect with Domain Name Server */