Home > OS >  How to use this function BluetoothAuthenticateDeviceEx bluetooth APIS?
How to use this function BluetoothAuthenticateDeviceEx bluetooth APIS?

Time:10-14

_BLUETOOTH_OOB_DATA_INFO pbtOobData=https://bbs.csdn.net/topics/{0};
PbtOobData. C [0]='7';
PbtOobData. C [1]='3';
PbtOobData. C [2]='8';
PbtOobData. C [3]='2';
PbtOobData. C [4]='5';
PbtOobData. [5] C='1';
PbtOobData. C [6]='\ 0';

HBLUETOOTH_AUTHENTICATION_REGISTRATION phRegHandle;
IRet=BluetoothAuthenticateDeviceEx (0, m_radio, & amp; TDevice, & amp; PbtOobData MITMProtectionNotRequired);

The above code, it is used?
PbtOobData this parameter is to preach the pin code? When I pass null pin is the system automatically generated, if I preach specified pbtOobData, function directly back to 1244, and, for the great spirit show ~ ~ ~ urgent! Online etc.!

CodePudding user response:

I also is the same problem, the building Lord solved excuse me?

CodePudding user response:

Above problem is solved, please excuse me, I now also encountered such a problem?
  • Related