[Top][All Lists]

[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: Porcelli, Anthony F.
Subject: RE: Reading new SMS on nokia 6230 over bluetooth on Mac OS X
Date: Mon, 25 Jun 2007 09:40:20 -0400

Smsd does not work for all phone models - so this is a good

Martin, I appreciate you posting this as it still helps out newbies to
gnokii. =)


-----Original Message-----
From: address@hidden
[mailto:address@hidden On Behalf
Of Daniele Forsi
Sent: Monday, June 25, 2007 6:18 AM
To: Discussion forum for gnokii users.
Subject: Re: Reading new SMS on nokia 6230 over bluetooth on Mac OS X

Jari Turkia wrote to Martin Ritchie:

> Ever thought making this as a Perl script? Your semi-complex
> shell-scripting would get a lot easier especially on the result
> evaluating and processing phase. That would also make your future
> enhancements easier.

yes evaluating the result would be easier with Perl, but why reinvent
functionality of smsd? Wouldn't it be easier to modify smsd to launch
Perl script on receipt of an SMS? If the script get to parse a text
file it 
doesn't even need to know about gnokii.

For those that don't know Perl but know PHP here is a shameless plug

Months ago I wrote a PHP extension for gnokii, but is not quite ready
prime time because it is only able to check is there are new SMS, read
and optionally delete them.
The script can be run forever and the phone is open only once, so it is
than calling gnokii multiple times, however some phone hang after being

continuosly connected for a number of hours (this happens both with
smsd and 
with my extension and it's likely to be a firmware issue); in my tests
with a 
3210 calling getsmsstatus with 1 second delay it hung after 17 hours
but it 
hung after only 11 hours when I increased the delay to 30 seconds (so I
the reset function to the extension)

example sms to email gateway:


If I get enough feedback on how it compiles and work I'll put it on 
gnokii-extras CVS


gnokii-users mailing list

reply via email to

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