Ticket #3 (closed enhancement: fixed)

Opened 19 months ago

Last modified 18 months ago

Multiple HCI devices

Reported by: manuel Owned by: somebody
Priority: major Milestone:
Component: component1 Version:
Keywords: Cc:

Description

OpenObex is well designed enough to distinguish and use any of the hci devices (bluetooth dongles, registered with BlueZ) that are currently in service in a certain computer. But obexftp was assuming that only hci0 was going to be registered with BlueZ, and furthermore it will be available. This patch not only lets the user select the hci device to use (new argument for obexftp), but also in case the user didn't passed any argument, obexftp is now intelligent enough to use any of those available (useful when hci0 is down). The patch is divided in 4 files, each patch file applies to a certain file in the obexftp svn trunk. The longest patch applies to apps/bt_discovery.c because this file was badly indented. All patches file had been made using "svn diff" with the latest trunk copy (rev 129). To apply just do "patch -p0 < |FILE|" from the trunk folder. Thanks, Manuel Naranjo Wireless Cables Inc.

Attachments

patchs.tar.gz (3.2 KB) - added by manuel 19 months ago.
Patchs file, compressed as tar.gz
bt_discovery.c.patch (6.2 KB) - added by zany 19 months ago.
obexftp.c.patch (2.0 KB) - added by zany 19 months ago.
client.c.patch (1.3 KB) - added by zany 19 months ago.
client.h.patch (295 bytes) - added by zany 19 months ago.

Change History

Changed 19 months ago by manuel

Patchs file, compressed as tar.gz

Changed 19 months ago by zany

Changed 19 months ago by zany

Changed 19 months ago by zany

Changed 19 months ago by zany

Changed 18 months ago by zany

  • status changed from new to closed
  • resolution set to fixed

Something similar is in SVN now. Thanks for drafting this!

Note: See TracTickets for help on using tickets.