[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] Hobbit to IPPhone Beta
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] Hobbit to IPPhone Beta
- From: "Asif Iqbal" <vadud3 (at) gmail.com>
- Date: Wed, 26 Mar 2008 17:35:27 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=S/VXA2HLbiCwvjUa+ssZPjyOARUwp7RmK6dHyu/xzAY=; b=q2kw5sWS0PZbEW2qYkkaX8o0u0V+5NIostchKNJMTyhPtG9atIRZL2oI2Ai03lHa88xsrcPANRyZTUkXl6Ff5HgxhoxT8+kYKfIQ9IZ7CW1ze3mSN+/YkV6PKO04wndr+oLw3X/xr3epquA+VxcT43xIRRu8pnGyzhhCAyXDO88=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=did5CbcXqCTF90lxrfovHi1O0cFb9kli3SU6qvzoFyQzb9XDkvSmTkL2WWmzbUswATMjYgyR28MJ8e6S0u9V3soYFIHdG/PbfybQU0qds93nbQvDpWR7fBkMAIYQbkYFIKx+Pr1ieJycWiBXEfT6q4s//x8y6NBWaD6eu1Eg3jg=
- References: <47CC7331.2000704 (at) cisco.com> <961092e10803041129p7ca44810x72f066ac1f10667b (at) mail.gmail.com> <47D5D2EC.5040106 (at) cisco.com> <47D6E420.1040306 (at) cisco.com> <47D99DDF.3020007 (at) cisco.com> <47E06B64.9010404 (at) cisco.com> <961092e10803181935n5e060839qb1fb5d29a7cbdcca (at) mail.gmail.com> <47E408AE.2080500 (at) cisco.com> <47E42880.1040802 (at) cisco.com> <0AA61DE0E6F8D14EBA8ABB66E695C5550137F7FD (at) RDEX01.ads.mobilcom.de>
On Wed, Mar 26, 2008 at 6:27 AM, Detlef Stracke
<Detlef.Stracke (at) mobilcom.de> wrote:
> Hi Charles,
>
> if I execute "execute_push", then I get this Error:
>
> <CiscoIPPhoneError Number="6" />
I am getting the exact same error too
>
>
>
> Authorization seems to be ok.
>
>
>
>
> -----Ursprüngliche Nachricht-----
> Von: Charles Jones [mailto:jonescr (at) cisco.com]
> Gesendet: Freitag, 21. März 2008 22:29
> An: hobbit (at) hswn.dk
> Betreff: Re: [hobbit] Hobbit to IPPhone Beta
>
>
>
> Charles Jones wrote:
> > I've posted a beta of Hobbit2IPPhone here:
> > http://www.the-ownage.com/?p=620
> >
> > This is a stable beta, I'm currently using it daily. There is still
> > lots of work I need to do to make a real portable release, and a
> > "services" version as well.
> >
> > Enjoy!
> >
> > -Charles
> I just realized that I forgot to mention in the "docs" at the top of the
> program that for this to work properly, you should run it out of cron
> every minute, ie:
>
> $ crontab -l
> * * * * * /var/www/perl/hobbit.cgi
>
> You can run it from command-line manually for testing purposes.
> Explanation of why it is run this way...You cannot just "push" XML to an
> IPPhone to create menus and such. However, you can push a bit of XML
> that instructs the phone to fetch a remote CGI, and that remote CGI can
> have the XML for menus and such. In other words, the phone will only act
> on code that IT fetches itself. The only thing you can push to it in one
> action is the command to execute a remote CGI.
>
> So, when hobbit.cgi is run from command-line (or cron), it does the
> initial authentication to the IPPhone, and tells it to execute a remote
> CGI, which happens to be the same hobbit.cgi program, except it passes
> along some parameters that tell it to do the Hobbit stuff.
>
> I know that is kind of confusing...its basically a cgi and command-line
> program all in one. If run from the command-line, it tells the phone to
> fetch it via http along with parameters that make it act like a web CGI
> instead.
>
> Anyhow running it out of cron every minute is the best way to keep it
> running. I am experimenting with using meta-refresh instead, but so far
> I don't like that, because if you exit the hobbit menu, it stops
> refreshing and you have to kick it off again manually.
>
> Ahh..the fun of beta software :)
>
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe (at) hswn.dk
>
>
>
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe (at) hswn.dk
>
>
>
--
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu