Bluetooth PC programming question
New comer in Bluetooth PC programming seeks help from experts on problems in Bluetooth communication.
I have developed a software (please refer to attached source code) for running in Windows XP for testing communication between PC with Bluetooth capability and Bluetooth device using RFMD SiW3500.
If I set the PC program as "Client" device and make connection to Bluetooth device, connection can be made successfully and both devices can be communicated. But connection will be terminated automatically after 1 minute (PC program will receive FD_CLOSE event).
On the other hand, if I set the PC program as "Server" device and wait for connection from Bluetooth device, no event will be received although Bluetooth device is connected to PC (detected from Bluetooth device side).
|