Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Using OBEX Protocol on Windows with Perl/CGI

by ajt (Prior)
on Apr 06, 2009 at 10:08 UTC ( #755676=perlquestion: print w/ replies, xml ) Need Help??
ajt has asked for the wisdom of the Perl Monks concerning the following question:

I would like to connect to a device using the OBEX protocol to pull a file off it from a CGI request

I have to use a Widows system but I do have Apache and ActivePerl to use. As part of a earlier phase, I was able to use plain serial communication which works perfectly with Perl. For this phase of the project the device speaks only OBEX.

A quick Google search brings up the Open OBEX site and their software. It comes with a non-CPAN perl module in the source but not the Windows binary download. I'm trying Cygwin at the moment with little luck but I'd prefer a working ActiveState Perl solution.

On CPAN there are a set of "alpha" modules that work with OBEX, e.g. Net::OBEX but they don't do device discovery and are a bit Spartan.

Has anyone communicated with an OBEX device from within Perl on a Windows machine? and if so what did you do to make it work?

As ever, thanks in advance for any suggestions...


--
ajt

Comment on Using OBEX Protocol on Windows with Perl/CGI
Re: Using OBEX Protocol on Windows with Perl/CGI
by chrisv (Initiate) on Apr 06, 2009 at 10:16 UTC
    There's a link to a Perl example on the OpenOBEX site: http://dev.zuckschwerdt.org/openobex/wiki/ObexFtpExampleClientPerl

      Yes, but it needs OBEXFTP.pm which is I don't have as a Windows binary - it's not a pure Perl module. The downloads from the Open OBEX site don't include compiled modules for Perl or other languages... ;-(


      --
      ajt

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://755676]
Approved by marto
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (5)
As of 2014-07-26 17:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (178 votes), past polls