MMS Date Header problem | Search |
NowSMS Support Forums ⬆ MMS & SMS Technical Discussions (unsupported) ⬆ Archive through July 24, 2007 ⬆ |
◄ ► |
Author | Message | |||
janardhana New member Username: Jana1234 Post Number: 1 Registered: 06-2007 |
I am Getting the Date header value in the PDU as 85 01 FF which is invalid date.. I am not able to identify the date value as invalid while parsing the PDU Is there any method to identify the Date Value as wrong? Thanx in advance | |||
Bryce Norwood - NowSMS Support Board Administrator Username: Bryce Post Number: 7267 Registered: 10-2002 |
I agree with you that the value of the date that you are receiving is clearly an invalid date. However, technically the header still would appear to be valid. The date header is defined as a long-integer. 01 tells you how many bytes there are in the integer ... one ... which I would assume to be FF. This would be interpreted as 255 seconds after 1970-01-01, 00:00:00 GMT or 1970-01-01, 00:04:15 GMT. I would, of course, assume that this was not what was originally intended. But the structure of the header itself would seem to be valid. -bn |