@@ -867,7 +867,7 @@ static CellularError_t queryNetworkStatus( CellularContext_t * pContext,
867
867
atReqGetResult .pAtCmd = pCommand ;
868
868
atReqGetResult .atCmdType = CELLULAR_AT_MULTI_WITH_PREFIX ;
869
869
atReqGetResult .pAtRspPrefix = pPrefix ;
870
- atReqGetResult .respCallback = _Cellular_RecvFuncGetNetworkReg ;
870
+ atReqGetResult .respCallback = & _Cellular_RecvFuncGetNetworkReg ;
871
871
atReqGetResult .pData = & recvRegType ;
872
872
atReqGetResult .dataLen = ( uint16_t ) sizeof ( CellularNetworkRegType_t );
873
873
@@ -1429,7 +1429,7 @@ static CellularError_t atcmdUpdateMccMnc( CellularContext_t * pContext,
1429
1429
atCopsRequest .pAtCmd = "AT+COPS?" ;
1430
1430
atCopsRequest .atCmdType = CELLULAR_AT_WITH_PREFIX ;
1431
1431
atCopsRequest .pAtRspPrefix = "+COPS" ;
1432
- atCopsRequest .respCallback = _Cellular_RecvFuncUpdateMccMnc ;
1432
+ atCopsRequest .respCallback = & _Cellular_RecvFuncUpdateMccMnc ;
1433
1433
atCopsRequest .pData = pOperatorInfo ;
1434
1434
atCopsRequest .dataLen = ( uint16_t ) sizeof ( cellularOperatorInfo_t );
1435
1435
pktStatus = _Cellular_AtcmdRequestWithCallback ( pContext , atCopsRequest );
@@ -1638,7 +1638,7 @@ CellularError_t Cellular_CommonGetEidrxSettings( CellularHandle_t cellularHandle
1638
1638
atReqGetEidrx .pAtCmd = "AT+CEDRXS?" ;
1639
1639
atReqGetEidrx .atCmdType = CELLULAR_AT_MULTI_WITH_PREFIX ;
1640
1640
atReqGetEidrx .pAtRspPrefix = "+CEDRXS" ;
1641
- atReqGetEidrx .respCallback = _Cellular_RecvFuncGetEidrxSettings ;
1641
+ atReqGetEidrx .respCallback = & _Cellular_RecvFuncGetEidrxSettings ;
1642
1642
atReqGetEidrx .pData = pEidrxSettingsList ;
1643
1643
atReqGetEidrx .dataLen = CELLULAR_EDRX_LIST_MAX_SIZE ;
1644
1644
@@ -1898,7 +1898,7 @@ CellularError_t Cellular_CommonGetNetworkTime( CellularHandle_t cellularHandle,
1898
1898
atReqGetNetworkTime .pAtCmd = "AT+CCLK?" ;
1899
1899
atReqGetNetworkTime .atCmdType = CELLULAR_AT_WITH_PREFIX ;
1900
1900
atReqGetNetworkTime .pAtRspPrefix = "+CCLK" ;
1901
- atReqGetNetworkTime .respCallback = _Cellular_RecvFuncGetNetworkTime ;
1901
+ atReqGetNetworkTime .respCallback = & _Cellular_RecvFuncGetNetworkTime ;
1902
1902
atReqGetNetworkTime .pData = pNetworkTime ;
1903
1903
atReqGetNetworkTime .dataLen = ( uint16_t ) sizeof ( CellularTime_t );
1904
1904
@@ -1943,28 +1943,28 @@ CellularError_t Cellular_CommonGetModemInfo( CellularHandle_t cellularHandle,
1943
1943
atReqGetFirmwareVersion .pAtCmd = "AT+CGMR" ;
1944
1944
atReqGetFirmwareVersion .atCmdType = CELLULAR_AT_WO_PREFIX ;
1945
1945
atReqGetFirmwareVersion .pAtRspPrefix = NULL ;
1946
- atReqGetFirmwareVersion .respCallback = _Cellular_RecvFuncGetFirmwareVersion ;
1946
+ atReqGetFirmwareVersion .respCallback = & _Cellular_RecvFuncGetFirmwareVersion ;
1947
1947
atReqGetFirmwareVersion .pData = pModemInfo -> firmwareVersion ;
1948
1948
atReqGetFirmwareVersion .dataLen = CELLULAR_FW_VERSION_MAX_SIZE + 1U ;
1949
1949
1950
1950
atReqGetImei .pAtCmd = "AT+CGSN" ;
1951
1951
atReqGetImei .atCmdType = CELLULAR_AT_WO_PREFIX ;
1952
1952
atReqGetImei .pAtRspPrefix = NULL ;
1953
- atReqGetImei .respCallback = _Cellular_RecvFuncGetImei ;
1953
+ atReqGetImei .respCallback = & _Cellular_RecvFuncGetImei ;
1954
1954
atReqGetImei .pData = pModemInfo -> imei ;
1955
1955
atReqGetImei .dataLen = CELLULAR_IMEI_MAX_SIZE + 1U ;
1956
1956
1957
1957
atReqGetModelId .pAtCmd = "AT+CGMM" ;
1958
1958
atReqGetModelId .atCmdType = CELLULAR_AT_WO_PREFIX ;
1959
1959
atReqGetModelId .pAtRspPrefix = NULL ;
1960
- atReqGetModelId .respCallback = _Cellular_RecvFuncGetModelId ;
1960
+ atReqGetModelId .respCallback = & _Cellular_RecvFuncGetModelId ;
1961
1961
atReqGetModelId .pData = pModemInfo -> modelId ;
1962
1962
atReqGetModelId .dataLen = CELLULAR_MODEL_ID_MAX_SIZE + 1U ;
1963
1963
1964
1964
atReqGetManufactureId .pAtCmd = "AT+CGMI" ;
1965
1965
atReqGetManufactureId .atCmdType = CELLULAR_AT_WO_PREFIX ;
1966
1966
atReqGetManufactureId .pAtRspPrefix = NULL ;
1967
- atReqGetManufactureId .respCallback = _Cellular_RecvFuncGetManufactureId ;
1967
+ atReqGetManufactureId .respCallback = & _Cellular_RecvFuncGetManufactureId ;
1968
1968
atReqGetManufactureId .pData = pModemInfo -> manufactureId ;
1969
1969
atReqGetManufactureId .dataLen = CELLULAR_MANUFACTURE_ID_MAX_SIZE + 1U ;
1970
1970
@@ -2031,7 +2031,7 @@ CellularError_t Cellular_CommonGetIPAddress( CellularHandle_t cellularHandle,
2031
2031
atReqGetIp .pAtCmd = cmdBuf ;
2032
2032
atReqGetIp .atCmdType = CELLULAR_AT_WITH_PREFIX ;
2033
2033
atReqGetIp .pAtRspPrefix = "+CGPADDR" ;
2034
- atReqGetIp .respCallback = _Cellular_RecvFuncIpAddress ;
2034
+ atReqGetIp .respCallback = & _Cellular_RecvFuncIpAddress ;
2035
2035
atReqGetIp .pData = pBuffer ;
2036
2036
atReqGetIp .dataLen = ( uint16_t ) bufferLength ;
2037
2037
@@ -2689,7 +2689,7 @@ CellularError_t Cellular_CommonGetSimCardLockStatus( CellularHandle_t cellularHa
2689
2689
atReqGetSimLockStatus .pAtCmd = "AT+CPIN?" ;
2690
2690
atReqGetSimLockStatus .atCmdType = CELLULAR_AT_WITH_PREFIX ;
2691
2691
atReqGetSimLockStatus .pAtRspPrefix = "+CPIN" ;
2692
- atReqGetSimLockStatus .respCallback = _Cellular_RecvFuncGetSimLockStatus ;
2692
+ atReqGetSimLockStatus .respCallback = & _Cellular_RecvFuncGetSimLockStatus ;
2693
2693
atReqGetSimLockStatus .pData = & ( pSimCardStatus -> simCardLockState );
2694
2694
atReqGetSimLockStatus .dataLen = ( uint16_t ) sizeof ( CellularSimCardLockState_t );
2695
2695
@@ -2721,22 +2721,22 @@ CellularError_t Cellular_CommonGetSimCardInfo( CellularHandle_t cellularHandle,
2721
2721
atReqGetIccid .pAtCmd = "AT+CCID" ;
2722
2722
atReqGetIccid .atCmdType = CELLULAR_AT_WITH_PREFIX ;
2723
2723
atReqGetIccid .pAtRspPrefix = "+CCID" ;
2724
- atReqGetIccid .respCallback = _Cellular_RecvFuncGetIccid ;
2724
+ atReqGetIccid .respCallback = & _Cellular_RecvFuncGetIccid ;
2725
2725
atReqGetIccid .pData = pSimCardInfo -> iccid ;
2726
2726
atReqGetIccid .dataLen = CELLULAR_ICCID_MAX_SIZE + 1U ;
2727
2727
#endif
2728
2728
2729
2729
atReqGetImsi .pAtCmd = "AT+CIMI" ;
2730
2730
atReqGetImsi .atCmdType = CELLULAR_AT_WO_PREFIX ;
2731
2731
atReqGetImsi .pAtRspPrefix = NULL ;
2732
- atReqGetImsi .respCallback = _Cellular_RecvFuncGetImsi ;
2732
+ atReqGetImsi .respCallback = & _Cellular_RecvFuncGetImsi ;
2733
2733
atReqGetImsi .pData = pSimCardInfo -> imsi ;
2734
2734
atReqGetImsi .dataLen = CELLULAR_IMSI_MAX_SIZE + 1U ;
2735
2735
2736
2736
atReqGetHplmn .pAtCmd = "AT+CRSM=176,28514,0,0,0" ; /* READ BINARY command. HPLMN Selector with Access Technology( 6F62 ). */
2737
2737
atReqGetHplmn .atCmdType = CELLULAR_AT_WITH_PREFIX ;
2738
2738
atReqGetHplmn .pAtRspPrefix = "+CRSM" ;
2739
- atReqGetHplmn .respCallback = _Cellular_RecvFuncGetHplmn ;
2739
+ atReqGetHplmn .respCallback = & _Cellular_RecvFuncGetHplmn ;
2740
2740
atReqGetHplmn .pData = & ( pSimCardInfo -> plmn );
2741
2741
atReqGetHplmn .dataLen = ( uint16_t ) sizeof ( CellularPlmnInfo_t );
2742
2742
@@ -3025,7 +3025,7 @@ CellularError_t Cellular_CommonGetPsmSettings( CellularHandle_t cellularHandle,
3025
3025
atReqGetPsm .pAtCmd = "AT+CPSMS?" ;
3026
3026
atReqGetPsm .atCmdType = CELLULAR_AT_WITH_PREFIX ;
3027
3027
atReqGetPsm .pAtRspPrefix = "+CPSMS" ;
3028
- atReqGetPsm .respCallback = _Cellular_RecvFuncGetPsmSettings ;
3028
+ atReqGetPsm .respCallback = & _Cellular_RecvFuncGetPsmSettings ;
3029
3029
atReqGetPsm .pData = pPsmSettings ;
3030
3030
atReqGetPsm .dataLen = ( uint16_t ) sizeof ( CellularPsmSettings_t );
3031
3031
0 commit comments