You Are Here:

Community: Developer Discussion Boards

#1 Old Cool S40 Emulator->btspp: connection rejected - 2005-11-08, 09:50

Join Date: Oct 2005
Posts: 4
leroykussy
Offline
Registered User
Hi,

I'm using the S40 emulator in combination with Nokia Connectivity Framework and my bluetooth USB dongle. I am able to discover real devices in the emulated environment, but I can't connect to them. (at least not using serial port profile)

This is the code i'm using (ofcourse with a try/catch block around it):
Code:
  StreamConnection conn = (StreamConnection)Connctor.open("btspp://btaddr:1");
Where btaddr is the address of the bluetooth device.


On my phone this works just fine! it connects to the device and pairs with it, although on my emulator it gives an IOException with the message "connection rejected".

Does anyone know how to solve this problem? As I said before, the bluetooth device & service discovery already works like a charm.
Reply With Quote

#2 Old Cool Re: S40 Emulator->btspp: connection rejected - 2005-11-08, 14:55

Join Date: Oct 2005
Posts: 3
joseleman
Offline
Registered User
I have the same problem. I think that it happens because we haven't paired with the other device, and i don't know how to solve. I' use Connectivity FrameWork 1.2 too.

In the other hand, i use an BTBrowser to discover all devices and all services that they offers. I can search all services of others phones, but i can't discover services of PocketPC and BT-RS232, similar to GPS Bluetooth. Do you know why occurs?

Sorry, my english is very poor.
Reply With Quote

#3 Old Re: S40 Emulator->btspp: connection rejected - 2005-11-14, 21:10

Join Date: Oct 2005
Posts: 4
leroykussy
Offline
Registered User
Yes I think it's a pairing problem too. At this moment I still haven't found a solution.

Anyone here who can help us with this problem?

Thanks in advance.
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
Creating socket connection on s40 MIDP 2.0 aidygallagher Mobile Java Networking & Messaging & Security 2 2008-03-28 03:52
Connection problem between s40 and s60 skevelim Mobile Java Networking & Messaging & Security 3 2005-07-04 11:57
Nokia手机主要参数列表 cqucyf Other Programming Discussion 关于其他编程技术的讨论 0 2005-05-04 17:34
pop3 client on s40 - connection to server mihaicalin00 Mobile Java Networking & Messaging & Security 1 2004-03-03 14:35
Nokia 3585i and PC Suite 4.95; NO CONNECTION chrism2202 PC Suite API and PC Connectivity SDK 2 2003-04-21 13:10

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