Part Number: CC2564B
Hi,
We are trying to run SPPDemo application in STM32F4 series controller. When we run as SPP server, then SPP client application in mobile can communicate with our STM32 device.
When we tried to run SPP client, then connection establishment itself failed. We run server application in Mobile before pairing itself. We separately tested this SPP server application using another mobile and found that this is working properly.
When we run the SPP client application in device, the inquiry part is working properly and it correctly discovered the mobile having SPP server and pairing is also successful.
Then we initiate connection from client using OpenRemoteServer() function call in Demo application. But after sometimes we got open confirmation event as given below
"SPP Open Confirmation, ID: 0x0002, Status 0x0002 "
Since the status is 0x0002 and we can ensure that this connection establishment is failed. As per the code the status 0x0002 means Connection refused. Is this related to any configuration missing in our project?
Kindly get back with your comments.
Regards
Dinesh