2011-01-07 22:19:39

by Brian Gix

[permalink] [raw]
Subject: running attrib/example.c server code

Hi All,

I am implementing the READ_BLOB functionality in the attrib-server, and
I am trying to figure out how to run it.

The example.c has a built-in Attribute that will work for testing (the
Thermometer: characteristic user description -- size 25 octets) but I
can't discern what I need to run from the command line to activate these
example services. The code is compiling, but I don't find any clues for
invocation.

Thanks for any help.

--
Brian Gix
[email protected]
Employee of Qualcomm Innovation Center, Inc.
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum



2011-01-08 19:59:13

by Vinicius Costa Gomes

[permalink] [raw]
Subject: Re: running attrib/example.c server code

Hi Brian,

On Fri, Jan 7, 2011 at 7:19 PM, Brian Gix <[email protected]> wrote:
> Hi All,
>
> I am implementing the READ_BLOB functionality in the attrib-server, and
> I am trying to figure out how to run it.
>

IIRC, the only things needed to run the example server, are enabling
AttributeServer in /etc/bluetooth/main.conf and compiling bluez
passing the --enable-attrib configure option.

> The example.c has a built-in Attribute that will work for testing (the
> Thermometer: characteristic user description -- size 25 octets) but I
> can't discern what I need to run from the command line to activate these
> example services. The code is compiling, but I don't find any clues for
> invocation.
>
> Thanks for any help.
>
> --
> Brian Gix
> [email protected]
> Employee of Qualcomm Innovation Center, Inc.
> Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
> the body of a message to [email protected]
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>


Cheers,
--
Vinicius