Results 1 to 3 of 3
hi! i'm developing a program that lets my mobile phone connect and interact with my computer..
what I did is I inserted the location of my program in /etc/init.d/boot.local so ...
- 02-18-2008 #1Just Joined!
- Join Date
- Jan 2008
- Posts
- 14
How to activate bluetooth at startup??
hi! i'm developing a program that lets my mobile phone connect and interact with my computer..
what I did is I inserted the location of my program in /etc/init.d/boot.local so that my program would run before entering my desktop...
I also included /etc/init.d/bluetooth start in boot.local..
My problem is, my mobile phone seems to find my computers bluetooth device, but it cant connect to it....but when i run my program in terminal, everything works perfectly...
what i think is, there is something i need to run or boot before my program so that I can connect via bluetooth...I just dont know what it is..correct me if im wrong..
Hope that someone can help me with my problem...
thanks!!
-Jason
- 02-18-2008 #2
You may not have given things enough time to connect. Try putting your program in a later script. Maybe in the users .profile file or the KDE/gnome startup folder.
"bluetooth start" starts a thread the thread may have not had time to handshake with you phone before you run the script.
- 02-18-2008 #3
does your pc pair with your phone when you do rfcomm connect if it does then you gotta write a script that does the connecting automatically the connection has to be initiated by the pc (i'm not much of a script writer then like gogalthorp said you gotta put it into your kde/gnome startup folder


Reply With Quote