int BthWriteScanEnableMask( unsigned char mask );
参数
mask
[in] Sets the adapter's scan mode according to a mask.
The following table shows the values that are used for the mask.
Value | Definition |
---|---|
0x00 | No scans are enabled. |
0x01 | Inquiry scan is enabled and page scan is disabled. 可被发现&不能被配对 |
0x02 | Inquiry scan disabled and page scan is enabled. 不可见&可被连接(可通过地址直接配对) |
0x03 | Inquiry scan enabled and page scan is enabled. 可被发现&可被配对 |