| Reply | « Previous Thread | Next Thread » |
|
Hi,
I am currently programming for the Nokia 3650 mobile phone using its bluetooth capabilities. I have encountered the following problem: I have opened an L2CAP socket on the mobile listening at a specific port for incoming connections. From a Linux PC (using BlueZ) I am trying to connect to the mobile phone at the specific port. The problem is that the connection is not accepted. When I reversed the roles (connecting from the mobile to the PC) the connection was made. I also observed that I can't perform a pairing between the mobile and the PC - I wonder if this has anything to do with it. Any help would be greatly appreciated. thnx |
|
Symbian OS does not require authentication/pairing for outgoing connections (it depends on the remote device if the authentication is done).
For incoming connections, it can be determined on the application-level if authentication or authorisation is needed. Seppo Forum Nokia |
|
So pairing isn't the problem here because I specify in the program for the accepting socket that no authorisation/authentication should be used.
The problem could be caused by RSocket::Accept() then. Immediately after this call the RequestStatus of the socket gets a big negative value and not KErrNone. So maybe there could be something wrong with this call. I also cannot run the BTPointToPoint example. Again there is something wrong during accept so I believe the two problems share the same nature. Could it have to do with any configuration options of BlueZ under Linux? I sincerely do not believe it to be so but then you never know. Has anyone run the BTPointToPoint example under Linux??? |
|
Problem solved.
I had allowed for authorisation to be performed on incoming socket operations so the connection was getting rejected because of that. Thanks |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|