[osol-discuss] Bluetooth stack in user space

2008-05-14 Thread Anand Bheemarajaiah
Hello all, I have finished the bluetooth stack for opensolaris. I have also written the obex layer over the bluetooth stack so that transfer of objects ( files, contacts etc ) is possible. The stack is able to interact with most of the modern phones ( works with all nokia phones, some

Re: [osol-discuss] Bluetooth Stack in userspace

2008-04-11 Thread Anand Bheemarajaiah
Update - Here is the next draft of obex. http://anand.bheemaraju.googlepages.com/obex_draft_4b.zip I have tested it with nokia n70 ( my phone ). I get transfer rates of around 55kBps. There is some problem with libusb - it won't work with some dongles and some dongles it will work after some

Re: [osol-discuss] Bluetooth Stack in userspace

2008-04-09 Thread Anand Bheemarajaiah
Update - I have completed the basic functionalities of obex layer. Obex push profile is implemented. Now we can send files from pc to mobile only not the other way round. Further I am still in the process of cleaning up any hacks at the lower layers. There are certain things still left to do,

Re: [osol-discuss] Bluetooth Stack in userspace

2008-04-03 Thread Anand Bheemarajaiah
I didn't get your question. The stack will be the same as given in the bluetooth specs. so it will work with any bluetooth device. It won't be specific to only solaris. Is this what you wanted to know ? regards, Anand B This message posted from opensolaris.org

Re: [osol-discuss] Bluetooth Stack in userspace

2008-04-02 Thread Anand Bheemarajaiah
Thanks to ppl at bosug... I fixed the memory leaks using libumem and mdb. The code is working fine now. It still cribs sometimes in l2cap layer but i am sure i can fix that too. There were many places where i was making a mistake in the code ( freeing stack variables, etc etc ). All detected

Re: [osol-discuss] Bluetooth Stack in userspace

2008-04-02 Thread Anand Bheemarajaiah
A complete working bluetooth stack would involve writing drivers for the bluetooth devices ( dongle, notebook card, uart ) etc. It would also involve supporting many application profiles like dial up networking, obex, imaging etc. I am writing the stack completely in userspace; only for

[osol-discuss] Bluetooth Stack in userspace

2008-03-31 Thread Anand Bheemarajaiah
Hello all, I am currently building the bluetooth stack support in solaris for usb bluetooth dongles using the libusb api as a part of my undergraduate final year project. I have completed the hci-usb layer, hci layer, l2cap layer, sdp layer. I am currently doing the rfcomm layer. My query is

Re: [osol-discuss] Interrup read using libusb blocks the calling process

2008-02-08 Thread Anand Bheemarajaiah
Here is the output of the program with usb_debug_level set to 5 - $./a.out libusb debug level is 5 usb_set_debug(): Setting debugging level to 5 (on) usb_claim_interface(): hdl=0x8062e98: interface = 0 configuration_value=1,

[osol-discuss] Interrup read using libusb blocks the calling process

2008-02-08 Thread Anand Bheemarajaiah
I am currently working on a project to build bluetooth usb driver for opensolaris using libusb. I can read the details of the ( configuration , interface and endpoint numbers) of the usb bluetooth dongle. I have written a code to send a HCI command to device and read the event packet arriving