Hello,
I'm trying to make a SCO connection and send voice data between two bluetooth devices using the Symbian Bluetooth SDK C++ API.
For initiating SCO connection from a client, its specified in the documentation to use KHCIAddSCOConnIoctl in the ioctl function. But nothing is specified, as to how to listen for the SCO connection notifications in the remote side.
On referring bt_sock.h of v2 SDK, found the existence of KLMWaitForSCONotificationIoctl and the structrure TLMWaitForSCONotificationIoctl. So I guess, these can be used.
But on the latest SDK v8, the header file lists the classes CBluetoothSynchronousLink and MBluetoothSynchronousLinkNotifier for the same purpose.
I wish to know, what actually is to be done to get SCO notifications in the listening side. Could anyone give an example code for establishing SCO connections using C++ API.
Thanks,
Rakesh