@@ -485,10 +485,14 @@ static CellularPktStatus_t _parseTimeZoneInfo( char * pTimeZoneResp,
485
485
486
486
if ( pktStatus == CELLULAR_PKT_STATUS_OK )
487
487
{
488
- LogDebug ( ( "\n TimeZoneInfo: Timezone %d Year %d Month %d day %d Hour %d Minute %d Second %d " ,
489
- pTimeInfo -> timeZone , pTimeInfo -> year ,
490
- pTimeInfo -> month , pTimeInfo -> day ,
491
- pTimeInfo -> hour , pTimeInfo -> minute ,
488
+ LogDebug ( ( "TimeZoneInfo: Timezone %d Year %d Month %d day %d," , pTimeInfo -> timeZone ,
489
+ pTimeInfo -> year ,
490
+ pTimeInfo -> month ,
491
+ pTimeInfo -> day ) );
492
+
493
+ LogDebug ( ( "Hour %d Minute %d Second %d" ,
494
+ pTimeInfo -> hour ,
495
+ pTimeInfo -> minute ,
492
496
pTimeInfo -> second ) );
493
497
}
494
498
@@ -1792,13 +1796,19 @@ CellularError_t Cellular_CommonGetServiceStatus( CellularHandle_t cellularHandle
1792
1796
( void ) strncpy ( pServiceStatus -> operatorName , operatorInfo .operatorName , CELLULAR_NETWORK_NAME_MAX_SIZE );
1793
1797
pServiceStatus -> operatorNameFormat = operatorInfo .operatorNameFormat ;
1794
1798
1795
- LogDebug ( ( "SrvStatus: rat %d cs %d, ps %d, mode %d, csRejType %d, csRej %d, psRejType %d, psRej %d, plmn %s%s " ,
1799
+ LogDebug ( ( "SrvStatus: rat %d cs %d, ps %d, mode %d, csRejType %d," ,
1796
1800
pServiceStatus -> rat ,
1797
- pServiceStatus -> csRegistrationStatus , pServiceStatus -> psRegistrationStatus ,
1801
+ pServiceStatus -> csRegistrationStatus ,
1802
+ pServiceStatus -> psRegistrationStatus ,
1798
1803
pServiceStatus -> networkRegistrationMode ,
1799
- pServiceStatus -> csRejectionType , pServiceStatus -> csRejectionCause ,
1800
- pServiceStatus -> psRejectionType , pServiceStatus -> psRejectionCause ,
1801
- pServiceStatus -> plmnInfo .mcc , pServiceStatus -> plmnInfo .mnc ) );
1804
+ pServiceStatus -> csRejectionType ) );
1805
+
1806
+ LogDebug ( ( "csRej %d, psRejType %d, psRej %d, plmn %s%s" ,
1807
+ pServiceStatus -> csRejectionCause ,
1808
+ pServiceStatus -> psRejectionType ,
1809
+ pServiceStatus -> psRejectionCause ,
1810
+ pServiceStatus -> plmnInfo .mcc ,
1811
+ pServiceStatus -> plmnInfo .mnc ) );
1802
1812
}
1803
1813
1804
1814
return cellularStatus ;
@@ -2711,7 +2721,7 @@ static uint32_t appendBinaryPattern( char * cmdBuf,
2711
2721
* The max length of the string is fixed and checked offline. */
2712
2722
/* coverity[misra_c_2012_rule_21_6_violation]. */
2713
2723
( void ) snprintf ( cmdBuf , cmdLen , "\"" PRINTF_BINARY_PATTERN_INT8 "\"%c" ,
2714
- ( uint32_t ) PRINTF_BYTE_TO_BINARY_INT8 ( value ), endOfString ? '\0' : ',' );
2724
+ PRINTF_BYTE_TO_BINARY_INT8 ( value ), endOfString ? '\0' : ',' );
2715
2725
}
2716
2726
else
2717
2727
{
0 commit comments