Hi, On Tue, Oct 15, 2013, Johan Hedberg wrote: > On Mon, Oct 14, 2013, Marcel Holtmann wrote: > > + if (cp->val) { > > + struct hci_cp_write_current_iac_lap cp; > > + > > + if (timeout > 0) { > > + /* Limited discoverable mode */ > > Wouldn't we want to follow the recommendation from the Core spec here, > volume 3, part C, section 4.1.2.1: > > "A Bluetooth device should not be in limited discoverable mode for more than > TGAP(104)" > > TGAP(104) in turn is defined as 1 minute (vol 3, part C, Appendix A). We might even want to limit this to 30 seconds so the same can be used for LE once this is hooked up to advertising: TGAP(lim_adv_timeout) 30.72s Maximum time to remain Required value advertising when in the limited discoverable mode Johan -- 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