Wireless Communication Library Support Forum
Frameworks => Bluetooth Framework => Topic started by: AramMoon on November 24, 2015, 12:02:49 PM
-
I tried pairing without Discovery.
This is work well Window 8, 10, but not working Window 7.
m_pDevice->SetAddress(MACAddress);
m_pDevice->Pair(*m_pRadio);
-
Hello,
Can you give me more information? What does not work exactly?
-
I'm using like below.
__hook(&CwclBluetoothDevice::OnPINRequest, m_pDevice, &BluetoothDll::OnPINRequest);
__hook(&CwclBluetoothDevice::OnNumericComparison, m_pDevice, &BluetoothDll::OnComparison);
__hook(&CwclBluetoothDevice::OnPasskeyNotification, m_pDevice, &BluetoothDll::OnPasskeyNotify);
__hook(&CwclBluetoothDevice::OnPasskey, m_pDevice, &BluetoothDll::OnPasskey);
m_pDevice->SetAddress(pszString);
int iRes = m_pDevice->Pair(*m_pRadio); ==> Here I will not go to the next step.
Related hook message does not come across.
__unhook(&CwclBluetoothDevice::OnPINRequest, m_pDevice, &BluetoothDll::OnPINRequest);
__unhook(&CwclBluetoothDevice::OnNumericComparison, m_pDevice, &BluetoothDll::OnComparison);
__unhook(&CwclBluetoothDevice::OnPasskeyNotification, m_pDevice, &BluetoothDll::OnPasskeyNotify);
__unhook(&CwclBluetoothDevice::OnPasskey, m_pDevice, &BluetoothDll::OnPasskey);
-
Hm, it is really strange. Is there any way I can take a look om your system through TeamViewer?