Hi Ajay, On Sun, Oct 28, 2012 at 8:30 PM, Ajay <ajay.kv@xxxxxxxxxxxxxxxxxx> wrote: > Thanks, but "sudo hcitool -i hci0 cmd 0x08 0x0008 03 02 01 06 " , this > command only sets the advertising data to zero right . so how do i set the > adv flag as 0x06 . Which hci command is used for this purpose . No, this sets adv. data to have "Flags" AD set to 0x06. But you missed the second line of the command: sudo hcitool -i hci0 cmd 0x08 0x0008 03 02 01 06 \ $(perl -e 'print "00 " x 28') The second line is important because it fills the other bytes with zero (which some controllers require). Regards, -- Anderson Lizardo Instituto Nokia de Tecnologia - INdT Manaus - Brazil -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html