SMS pm-8200

Jordan Foley <[email protected]>
Newsgroups gmane.comp.mobile.bitpim.devel
Message-ID <[email protected]>
I modified the code from samsung_prototype to what should be very simple 
sms code where it just grabs the first message and puts their callback # 
in the database but it will not work for some reason. I just wish I 
could at least get something in the database then it would be a lot 
easier from there.

    def getsms(self, result):
        sms = {}
        self.log("Getting sms entries")
        slot=1
        req=self.protocolclass.messagerequest()
        req.slot=slot
        res=self.sendpbcommand(req, self.protocolclass.messageresponse)
        entry=sms.SMSEntry()
        entry.callback=callback
        result['sms']=sms
        return result

entry=sms.SMSEntry()
AttributeError: 'dict' object has no attribute 'SMSEntry, is the error 
it throws.


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.