Reference Manual

Redpine Signals, Inc. Proprietary and Confidential Page 107
RS9116 n-Link Linux and Android
Technical Reference Manual
Version 2.0
Reset
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
23.1 Bluetooth Power Save Commands
The vendor-specific HCI Commands are used to configure the device in the power save mode. The module supports Low
Power (LP) and Ultra-Low Power (ULP) modes. These are explained in more detail in the Power Save Modes section of
WLAN ioctl Usage Guide. The LP and ULP modes are supported with the SDIO interface while only the LP mode is
supported in USB mode.
Vendor Specific Power
Save
Description
This command is used to enable/disable the power save mode of the device and also set the
sleep duration in Standby mode.
Default Value
-
Input Parameters
Sleep Enable:
0x01 - Sleep enable
0x00 - Sleep disable
Sleep Mode:
0x01 LP (Low Power) mode
0x02 ULP (Ultra Low Power) mode
Sleep Duration in Standby mode (in msec) : (Range 0x00 0xFF)
Output Parameter
None
Reset Required
No.
Usage
hcitool -i <hciX> cmd 0x3F 0x0003 <sleep enable/disable> <sleep mode> <sleep duration>
23.2 Bluetooth Performance Test ioctl Usage
The OneBox-Mobile software provides applications to test Transmit and Receive performance of the module.Open the
common_insert.sh file present in the "release" folder using an editor like vim. Ensure that the DRIVER_MODE and
COEX_MODE is set as below: