On startup, hcid attempts to load_config(CONFIGDIR "main.conf"). However, main.conf is missing. This may have been a recent change in that in hcid.h, HCID_CONFIG_FILE refers to CONFIGDIR "hcid.conf".
When I attempt to substitute HCID_CONFIG_FILE to load_config, load_config chokes on what is in that file.
So, what is/should be contained in main.conf? Is the correct, or what should it be? (In general, using a "magic filename" like "main.conf" is not a great practice, and perhaps makes the code base harder to maintain, especially when a #define with a similar purpose already exists in the headers...)
Thanks in advance,
David Stockwell
BTW, to those who are going to be there, enjoy Helsinki...one of the few places I have not yet been!
Hi David,
> On startup, hcid attempts to load_config(CONFIGDIR "main.conf").
> However, main.conf is missing. This may have been a recent change
> in that in hcid.h, HCID_CONFIG_FILE refers to CONFIGDIR "hcid.conf".
>
> When I attempt to substitute HCID_CONFIG_FILE to load_config,
> load_config chokes on what is in that file.
>
> So, what is/should be contained in main.conf? Is the correct, or
> what should it be? (In general, using a "magic filename" like
> "main.conf" is not a great practice, and perhaps makes the code base
> harder to maintain, especially when a #define with a similar purpose
> already exists in the headers...)
the main.conf contains settings for plugin loading. The file name is
not set in stone yet. Simply ignore that error :)
Regards
Marcel
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel