2011-02-17 13:03:22

by Gustavo Padovan

[permalink] [raw]
Subject: Re: BUG in Mobile initiated pairing

HI Sachin,

* [email protected] <[email protected]> [2011-02-17 14:17:47 +0530]:

> Hi Gustavo,
>
> I have a question on pairing.
>
> Is standard pairing working fine in BlueZ with all necessary events being generated?
>
> I am using blueZ 4.88 on Ubuntu 10.10.
>
> Adapter initiated pairing:
> -------------------------
> I am using agent.c which is part of test folder of BlueZ code base.
> Agent.c is used for adapter initiated pairing where I am able to get the response and event from BlueZ (observed in DBUS monitor).
>
>
> Mobile Phone initiated pairing:
> ------------------------------------------
> I have modified the agent.c in test folder of BlueZ to accept the mobile initiated pairing request.
>
> When the pairing is initiated from Mobile phone, after the successful pairing, the property changed event for "Paired" is not generated. And even the agent is not released.

The "Paired" is generated, and not releasing the agent is the usual behaviour
for this case.

--
Gustavo F. Padovan
http://profusion.mobi


2011-02-18 11:21:18

by sachin.athanikar

[permalink] [raw]
Subject: RE: BUG in Mobile initiated pairing

Hi Gustavo,

Thanks for your precious time and response.

I had modified the agent.c provided in the test folder of BlueZ to support mobile initiated pairing.

I have attached the

1. modified code (agent.c)
2. DBUS monitor logs
3. BlueZ Logs (property changed event "Paired" is not generated)

The pairing is successful, but the property changed event "Paired" is not seen in DBUS monitor.

Please let me know your comments on this program.

Yes, in Ubuntu 10.10 with the support of Bluetooth-Gnome remote device initiated pairing works with all the events.

Thanks
Sachin


-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Gustavo F. Padovan
Sent: Thursday, February 17, 2011 9:57 PM
To: Athanikar, Sachin
Cc: [email protected]
Subject: Re: BUG in Mobile initiated pairing

Hi Sachin,

* [email protected] <[email protected]> [2011-02-17 20:10:38 +0530]:

> Hi Gustavo,
> Many thanks for the response.
>
> The property changed event "Paired" is not generated when the mobile initiated pairing is successful. So I am not able get an acknowledgement for successful completion of pairing process.

Yes, it is. I just tested it before reply to you.

--
Gustavo F. Padovan
http://profusion.mobi


Attachments:
dbus-monitor-log.txt (1.01 kB)
dbus-monitor-log.txt
agent.c (15.01 kB)
agent.c
Download all attachments

2011-02-17 16:27:19

by Gustavo Padovan

[permalink] [raw]
Subject: Re: BUG in Mobile initiated pairing

Hi Sachin,

* [email protected] <[email protected]> [2011-02-17 20:10:38 +0530]:

> Hi Gustavo,
> Many thanks for the response.
>
> The property changed event "Paired" is not generated when the mobile initiated pairing is successful. So I am not able get an acknowledgement for successful completion of pairing process.

Yes, it is. I just tested it before reply to you.

--
Gustavo F. Padovan
http://profusion.mobi

2011-02-17 14:40:38

by sachin.athanikar

[permalink] [raw]
Subject: RE: BUG in Mobile initiated pairing

Hi Gustavo,
Many thanks for the response.

The property changed event "Paired" is not generated when the mobile initiated pairing is successful. So I am not able get an acknowledgement for successful completion of pairing process.

Thanks
Sachin

-----Original Message-----
From: Gustavo F. Padovan [mailto:[email protected]] On Behalf Of Gustavo F. Padovan
Sent: Thursday, February 17, 2011 6:33 PM
To: Athanikar, Sachin
Cc: [email protected]
Subject: Re: BUG in Mobile initiated pairing

HI Sachin,

* [email protected] <[email protected]> [2011-02-17 14:17:47 +0530]:

> Hi Gustavo,
>
> I have a question on pairing.
>
> Is standard pairing working fine in BlueZ with all necessary events being generated?
>
> I am using blueZ 4.88 on Ubuntu 10.10.
>
> Adapter initiated pairing:
> -------------------------
> I am using agent.c which is part of test folder of BlueZ code base.
> Agent.c is used for adapter initiated pairing where I am able to get the response and event from BlueZ (observed in DBUS monitor).
>
>
> Mobile Phone initiated pairing:
> ------------------------------------------
> I have modified the agent.c in test folder of BlueZ to accept the mobile initiated pairing request.
>
> When the pairing is initiated from Mobile phone, after the successful pairing, the property changed event for "Paired" is not generated. And even the agent is not released.

The "Paired" is generated, and not releasing the agent is the usual behaviour
for this case.

--
Gustavo F. Padovan
http://profusion.mobi


This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the email by you is prohibited.