Hi Travis, On Sat, Jan 16, 2016 at 3:10 AM, Travis Griggs <travisgriggs@xxxxxxxxx> wrote: > Subject mostly asks it all. I’m not asking whether the bluez distributed examples could be folded into one. > > I have been able able to build a working BLE interface to my Linux SBC using python to operate as a peripheral. I worked from these two files. Is there any reason I couldn’t weld the two files together into one? Or do they need to be run as two separate processes with two separate mainloops? > > I’m really hoping to get any answer, my last few questions went unanswered (which happens), but I’ve begun to wonder if my emails are getting through. I guess they were done separately just exercise their interfaces, note that you may not want to advertise in the beginning or actually stop advertise if something else happen, e.g. sensor is no longer active, that is why the interfaces are separated. Also note these are just examples, we don't expect anyone using this code in production. -- Luiz Augusto von Dentz -- 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