Re: [Bluez-devel] ioctl: setting link mode and link policy

Marco Pracucci
2006-08-31T16:42:05Z

Hi Marcel,

>> I would like to set a "global" link mode and link policy that will be
>> the default for every connection. Something similar to hcid.
>>
> what do you expect from doing this? It is not a good idea to change it
> globally except you know exactly what you are doing. Changes these
> settings can have implications you might not be aware of. So what is
> your purpose on changing them?
>
I would become master on incoming connections and I would deny role
switch on outgoing connections. If I'm not wrong, I should set MASTER as
link mode and disable role switch from link policy. However, I can't use
hcid, so I would do this from a custom application.
Is it possible?

Thanks,
Marco