> [Claudio] > Is it allowed duplicated UUIDs for the same primary service? We are > not handling this right now. > It seems that you already have a proprietary implementation ;-) > > [Mike Tsai] I think it is probably not allowed to duplicate > characteristic within the same primary services. However, there may be > duplicated primary services within a server or duplicated included > service within a server, or same characteristic inside 2 different > primary services. So I don't know if you have any mechanism to let > GAttrib get the correct characteristic within all these duplicated > services by just passing the 128 bits UUID? The GATT places no limitation on multiple instances of characteristics or services. The recommendation to profile writers when duplicate characteristics exist within a service is that each characteristic has a characteristic presentation descriptor that distinguishes each instance of the characteristic. The same would apply to multiple instances of a service. There are other methods to distinguish multiple instances of services and characteristics including different UUIDs so there isn't a single approach. The approach though is specified by the profile. Brian --- Brian A. Redding Employee of Qualcomm Innovation Center, Inc. Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum -- 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