janrueth / SiriServerPlugins

These are plugins I wrote for the SiriServer core
26 stars 18 forks source link

Object issue in smsObjects #3

Open bigordon opened 12 years ago

bigordon commented 12 years ago

I was trying to write a script to read your text messages and not sure if I need SmsSearch however like in your tutorial for using a plist dump, the objects have = 1 and 2; see attached code below.

class SmsSearch(ClientBoundCommand): SearchStatusReadValue = 1 <--- SearchStatusUnreadValue = 2 <---

janrueth commented 12 years ago

that may not be necessarily wrong, do you have code that indicates that strings should be used here instead?

bigordon commented 12 years ago

I have no code. I am trying to understand how siri gets the new text info but from what i know in the sms sqlite database, new messages are flagged with 0.

janrueth commented 12 years ago

There is a alert sent which is currently uncaptured

bigordon commented 12 years ago

what does that mean?

janrueth commented 12 years ago

Siri notifies about new messages/email what so ever using a special command called SetAlertContext

trevor403 commented 12 years ago

i copied the siri objects form SiriServerCore to SiriServer and the shortMessage works fine

janrueth commented 12 years ago

I nevertheless would suggest to just move to SiriServerCore, there are a lot of fixes and enhancements over SiriServer

trevor403 commented 12 years ago

yea but i tried SiriServerCore and i had a crypto error so i just ported everything new down to the SiriServer