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.




