Hi Claudio, 2011/7/6 Claudio Takahasi <claudio.takahasi@xxxxxxxxxxxxx>: > 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. > As far as I know there is nothing in common. I've got the idea idea of putting in the same folder just to gather health purpose profiles in the same place. On the other hand, I thought that may be interesting to keep all GATT profiles in the same place too. >>> >>> 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. > I like the idea of creating a directory for the plugin too but I want to be sure that all of us are following the same criteria before to start to code. Regards. -- 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