Re: Problem in understanding of agent

Claudio Takahasi
2009-11-30T14:48:01Z

On Mon, Nov 30, 2009 at 4:26 AM, nirav rabara <niravrabara@gmail.com> wrote:
> Hi,
>
> I am newbie to bluetooth, I have gone through agent.c and simple-agent
> but not getting clear idea, how agent works??
> Because In my application i m using Qt , I am poor at GTK+ , glib and pthython.
> But what I understood is Agent will contain all the function defined
> in agent.api, and when PIN requrest comes this api will serve the
> request for this we need to create agent and register agent.
>
> I am using qt binding, can anybody show me the right direction to
> implement agent??
>
> Your suggestion would be a great help for me
> --
> To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>

Hi Nirav,

You can find an example of obex-client agent here:
http://gitorious.org/qt-obex-ftp-client-library

The concept is similar, copy the agent/adaptor code and implement the
methods based on the API description only.
Let me know if you still have problem. We can publish an example of a Qt agent.

Br,
Claudio.
--
--
Claudio Takahasi
Instituto Nokia de Tecnologia
Recife - Pernambuco - Brasil
+55 81 30879999