Now I develop one bluetooth application, where I have obtained to make one server that gives one L2CAP service and one client that searchs and finds this service. The server and the client are different devices.
My question is if it is possible to make in one only device the client and the server. I only try to make one system where the client and the server go changing the papers in the same device. I obtain good results in the emulator, but in the real devices I have found the problem that the program doesn't work well because first of all the services don't match by the client and moreover it makes that the movile is blocked and you don't close the application as you do normally.
If someone knows how to develop one client and server in the same device, please tell me the solution or one reference of some example of it.
Thanks for all,