From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <20061116161319.54202.qmail@web37710.mail.mud.yahoo.com> Date: Thu, 16 Nov 2006 08:13:19 -0800 (PST) From: Imran Siddique To: BlueZ development In-Reply-To: <1163678809.5169.47.camel@localhost> MIME-Version: 1.0 Subject: Re: [Bluez-devel] Bluetooth devices connection problem Reply-To: BlueZ development List-Id: BlueZ development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============1375187561==" Sender: bluez-devel-bounces@lists.sourceforge.net Errors-To: bluez-devel-bounces@lists.sourceforge.net --===============1375187561== Content-Type: multipart/alternative; boundary="0-1467772982-1163693599=:54180" Content-Transfer-Encoding: 8bit --0-1467772982-1163693599=:54180 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit I know that is very easy to implement with L2CAP and RFCOMM, but my assignment is to be implement using HCI layer, and have to use these command ... Now, I have fix this problem ... Thanks for ur reply ... take care Regards, Marcel Holtmann wrote: Hi, > We are using Linux for tranfering a file on bluetooth devices. Connection create > function on HCI layer i.e. (hci_create_connection(----)) can't procced and give > error message. > > Connection failed ! > : operation not permitted > > kindly suggest is there any problem with linux kernal or else. simply don't use this command. There is no need to deal with low-level HCI command at all. The L2CAP and RFCOMM sockets full abstract from this and for everything else we have a nice D-Bus based interface. Regards Marcel ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Bluez-devel mailing list Bluez-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-devel Imran Siddique MS Computing Science Umeå University, Sweden. -------------------------------- Cell: +46-762743152 --------------------------------- Sponsored Link Mortgage rates near 39yr lows. $510,000 Mortgage for $1,698/mo - Calculate new house payment --0-1467772982-1163693599=:54180 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit
I know that is very easy to implement with L2CAP and RFCOMM, but my assignment is to be implement using HCI layer, and have to use these command ...
 
Now, I have fix this problem ...
 
Thanks for ur reply ...
 
take care
Regards,

Marcel Holtmann <marcel@holtmann.org> wrote:
Hi,

> We are using Linux for tranfering a file on bluetooth devices. Connection create
> function on HCI layer i.e. (hci_create_connection(----)) can't procced and give
> error message.
>
> Connection failed !
> : operation not permitted
>
> kindly suggest is there any problem with linux kernal or else.

simply don't use this command. There is no need to deal with low-level
HCI command at all. The L2CAP and RFCOMM sockets full abstract from this
and for everything else we have a nice D-Bus based interface.

Regards

Marcel



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel



Imran Siddique
MS Computing Science
Umeå University,
Sweden.
--------------------------------
Cell: +46-762743152


Sponsored Link

Mortgage rates near 39yr lows. $510,000 Mortgage for $1,698/mo - Calculate new house payment --0-1467772982-1163693599=:54180-- --===============1375187561== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV --===============1375187561== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Bluez-devel mailing list Bluez-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-devel --===============1375187561==--