• Post Reply Bookmark Topic Watch Topic
  • New Topic

Bluetooth Messages from Desktop to Mobile  RSS feed

 
Ranganath .S.Junpal
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi folks,

I just wanted to know how to send messages frm my desktop to my Mobile via Bluetooth medium. I have Bluetooth dongle to my Desktop USB port. i just need tips on how to program to get to know if the Bluetooth Dongle is inserted to USB drive and how to send messages through the Bluetooth medium.. please let me know at the earliest

Thank you
Regards
 
Deepak Bala
Bartender
Posts: 6663
5
Firefox Browser Linux MyEclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I transfered files from the comp to the phone using bluetooth. You can transfer text too. You need a phone that has implemented the jsr 82 spec. There are three transfer protocols: L2CAP , RFCOMM , OBEX. Most phones will implement jsr 82 with no OBEX. First check to see if you phone will detect your dongle and you dongle can see the phone. Next use third party API like Avetana, Atinav, rococo, bluez ( i think that is the name ). You can try this web site if you are using a serial port dongle -> http://javabluetooth.org/

Expect problems when using these third party stacks. If your platform is windows then either the Atinav or Avetana stack should work for you. I had to try all three protocols, using two mobile phones, on five dongles, with three third party stacks before it succeeded. I think it was the Avetana thing that worked on L2CAP in the end. Cant remember. Writing a thesis on it with my friend as of now. I recommend you get a high quality dongle. I suggest you buy a HP or COMPAQ dongle, or one of those fancy branded dongles.

Code samples here -> http://www.java-tips.org/java-me-tips/midp/

Good luck.
 
Ranganath .S.Junpal
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey John Meyers ,

Thanks a lot for sharing ur knowledge and experiences.

Regards
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!