==================================================================================================*/
SmsPluginTpduCodec::SmsPluginTpduCodec()
{
-
-
}
SmsPluginTpduCodec::~SmsPluginTpduCodec()
{
-
-
}
#if 0
printf("\n\n[encodeSubmit] pTpdu data.\n");
- for (int i = 0; i < offset; i++)
- {
+ for (int i = 0; i < offset; i++) {
printf(" [%02x]", pTpdu[i]);
}
printf("\n\n");
}
#else
- //For alphanumeric address test
+ /* For alphanumeric address test */
offset += SmsPluginParamCodec::decodeAddress(&pTpdu[offset], &(pDeliver->originAddress));
pDeliver->pid = 0x20;
offset++;
offset += SmsPluginParamCodec::decodeDCS((unsigned char*)address, &(pDeliver->dcs));
- // end test
+ /* end test */
#endif
if (pDeliver->pid == 0x20 && pDeliver->originAddress.ton == SMS_TON_ALPHANUMERIC) {
#ifdef LOG_ENABLE
printf("\n\n[decodeStatusReport] pTpdu data - Length [%d]\n", TpduLen);
- for (int i = 0; i < TpduLen; i++)
- {
+ for (int i = 0; i < TpduLen; i++) {
printf(" [%02x]", pTpdu[i]);
}
printf("\n\n");