Hi Marcel On 14 May 2014 18:10, Marcel Holtmann <marcel@xxxxxxxxxxxx> wrote: > Hi Lukasz, > >>>> This patch fixes enabling advertising. >>>> It was not possible to enable it if we had server registered >>>> which is on listen_apps list but does not trigger advertising. >>> >>> does this mean we always advertise when registering GATT server? >> No. We just put each server on the listen_apps queue and once remote >> device connects to us, this server gets connection callback. > > this sounds all a bit weird. Did Android get this wrong. We can connect to a remote device and we can still receive GATT server exchange. It has really nothing to do with central or peripheral roles. This is bit weird I agree. The fact is that if we want to send any read/write request to Android Server App we need to have connection id for the server. So probably we need to invoke connection cb for all the servers on any incoming/outgoing connections. For now we do it only for incoming connections just for testing. There is no single app using Server HAL so we don't know how this actually should work. > > Regards > > Marcel > BR Lukasz -- 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