Hi Szymon, On Fri, Jul 18, 2014, Szymon Janc wrote: > > @@ -2080,6 +2083,23 @@ void bthost_set_adv_enable(struct bthost *bthost, uint8_t enable) > > send_command(bthost, BT_HCI_CMD_LE_SET_ADV_PARAMETERS, > > &cp, sizeof(cp)); > > > > + if (disc_type) { > > So this should be called flags since it pass whole flags AD. > > Other option would be to expect whole 31 bytes here. I'm not sure how flexible > this could be ie. if providing function for adding AD in TLV style and just > build this to build adv_data here? I think just calling the parameter "flags" is good enough for now. 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