All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ajay <ajay.kv@globaledgesoft.com>
To: Anderson Lizardo <anderson.lizardo@openbossa.org>
Cc: linux-bluetooth@vger.kernel.org
Subject: Re: BLE issue: Start_LE_Encryption fails
Date: Mon, 29 Oct 2012 07:03:27 +0530	[thread overview]
Message-ID: <508DDCE7.6030708@globaledgesoft.com> (raw)
In-Reply-To: <CAJdJm_P=USyDO5op7_7ynOT8Qe7dOifyN=notezK1HGCxOe8bA@mail.gmail.com>

On Tuesday 30 October 2012 06:42 PM, Anderson Lizardo wrote:
> Hi Ajay,
>
> On Sun, Oct 28, 2012 at 8:30 PM, Ajay <ajay.kv@globaledgesoft.com> 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,
>
  ya , i got your point ,advertiser is informing the remote device  , 
that it is not BR/EDR capable .That is done and device is connecting now.
	But  still i dont know, how to do le specific pairing and 
start_encryption enable(part of le pairing) . Is there any tool in bluez 
  providing LE pairing before connecting the devices (want to try with 2 
ubuntu pc's ).

-- 
Thanks & regards

  AJAY KV
  GlobalEdge software Ltd
  8892753703

  reply	other threads:[~2012-10-29  1:33 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-28 17:08 BLE issue: Start_LE_Encryption fails Ajay
     [not found] ` <CAJdJm_MXB71MTcbrViLh486RtpWpx+a7SDvUPdSj2VdOa1fWvw@mail.gmail.com>
2012-10-30 11:50   ` Anderson Lizardo
2012-10-29  0:30     ` Ajay
2012-10-30 13:12       ` Anderson Lizardo
2012-10-29  1:33         ` Ajay [this message]
2012-10-30 14:15           ` Anderson Lizardo
2012-12-04 18:49             ` Ajay
2012-12-06 10:50               ` Anderson Lizardo
2012-12-09  1:59                 ` Ajay
2012-12-10 15:18                   ` Anderson Lizardo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=508DDCE7.6030708@globaledgesoft.com \
    --to=ajay.kv@globaledgesoft.com \
    --cc=anderson.lizardo@openbossa.org \
    --cc=linux-bluetooth@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.