Location:
bt_sock.h
Supported from 6.1
These constants define flags used to control inquiry and name lookup behaviour through RHostResolver::GetByAddress()
.
They are set through TInquirySockAddr::SetAction()
.
const static TUint KHostResInquiry = 1;
Perform an inquiry for devices using the IAC specified through TInquirySockAddr::SetIAC()
.
If this flag is used, then RHostResolver::GetByAddress()
returns one or more TNameEntry
records containing device address and class of device fields.
const static TUint KHostResName = 2;
Looks up the name for the device specified through TInquirySockAddr::SetBTAddr()
.
If this flag is used, then RHostResolver::GetByAddress()
returns a TNameEntry
with the original TInquirySockAddr
and the hostname of the device.
const TUint KGIAC
General Unlimited Inquiry Access Code.
Used with TInquirySockAddr::SetIAC()
.
const TUint KLIAC
Limited Inquiry Access Code.
Used with TInquirySockAddr::SetIAC()
.