tags:

views:

378

answers:

0

I have developed a small sms application from PC to mobile... I Can read messages from other mobiles like sony ericsson but i cant read messages from nokia mobile....

I got the Error Phone Reports generic communication error or syntax error

My code is

// Read all SMS messages from the storage

DecodedShortMessage[] messages = CommSetting.comm.ReadMessages
(PhoneMessageStatus.All,storage);
foreach(DecodedShortMessage message in messages)
    {
    Output(string.Format("Message status = {0}, Location = {1}/{2}",
    StatusToString(message.Status), message.Storage, message.Index));
    ShowMessage(message.Data);
    Output("");             
    }
Output(string.Format("{0,9} messages read.", messages.Length.ToString()));
Output("");