Hi Guys,

I'm new to HCI layer, for that matter even the Bluez Bluetooth Stack.
I have a BT device and we are using HCI-UART driver for the device. I'm trying to Put the device connections into "Park", "Sniff" and "Hold" mode, but I'm not successful even once. I have taken the commands from HCI Specification document and for the connection handle I have used "l2ping" command.

Every time I execute the commands I will get Command Status as "0x0f" and the device never enters any of the power save modes.
Commands used:
[Sniff Mode]
#hcitool -i hci0 cmd <ogf> <ocf> <conn_handle> <sniff_max_int> <sniff_min_int> <sniff_attempt> <sniff_timeout>

/ # hcitool -i hci0 cmd 0x02 0x0001 0x27 0x0060 0x0040 < HCI Command: ogf 0x02, ocf 0x0001, plen 3
27 60 40
> HCI Event: 0x0f plen 4
12 01 01 08

[park mode]
#hcitool -i hci0 cmd <ogf> <ocf> <conn_handle> <Beacon_max_interval> <Beacon_min_interval>

# hcitool -i hci0 cmd 0x02 0x0005 0x27 0x0050 0x0040 < HCI Command: ogf 0x02, ocf 0x0005, plen 3
27 50 40
> HCI Event: 0x0f plen 4
12 01 05 08
[hold Mode]
#hcitool -i hci0 cmd <ogf> <ocf> <conn_handle> <Hold_mode_max_interval>

# hcitool -i hci0 cmd 0x02 0x0001 0x27 0x0040 0x0020 < HCI Command: ogf 0x02, ocf 0x0001, plen 3
27 40 20
> HCI Event: 0x0f plen 4
12 01 01 08

[Question]
Since the above mentioned powersave modes are Bluetooth Specification, do we require support from the Driver and the Hardware? or the HCI layer(BlueZ) will take care of this?

please let me know whether i can use "l2ping" for testing this?

Any Help will be deeply Appreciated.

Thanks & Regards,
Sunil