Hi Andrei, On 14:30 Thu 24 May, Andrei Emeltchenko wrote: > Hi Ulisses, > > On Thu, May 24, 2012 at 08:17:23AM -0300, Ulisses Furquim wrote: > > >> > + void (*ready) (void *data); > > >> > > >> Again, why void *data ? > > > > > > I mean here that for fixed channels we do not need this function at this > > > point since initialization is different. > > > > So? What do you mean? This needs to be generic, I think. It's an > > abstraction after all. > > Fixed channels do not have configuration phase, they are created > CONNECTED (at least A2MP). You are right, but having this abstraction seems useful. In LE, for example, we (ab)use the CONFIG phase for blocking the channel while SMP is running (negotiating the encryption of the link), so any applications are not able to send data in a lower security level than what they requested. > > Best regards > Andrei Emeltchenko > > -- > 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 Cheers, -- Vinicius -- 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