Hi Santiago, On Wed, Jul 6, 2011 at 8:05 AM, Anderson Lizardo <anderson.lizardo@xxxxxxxxxxxxx> wrote: > Hi Santiago, > > On Wed, Jul 6, 2011 at 5:17 AM, Santiago Carot <sancane@xxxxxxxxx> wrote: >> Hello, >> >> I'd like to start coding a plugin for the Health Thermmeter Profile >> (TFP) but I have some doubts about where I should put the source code. >> I was thinking in to place the TFP plugin into the health folder but I >> don't know if you are planning to gather all High level GATT based >> plugins in the same directory or anything else. IMO it could be added in the health folder. Maybe GATT and non GATT health profiles will share some functions. >> >> Any suggestion? > > So far we have been using separate directories for each profile, in a > structure like: > > <profile>/main.c (init/exit functions) > <profile>/manager.c (device driver registration) > <profile>/<role>.c (actual implementation of the profile role) > > For instance, for Proximity we have: Actually two profiles: Proximity and Find Me. Regards, Claudio. > > proximity/main.c > proximity/manager.c > proximity/monitor.c > proximity/reporter.c > > HTH, > -- > Anderson Lizardo > Instituto Nokia de Tecnologia - INdT > Manaus - Brazil -- 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