You Are Here:

Community: Developer Discussion Boards

#1 Old nokia E50 + 6103 discovery problem - 2008-05-01, 12:57

Join Date: Feb 2008
Posts: 2
maraswrona
Offline
Registered User
Hi

I'm working on a simple game project, with multiplayer mode over bluetooth. I've checked out several examples and tutorials and they all work fine on WTK emulators, I can easily turn on 2 or more emulators and they communicate perfectly. The problem occurs when I try to run those midlets on my two phones, that is, Nokia E50 and Nokia 6103. I've tried all possible configurations (client/server), and several programs and the devices are never able to discover each other. Before you ask those things:

- BT is turned ON surely on both devices, actually I'm installing the midlets on them via BT
- both devices can see each other in the authorized devices list (in the BT configuration manager in phone settings) and they are both authorized, non-blocked etc. so the connection between them must work fine
- the software that I try is also permitted to use the connection
- the source code that I have is rather correct, one sample is from my book about J2ME, another from Nokia SDK, another from official Nokia Games Over Bluetooth Tutorial and several others, which, as I said, work great on emulators

The problem occurs when I turn on the software. The server tries to discover clients, the client sets itself as discoverable i searches for servers, and they are never able to find each other.

Maybe the problem is in BT version, or some api differences between those devices? What should I do? Please help!
Reply With Quote

#2 Old 2008-05-03, 20:06

Join Date: Mar 2003
Posts: 2,617
traud
Offline
Super Contributor
maraswrona, I do not know either. Make sure both phones are visible before you start your MIDlets as Nokia S60 Bluetooth visibility cannot be changed from within code, yet.

By the way if you are new to J2ME, MIDlets and Bluetooth, I recommend to start with a book or tutorials rather than code examples as you will have to debug a lot on your own. There are a lot of bugs, tweaks and lessons to be learnt. Bluetooth is complicated. I do not have a good J2ME book at hand right now, however, start with the references of this one for JSR-82 (perhaps your library has its previous edition) or read at least the PDF coming with the specification. If you like to start with tutorials, continue here…
Reply With Quote

#3 Old Re: nokia E50 + 6103 discovery problem - 2008-05-04, 22:59

Join Date: Feb 2008
Posts: 2
maraswrona
Offline
Registered User
traud: Thanks for reply. The problem partly solved itself. When I wait long enough my devices are able to connect. However, only my E50 is able to act as a server. 6103 seems to be incapable of that. In fact, that phone can connect to only 1 device anyway, so it does not make any difference. Thanks for the links
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules

You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump
Similar Threads
Thread Thread Starter Forum Replies Last Post
Nokia 7650 support Bluetooth audo? ovjo12 Bluetooth Technology 5 2003-07-17 19:50
Series 60Series 60 MIDP Concept SDK Beta 0.2 Linux bug? kauppi Mobile Java Tools & SDKs 3 2003-04-07 10:05
nokia 7210 modem via IR doesn't work ! oussamaaiadi PC Suite API and PC Connectivity SDK 1 2003-03-06 11:46

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia