Posts:
55
From:
India
Registered:
1/12/07
|
|
|
|
Bluetooth stack in user space
Posted:
May 14, 2008 9:36 AM
To: Communities » device drivers » discuss
Cc: OpenSolaris » discuss
Cc: Communities » ug » bosug
|
|
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 motorola phones, sony ericsson phones have some problem ).
Over the obex layer i have written the ftp layer using which you can browse through your phone. ftp commands are very simple and basic.
Here is the link for the source code, http://anand.bheemaraju.googlepages.com/obex_FTP_draft_11a_shell.zip
The main problem for me is lack of resources ( phones ), am trying my best to test it with as many phones as i can get my hands on.
here is the interactions/ commands sent through ftp with my nokia phone n70 - ----------------------------------------------------------------------------- -------
Device 0 Device Address: 00:15:a0:72:91:a1 Device name: Anand
RFCOMM Channel no. = 12
Enter pin code:0
Pairing complete
/> ls C:/ E:/
/> cd E:
/E:> ls documents/ Images/ Music/ MyMusic/ Others/ _PAlbTN/ Playlists/ private/ Sounds/ Videos/ HandyTaskman_S60_3_Full.sis Herocraft- Kamikaze 2 The Way Of Samurai 2D.jar UltimatePortable Ultimate Voice Recorder v3_01.sis
/E:> cd Sounds
/E:/Sounds> ls Digital/
/E:/Sounds> cd Digital
/E:/Sounds/Digital> ls
/E:/Sounds/Digital> put /export/home/anand/Desktop/usire.mp3 -------------------------------------------------- ################################################## /E:/Sounds/Digital> cd ..
/E:/Sounds> cd ..
/E:> ls documents/ Images/ Music/ MyMusic/ Others/ _PAlbTN/ Playlists/ private/ Sounds/ Videos/ HandyTaskman_S60_3_Full.sis Herocraft- Kamikaze 2 The Way Of Samurai 2D.jar UltimatePortable Ultimate Voice Recorder v3_01.sis
/E:> cd Images
/E:/Images> ls _PAlbTN/ 27042008454.jpg 27042008455.jpg 29042008456.jpg 29042008457.jpg
/E:/Images> get 27042008454.jpg -------------------------------------------------- ################################################## /E:/Images> exit Killed
----------------------------------------------------------------------------- -------
those # after get and put indicate the progress bar.
If you have any doubts, queries etc you can contact me at my email address anand ( underscore ) bheemaraju @ yahoo . com
regards, Anand B
PS: I had made some last minute changes for the draft. Tested it with nokia n series phone. Haven't tested this draft with other phones. I am hoping it should work. If you find any problems, will be glad to fix them.
|
|