RS9116 n-Link Linux and Android Technical Reference Manual
Version : 2.0
July 2020
115
Reset Required
No.
Usage
hcitool -i <hciX> cmd 0x04 0x02
Get Local BD Address
Description
This command is used to get the local BD Address
Default Value
-
Input Parameters
None
Output Parameter
6 Byte BD Address
Reset Required
No.
Usage
hcitool -i <hciX> cmd 0x04 0x09
Start Inquiry
Description
This command is used to start the Inquiry process
Default Value
Input Parameters
LAP (3 Bytes): (0x9E8B00 – 0x9E8B3F)
Inquiry duration: (0x01 to 0x30 -> 1.28 to 61.44 Seconds)
Number of responses: (0x01 – 0xFF)
Output Parameter
None.
Reset Required
No.
Usage
hcitool -i <hciX> cmd 0x01 0x01 <LAP> <duration>
<no_of_responses>
Write Local Name
Description
This command is used to Set the local device name
Default Value
Input Parameters
Name of the device.
Output Parameter
None.
Reset Required
No.
Usage
hcitool -i <hciX> cmd 0x03 0x13 <name>
Table 12: Bluetooth hcitool and hciconfig usage