| Reply | « Previous Thread | Next Thread » |
|
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");
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. |
| leroykussy |
| View Public Profile |
| Find all posts by leroykussy |
|
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. |
|
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. |
| leroykussy |
| View Public Profile |
| Find all posts by leroykussy |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| 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 |