FAQFAQ   SearchSearch   UsergroupsUsergroups   RegisterRegister   ProfileProfile    Log inLog in   RSS Feed

proximty sensor

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Salling Software Forums Forum Index -> Archives
View previous topic :: View next topic  
Author Message
Guest






PostPosted: Sat Mar 01, 2003 3:04 am    Post subject: proximty sensor Reply with quote

hey guys,

Well I am totally ignorant of how these phones work, so I suspect this question is pretty basic...

Anyway, I have a T68i and a registered version of Sony Ericsson Clicker. Is the proximty sensor a function of the T68i or the computer's bluetooth adapter? It is quite long now (a full 10m despite concrete walls!) and I would prefer if it could be tailored so that it paused iTunes when I left the room. Is there such a way of doing this on the computer side or is it on the phone side? Obviously, the computer side is preferable for my needs...

Thanks all.


Back to top
Guest






PostPosted: Sat Mar 01, 2003 3:11 am    Post subject: Re: proximty sensor Reply with quote

--- In ericssonclient@yahoogroups.com, "adrian_3779 " wrote:
> Is the proximty sensor a function of the T68i or the computer's bluetooth adapter?

Well, from what I understand it's a function of the software, SEC. The range will depend on how good BT adapter you have so this seems impossible. But I'm not a developer so someone might know better.


Back to top
salling
Site Admin


Joined: 27 Jul 2004
Posts: 7498
Location: Stockholm, Sweden

PostPosted: Sat Mar 01, 2003 4:14 am    Post subject: Re: proximty sensor Reply with quote

This can't be done... Sorry. The proximity detection is quite boolean,
in that it doesn't know if you're close to or far away from your
computer.

- jonas

On lördag, mar 1, 2003, at 02:04 Europe/Stockholm, adrian_3779
wrote:

> hey guys,
>
> Well I am totally ignorant of how these phones work, so I suspect this
> question is pretty basic...
>
> Anyway, I have a T68i and a registered version of Sony Ericsson
> Clicker. Is the proximty sensor a function of the T68i or the
> computer's bluetooth adapter? It is quite long now (a full 10m
> despite concrete walls!) and I would prefer if it could be tailored so
> that it paused iTunes when I left the room. Is there such a way of
> doing this on the computer side or is it on the phone side?
> Obviously, the computer side is preferable for my needs...
>
> Thanks all.
>
>
> ------------------------ Yahoo! Groups Sponsor
> ---------------------~-->
> Get 128 Bit SSL Encryption!
> http://us.click.yahoo.com/FpY02D/vN2EAA/xGHJAA/EGnolB/TM
> ---------------------------------------------------------------------
> ~->
>
> To unsubscribe from this group, send an email to:
> ericssonclient-unsubscribe@yahoogroups.com
>
>
>
> Your use of Yahoo! Groups is subject to
> http://docs.yahoo.com/info/terms/
>
>


Back to top
View user's profile Send private message Send e-mail Visit poster's website
Guest






PostPosted: Sat Mar 01, 2003 6:18 am    Post subject: Re: proximity sensor Reply with quote

wow! my BT adapter craps out at like 10' - what one are u using???

Sometime 'round 02/28/2003 05:04 PM, so and so (adrian_3779
) at such n such (noblee@m...) graced my inbox with this
brilliant thought:

> hey guys,
>
> Well I am totally ignorant of how these phones work, so I suspect this
> question is pretty basic...
>
> Anyway, I have a T68i and a registered version of Sony Ericsson Clicker. Is
> the proximty sensor a function of the T68i or the computer's bluetooth
> adapter? It is quite long now (a full 10m despite concrete walls!)



-------
garrett


Back to top
Guest






PostPosted: Sat Mar 01, 2003 7:25 am    Post subject: Need help debugging this Reply with quote

So I made some changes to my trivial uptime script by adding the date and time when the Mac was last booted.

It works in Action Editor. But not from the phone.
Anybody that can tell what's happening?

Here's the script:

set this_data to do shell script "uptime"
set x to the offset of "up" in this_data
set this_data to (characters x thru -41 of this_data) as string

set that_data to do shell script "sysctl kern.boottime"
set x to the offset of "=" in that_data
set that_data to (characters (x+1) thru 41 of that_data) as string

set boot_data to "Your Mac has been " & this_data & "and was last booted on" & that_data


return { "Uptime", boot_data }


Back to top
Guest






PostPosted: Sat Mar 01, 2003 5:22 pm    Post subject: Re: Need help debugging this Reply with quote

I've got some help with my little uptime script, but it still only works in the Action Editor. When I run it from the phone, the SEC-distrubuted app hangs and I have to remove it and republish it again.

Anybody got a clue as to why this happens?

Now the script looks like this

set this_data to do shell script "/usr/bin/uptime"
set x to the offset of "up" in this_data
set this_data to (characters x thru -41 of this_data) as string

set that_data to do shell script "/usr/sbin/sysctl kern.boottime"
set x to the offset of "=" in that_data
set that_data to (characters (x + 1) thru 41 of that_data) as string

set boot_data to "Your Mac has been " & this_data & "and was last booted on" & that_data


return {"Uptime", boot_data}


Back to top
salling
Site Admin


Joined: 27 Jul 2004
Posts: 7498
Location: Stockholm, Sweden

PostPosted: Sat Mar 01, 2003 5:37 pm    Post subject: Re: Re: Need help debugging this Reply with quote

I think it's one of the characters you're sending that's causing the
problem. I don't have time to figure out which now, but I will add it
to my list of "peculiarities". In the meantime, you may want to pass
the boottime string trough the tr shell command to replace potentially
offensive characters.

On lördag, mar 1, 2003, at 16:22 Europe/Stockholm, kulturnyheterna
wrote:

> I've got some help with my little uptime script, but it still only
> works in the Action Editor. When I run it from the phone, the
> SEC-distrubuted app hangs and I have to remove it and republish it
> again.
>
> Anybody got a clue as to why this happens?
>
> Now the script looks like this
>
> set this_data to do shell script "/usr/bin/uptime"
> set x to the offset of "up" in this_data
> set this_data to (characters x thru -41 of this_data) as string
>
> set that_data to do shell script "/usr/sbin/sysctl kern.boottime"
> set x to the offset of "=" in that_data
> set that_data to (characters (x + 1) thru 41 of that_data) as string
>
> set boot_data to "Your Mac has been " & this_data & "and was last
> booted on" & that_data
>
>
> return {"Uptime", boot_data}
>
>
> ------------------------ Yahoo! Groups Sponsor
> ---------------------~-->
> Get 128 Bit SSL Encryption!
> http://us.click.yahoo.com/LIgTpC/vN2EAA/xGHJAA/EGnolB/TM
> ---------------------------------------------------------------------
> ~->
>
> To unsubscribe from this group, send an email to:
> ericssonclient-unsubscribe@yahoogroups.com
>
>
>
> Your use of Yahoo! Groups is subject to
> http://docs.yahoo.com/info/terms/
>
>


Back to top
View user's profile Send private message Send e-mail Visit poster's website
salling
Site Admin


Joined: 27 Jul 2004
Posts: 7498
Location: Stockholm, Sweden

PostPosted: Sat Mar 01, 2003 5:39 pm    Post subject: Re: Re: Need help debugging this Reply with quote

Ok. I figured it out (I think). Your script will generate a newline. I
need to strip or escape those before I send the string to the phone
(this is a bug). Remove the last newline character and you should be
fine.

- jonas

On lördag, mar 1, 2003, at 16:22 Europe/Stockholm, kulturnyheterna
wrote:

> I've got some help with my little uptime script, but it still only
> works in the Action Editor. When I run it from the phone, the
> SEC-distrubuted app hangs and I have to remove it and republish it
> again.
>
> Anybody got a clue as to why this happens?
>
> Now the script looks like this
>
> set this_data to do shell script "/usr/bin/uptime"
> set x to the offset of "up" in this_data
> set this_data to (characters x thru -41 of this_data) as string
>
> set that_data to do shell script "/usr/sbin/sysctl kern.boottime"
> set x to the offset of "=" in that_data
> set that_data to (characters (x + 1) thru 41 of that_data) as string
>
> set boot_data to "Your Mac has been " & this_data & "and was last
> booted on" & that_data
>
>
> return {"Uptime", boot_data}
>
>
> ------------------------ Yahoo! Groups Sponsor
> ---------------------~-->
> Get 128 Bit SSL Encryption!
> http://us.click.yahoo.com/LIgTpC/vN2EAA/xGHJAA/EGnolB/TM
> ---------------------------------------------------------------------
> ~->
>
> To unsubscribe from this group, send an email to:
> ericssonclient-unsubscribe@yahoogroups.com
>
>
>
> Your use of Yahoo! Groups is subject to
> http://docs.yahoo.com/info/terms/
>
>


Back to top
View user's profile Send private message Send e-mail Visit poster's website
Guest






PostPosted: Sat Mar 01, 2003 5:51 pm    Post subject: Don't forget to give SEC a review Reply with quote

I'm totally in love with this app. I belive the shareware fee is a bargain compared to the functions and coolness it gives to my Mac. I just want everybody to know about how good, cool and stunning it is.

I'm sure there is more people out there that feels the same way, if you do and havn't written a review of SEC on any of the downloadsites, please do. It's only a minute and besides letting the world know about this program it also gives you a chance to give Jonas the credit he deserves!

If you haven't done so, please hop over to

Version Tracker
http://www.versiontracker.com/moreinfo.fcgi?id=18500&db=mac

MacUpdate
http://www.macupdate.com/info.php/id/11007

Jonas: You might wanna add the program to
http://download.com.com/
and
http://www.mac.tucows.com/


Back to top
Guest






PostPosted: Sat Mar 01, 2003 6:39 pm    Post subject: Uptime Script done. Was: Need help debugging this Reply with quote

Thanks! Now it works. Here's the script if anybody wants it

[CODE]set this_data to do shell script "/usr/bin/uptime"
set x to the offset of "up" in this_data
set this_data to (characters x thru -41 of this_data) as string

set that_data to do shell script "/usr/sbin/sysctl kern.boottime"
set x to the offset of "=" in that_data
set that_data to (characters (x + 1) thru 35 of that_data) as string

set boot_data to "Your Mac has been " & this_data & " and was last booted on" & that_data
return {"Uptime", boot_data}[/CODE]

--- In ericssonclient@yahoogroups.com, Jonas Salling wrote:
> Ok. I figured it out (I think). Your script will generate a newline. I
> need to strip or escape those before I send the string to the phone
> (this is a bug). Remove the last newline character and you should be
> fine.
>
> - jonas


Back to top
Guest






PostPosted: Sat Mar 01, 2003 7:37 pm    Post subject: Re: Don't forget to give SEC a review Reply with quote

At 15:50 +0000 1-03-2003, kulturnyheterna wrote:
>I'm totally in love with this app. I belive the shareware fee is a
>bargain compared to the functions and coolness it gives to my Mac. I
>just want everybody to know about how good, cool and stunning it is.
>
>I'm sure there is more people out there that feels the same way, if
>you do and havn't written a review of SEC on any of the
>downloadsites, please do. It's only a minute and besides letting the
>world know about this program it also gives you a chance to give
>Jonas the credit he deserves!
>
>If you haven't done so, please hop over to


well, if you can read Italian check this long review/ tutorial with
pictures of T69, SEC and iBook at work:

http://www.macitynet.it/immagini/tutorial/SEC/


--
Settimio Perlini
http://www.macitynet.it/macprof

Back to top
Guest






PostPosted: Sat Mar 01, 2003 7:49 pm    Post subject: Re: Don't forget to give SEC a review Reply with quote

My italian is not that great, but I could get most of it by using Google's translation tool:

http://translate.google.com/translate?u=http%3A%2F%2Fwww.macitynet.it%2Fimmagini%2Ftutorial%2FSEC%2F&langpair=it%7Cen&hl=en&ie=ISO-8859-1&prev=%2Flanguage_tools

Very nice article!

--- In ericssonclient@yahoogroups.com, Settimio Perlini wrote:

> well, if you can read Italian check this long review/ tutorial with
> pictures of T69, SEC and iBook at work


Back to top
Guest






PostPosted: Sun Mar 02, 2003 5:49 am    Post subject: Re: Re: Need help debugging this Reply with quote


On Saturday, March 1, 2003, at 07:22 AM, kulturnyheterna
wrote:

> I've got some help with my little uptime script, but it still only
> works in the Action Editor. When I run it from the phone, the
> SEC-distrubuted app hangs and I have to remove it and republish it
> again.
>
> Anybody got a clue as to why this happens?
>
> Now the script looks like this

I like to see how "busy" my system is, so I added a display of load
averages to your uptime script. Here it is :)

set this_data to do shell script "/usr/bin/uptime"
set x to the offset of "up" in this_data
set this_data to (characters x thru -41 of this_data) as string

set that_data to do shell script "/usr/sbin/sysctl kern.boottime"
set x to the offset of "=" in that_data
set that_data to (characters (x + 1) thru 35 of that_data) as string

set uptimeOutput to do shell script "/usr/bin/uptime"
set y to the offset of "load averages: " in uptimeOutput
set loadAvs to (characters (y + 15) thru (the length of uptimeOutput)
of uptimeOutput) as string

set boot_data to "Your Mac has been " & this_data & " and was last
booted on" & that_data & ". Current load averages are: " & loadAvs
return {"Uptime", boot_data}
--
Donald Burr of Borg | FreeBSD: The Power to Serve!
Website: http://www.borg-cube.com/ | http://www.freebsd.org/
PO Box 91212, Santa Barbara CA 93190-1212 \-----------------------------
Tel: (805)563-0672 ICQ# 16997506 Present Day... Present Time!


Back to top
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Salling Software Forums Forum Index -> Archives All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group