Skip to contentSkip to conversation

Bluetooth devices connection problem

Bluez-devel Imran Siddique 3 participants 4 messages Nov 16, 2006 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

Hi ...

We are using Linux for tranfering a file on bluetooth devices. Connection c= reate
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.

Regards,

-- =

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

-------------------------------------------------------------------------
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=3Djoin.php&p=3Dsourceforge&CID=3DDE=
VDEV
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

maintainer
#1 lore raw

Hi,

Quoted 8 lines

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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

#2 lore raw

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 <[email protected]> wrote:
Hi,

Quoted 8 lines

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
[email protected]
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

-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

maintainer
#3 lore raw

Hi,

Quoted 3 lines

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 ...

actually that is a total stupid task and doesn't comply with specification, but have fun.

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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel