| Reply | « Previous Thread | Next Thread » |
|
Hi,
I am developing a simple chat application where the PC (bluetooth dongle) is the server and the client is the Nokia 6280 (BT Address : 00:15:DE:E8:B4:2E) I am using the BlueSoleil SDK for the Server application. The SPP service is started with the SDk and following details are obtained : BT_StartSPPExService returned 1: Succeeded. SPPEx Service Info: SDAP Record Handle: 65547 Service Name: MyCutomerService Service Channel: 08 COM Port: 5 3. When the client application (J2ME) is started, the device is discovered, the service is also discovered and connection is established. A popup message "Allow Application to use connectivity applications?" also appears. The following is indicated by BlueSoleil BSOL_CLIENT>Error Code: 0xc Command Disallowed. Incoming Connection Connect Indication! Remote Address: 00:15:DE:E8:B4:2E SPPEx Service Info: SDAP Record Handle: 65547 Service Name: MyCutomerService Service Channel: 08 COM Port: 5 SPPEX Server Received data [0]: SPPEX Server Received data [0]: SPPEX Server Received data [0]: 4. The service URL reported by J2ME is btspp://111111111111:8;authenticate=true;encrypt=false;master=false The dongle address is 11:11:11:11:11:11. Also the service name "MyCutomerService" is identified. The problem is that no data is being received by the server. Following is the j2me code listing String serviceURL = ServiceRecord.getConnectionURL(ServiceRecord.NOAUTHENTICATE_NO ENCRYPT, false); conn = (StreamConnection)Connector.open(serviceURL); out = conn.openOutputStream(); in = conn.openInputStream(); String strCMD = "Test"; out.write(strCMD.getBytes()); Is the error code "Error Code: 0xc Command Disallowed." a cause for this problem. What does this error code indicate. Please let me know if you have any suggestions/solution for this problem. Thank you for your help. |
| sudhirbaliga |
| View Public Profile |
| Find all posts by sudhirbaliga |
|
Hi!, i'm making a similar application (I'm using the BlueSoleil's SDK too) and I get similar errors when I try to receive data from the phones. Any help about this issue will be appreciated!!
Regards! Kabuby |
|
I am also developing the server side. I can register the service record and get the data. Here i user StreamConnecton notifier and connected the URL and called acceptAndOpen(). It is working fine in SE K750. but not in Nokia 6600. I think the request is going on default channel.
Can you tell me how to register a channel in ServiceRecord? Regards. |
| shital_227 |
| View Public Profile |
| Find all posts by shital_227 |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| Thread | Thread Starter | Forum | Replies | Last Post |
|---|---|---|---|---|
| Data Call on Nokia 6600 (ETel/RCall) problem | NSDev | General Symbian C++ | 8 | 2006-09-13 11:12 |
| Nokia SDK Bluetooth service re-discovery problem, Help Me!:( | tomsonxu | Mobile Java Networking & Messaging & Security | 0 | 2005-11-08 08:44 |
| Data Call Problem !! | ahmed_baghdad | General Discussion | 0 | 2005-07-03 12:07 |
| problem to send Service Loading push message over 8310 | alinesimon | General Browsing | 3 | 2002-10-23 08:08 |
| problem to send a service loading message push for 8310 | alinesimon | General Messaging | 1 | 2002-05-06 13:39 |