gnokii-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Reading new SMS on nokia 6230 over bluetooth on Mac OS X


From: Martin Ritchie
Subject: Re: Reading new SMS on nokia 6230 over bluetooth on Mac OS X
Date: Mon, 25 Jun 2007 08:13:43 +0100

Sorry for not posting this sooner.

I was using this of gnokii 0.6.16. This was just a quick script to use
"--monitor once" to detect when Unread messages have arrived. Then
--showsmsstatus to detect how many messages are in the mailbox IN.
Then getsms is used to download all these messages and the unread
messages detected and processed. Currently the processing is hardwired
in to the script. In fact the only message that is processed is the
"reset-modem" message.

Future thoughts for this were:
- Allow processing scripts to be "loaded" in some fashion detached
from the main script.
- Allow monitoring of a folder for outgoing messages.

Note:
The reason I download all messages from IN is because I was using my
wife's phone for testing (Nokia 6230) which had messages in the IN
box. Normally I would skip that step and just use "--getsms 1 1 -d"
until there are no more messages.

You will also note that the script also has hardwired settup for
"heyu" in "setInitialStateI()" this is an X-10 interface controller. I
use this for remotely powercycling my netgear ADSL modem that hangs
every so often.

Hope this is still useful for you.

Any questions just ask.

--
Martin Ritchie

On 19/06/07, Porcelli, Anthony F. <address@hidden> wrote:
I guess the list is the best way.

-----Original Message-----
From: address@hidden
[mailto:address@hidden On Behalf Of Martin Ritchie
Sent: Tuesday, June 19, 2007 2:52 AM
To: Porcelli, Anthony F.
Subject: Re: Reading new SMS on nokia 6230 over bluetooth on Mac OS X

On 18/06/07, Porcelli, Anthony F. <address@hidden> wrote:
> Martin,
>
> You wrote:   'So I whipped together a series of scripts
> to use the monitor to wait for unread messages to arrive then used
> getsms to pull all the messages to find the unread one :)'
>
> Are these scripts available for public use?  Would you mind sharing?
I
> have a similar application and my Nokia 6103 only supports --getsms.
>
> Thanks in advance,
>
> Anthony Porcelli

Totally, They are on the machine at home. I'll zip them up an post
them to the list. Unless there is a better location? Attach to wiki?/

Martin

> -----Original Message-----
> From: address@hidden
> [mailto:address@hidden On
Behalf
> Of Martin Ritchie
> Sent: Friday, June 15, 2007 9:09 PM
> To: Discussion forum for gnokii users.
> Subject: Re: Reading new SMS on nokia 6230 over bluetooth on Mac OS X
>
> On 15/06/07, Daniele Forsi <address@hidden> wrote:
> > Martin Ritchie wrote:
> >
> > > Did notice this in the ChangeLog:
> > >
> > >  o add new_message_store field of gn_memory_type type to
> > >    gn_sms_status                                  (David Vrabel)
> > >
> > > but couldn't see where new_message_store was being used for the
> > > nk6510.
> >
> > it's for the AT driver, but it's not used/needed (the reason is in
> the comment
> > for AT_SetSMSMemoryType() in common/phones/atgen.c)
> >
> > --
> > Daniele
> >
> >
> > _______________________________________________
> > gnokii-users mailing list
> > address@hidden
> > http://lists.nongnu.org/mailman/listinfo/gnokii-users
> >
>
> Thanks for all the help.  The smsd wouldn't compile under osx for me.
> However, as you pointed out the message 1 isn't always the first. It
> just happend that it was. So I grabbed all the messages and it
> included the unread message. So I whipped together a series of
scripts
> to use the monitor to wait for unread messages to arrive then used
> getsms to pull all the messages to find the unread one :)
>
> Works a charm for the demo system. Will probably be using a different
> phone for the live system. Hopefully I'll be able to help out ab it
> with the gnapplet.sis as most of my phones are s60.
>
> thanks again.
> --
> Martin Ritchie
>
>
> _______________________________________________
> gnokii-users mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/gnokii-users
>

Attachment: SMSMonitor.sh
Description: Bourne shell script


reply via email to

[Prev in Thread] Current Thread [Next in Thread]