Re: Question on simple RFCOMM server

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 25 Aug 2009, Mateus Interciso wrote:

> Or is there any configuration that can make a normal user change the default
> link mode?

yes - do

	int opt = RFCOMM_LM_MASTER;
	setsockopt(listend, SOL_RFCOMM, RFCOMM_LM, &opt, sizeof(opt));

before listen()

iain


--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux