Belkin PF31 Specifications Page 31

  • Download
  • Add to my manuals
  • Print
  • Page
    / 46
  • Table of contents
  • TROUBLESHOOTING
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 30
202
|
Chapter 7: Bluetooth
OBEX FTP over Bluetooth is not very well supported on Linux. The most
popular package, obexftp, still has Bluetooth support in development at the
time of writing. We advise you to check the project’s home page at http://
triq.net/obex.
OBEX PUSH is better supported and is more practical since it is consis-
tently implemented in consumer devices such as cell phones. There are sev-
eral graphical programs available to support OBEX PUSH on Linux, as we
shall see later. First, we look at the command-line tools available to perform
file transfers.
Basic support
OBEX support on Linux is implemented through a project called OpenOBEX.
Any OBEX-related program requires you to have these libraries installed. They
can be obtained and compiled from the project’s home page at http://openobex.
sourceforge.net/ or installed through your Linux system’s package manage-
ment system.
If your Linux distribution is relatively old, be aware that
OpenOBEX might not have been compiled with Bluetooth
enabled. If you are encountering inexplicable errors in start-
ing up OBEX applications, this may well be the case, and
you should contact your Linux distribution vendor.
The OpenOBEX libraries have a companion package called openobex-apps.
The openobex-apps package contains a set of basic test programs that you
can use to get started. They are by no means production quality, but they
enable you to test your setup. We’ll use the
obex_test program to test
receiving and sending files.
To send a file to a remote device, you must first discover the RFCOMM port
the OBEX PUSH support uses, as shown in Example 7-3. Use
sdptool to dis-
cover this, and then run
obex_test. Let’s suppose our remote device has the
address 11:22:33:44:55:66 and uses RFCOMM port 3 for OBEX PUSH.
Here is an imaginary session:
$ obex_test -b 11:22:33:44:55:66 3
> c
> p localfilename remotefilename
This session presents two arguments to the p command: the location of the
file you want to send and the name of the file to use when it reaches the
remote device.
Page view 30
1 2 ... 26 27 28 29 30 31 32 33 34 35 36 ... 45 46

Comments to this Manuals

No comments