Win a copy of Escape Velocity: Better Metrics for Agile Teams this week in the Agile and Other Processes forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Paul Clapham
  • Jeanne Boyarsky
Sheriffs:
  • Ron McLeod
  • Frank Carver
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • fred rosenberger

Bluetooth Messages from Desktop to Mobile

 
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Bartender
Posts: 6663
5
MyEclipse IDE Firefox Browser Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hey John Meyers ,

Thanks a lot for sharing ur knowledge and experiences.

Regards
 
If we don't do the shopping, we won't have anything for dinner. And I've invited this tiny ad:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic