@@ -485,10 +485,14 @@ static CellularPktStatus_t _parseTimeZoneInfo( char * pTimeZoneResp,
485485
486486 if ( pktStatus == CELLULAR_PKT_STATUS_OK )
487487 {
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 ,
492496 pTimeInfo -> second ) );
493497 }
494498
@@ -1792,13 +1796,19 @@ CellularError_t Cellular_CommonGetServiceStatus( CellularHandle_t cellularHandle
17921796 ( void ) strncpy ( pServiceStatus -> operatorName , operatorInfo .operatorName , CELLULAR_NETWORK_NAME_MAX_SIZE );
17931797 pServiceStatus -> operatorNameFormat = operatorInfo .operatorNameFormat ;
17941798
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," ,
17961800 pServiceStatus -> rat ,
1797- pServiceStatus -> csRegistrationStatus , pServiceStatus -> psRegistrationStatus ,
1801+ pServiceStatus -> csRegistrationStatus ,
1802+ pServiceStatus -> psRegistrationStatus ,
17981803 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 ) );
18021812 }
18031813
18041814 return cellularStatus ;
@@ -2711,7 +2721,7 @@ static uint32_t appendBinaryPattern( char * cmdBuf,
27112721 * The max length of the string is fixed and checked offline. */
27122722 /* coverity[misra_c_2012_rule_21_6_violation]. */
27132723 ( 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' : ',' );
27152725 }
27162726 else
27172727 {
0 commit comments